Article View: comp.os.linux.networking
Article #86Re: SLIP gateway on a local network
From: Mike Meyer
Date: Sun, 24 Mar 1996 07:45
Date: Sun, 24 Mar 1996 07:45
62 lines
3387 bytes
3387 bytes
In <4ivh8r$e7n@bell.maths.tcd.ie>, tim@maths.tcd.ie (Timothy Murphy) wrote: > mwm@contessa.phone.net (Mike Meyer) writes: > >It's been answered properly here a number of times. You were to busy > >complaining about your not understanding the answer to notice that. > >The simple solution is: > I've understood perfectly what you and others have said. > (The answers have all been different.) The ones I've seen have only been different in the way that one and 1 are different. > >1) Get an IP address from your ISP for the second machine. Configure > > the machine to use that address. > >2) Enable GATEWAY (apparently a kernel recompile) on the machine with > > SLIP on it. > >That's really all there is to it. > However, I am not convinced that you or any of the other gurus > have actually tried what you say. I've done it. Multiple times, in different configurations, using different gateway platforms. > For example, with your "simple" solution, > what would distinguish the 2 networks (Ethernet & SLIP)? To answer the question you asked: they are on different physical media. To answer the question you were trying to ask: the two interfaces on the gateway host have different IP addresses. As a bonus, I'll point out that multiple SLIP interfaces on a single host can share a single IP address, and are distinguished by the IP address of the destination. I'll confess to not having tried this particular configuration on a NetBSD box, but it works on other BSD-based IP stacks. > Would you have an /etc/networks entry? You could. Not required. > In any case, my understanding of the original question > was that the poster did not wish to register > a second IP address; > his question was whether he could route packets > from machine 2 through machine 1 to the Internet, > using SLIP with the static or dynamic IP address assigned by his ISP. You may or may not have been right. I pointed out that the answer to this question was apparently YES (after all, at worst it's a SMOP, and another poster reference his writeup on this subject), but that this was no longer a "simple" question, and the operation was probably more complicated than changing ISPs to one that didn't object to your registering your own network. Of course, if you're coat-tailing on a school or employer, that would involve actually spending money. > [I wish people who do not in fact know the answer to questions > would not pretend that they do.] And I wish that people who do not have sufficient understanding of a problem to know if an answer was correct would not pretend that they do. <mike
Technical Details
Message-ID:
<19960323.7641030.15692@contessa.phone.net>Path:
arc1-ca.pugleaf.net!news.zeitgeist.net!usenetReferences:
<314B4C05.7FD76F10@bbs.infosquare.it> <DoEHtq.51v@gaspode.mayn.de> <4ik1ho$suv@bell.maths.tcd.ie> <4ikcb0$r9g.C.deGroot@news.inter.NL.net> <4ikgm4$dvm@bell.maths.tcd.ie> <19960321.76992F0.145CD@contessa.phone.net> <4ivh8r$e7n@bell.maths.tcd.ie>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.zeitgeist.net!usenet From: mwm@contessa.phone.net (Mike Meyer) Newsgroups: comp.os.linux.networking,comp.unix.admin,comp.unix.misc,comp.unix.questions,comp.unix.amiga Subject: Re: SLIP gateway on a local network Date: Sat, 23 Mar 1996 23:45:43 PST Organization: Missionaria Phonibalonica Distribution: world Message-ID: <19960323.7641030.15692@contessa.phone.net> References: <314B4C05.7FD76F10@bbs.infosquare.it> <DoEHtq.51v@gaspode.mayn.de> <4ik1ho$suv@bell.maths.tcd.ie> <4ikcb0$r9g.C.deGroot@news.inter.NL.net> <4ikgm4$dvm@bell.maths.tcd.ie> <19960321.76992F0.145CD@contessa.phone.net> <4ivh8r$e7n@bell.maths.tcd.ie> NNTP-Posting-Host: contessa.phone.net X-NewsReader: Amiga Yarn 3.9, 1995/05/09 10:42:03