[2502] in linux-net channel archive
Re: Gateway....and Subnet
daemon@ATHENA.MIT.EDU (Doug Ledford)
Mon Apr 15 04:04:10 1996
Date: Mon, 15 Apr 1996 00:02:31 -0500 (CDT)
From: Doug Ledford <dledford@dialnet.net>
To: Jeff Sinason <jsinason@itdcomm.com>
cc: linux-net@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.91.960413174415.330A-300000@itdcomm.com>
On Sat, 13 Apr 1996, Jeff Sinason wrote:
> I've been having a real problem configuring my network.
>
> Here's my layout
>
> |---------------------| |------------------------|
> | sol.itdcomm.com | eth0 | knoll.com |
> | ip 206.196.114.18 |-------------| eth0 ip 206.196.114.17 |
> | mask 255.255.255.248| | pppo ip 206.196.100.185|
> |---------------------| | -----------------------|
> |
> |
> |
> |
> |-----------------------|
> | My service Provider |
> |-----------------------|
>
>
> My subnet has a network number of 206.196.114.16
> brodcast of 206.196.114.23
> netmask of 255.255.255.248
>
>
> What I want to do is route traffic coming in from my ISP on the ppp0
> device to my subnet when that's where it belongs. I also want machine on
> my subnet to be able to get out to the Internet.
>
Everything on your IP address set-up looks OK. Now, here's what you need
in the routing tables of the two machines:
Both:
route add -net 127.0.0.0 lo
route add -net 206.196.114.16 netmask 255.255.255.248 eth0
sol:
route add -net default gw 206.196.114.17
knoll:
route add -net default ppp0
or
route add -net default gw 206.196.100.185
After you've done this, things should work fine given one assumption,
that your ISP has his routing tables set-up properly. If they don't, you
can do all the proper network set-up you want and it won't work until
then. As a second note, if these IP numbers were assigned from your ISP,
make sure that the names and numbers in your ISP's DNS tables match what
you have here. Other wise, some servers will deny you access thinking
you are trying to spoof them (many ftp sites are known for this :)
*****************************************************************************
* Doug Ledford * Unix, Novell, Dos, Windows 3.x, *
* dledford@dialnet.net 873-DIAL * WfW, Windows 95 & NT Technician *
* PPP access $14.95/month *****************************************
* Springfield, MO and surrounding * Usenet news, e-mail and shell account.*
* communities. Sign-up online at * Web page creation and hosting, other *
* 873-9000 V.34 * services available, call for info. *
*****************************************************************************