Date: Thu, 19 Dec 1996 16:03:57 -0100 From: Darius Moos <moos@webmore.com> To: Vincent Poy <vince@venus.GAIANET.NET> Cc: questions@freebsd.org Subject: Re: two ip's for one ne0 interface Message-ID: <3.0.32.19961219160351.006c1bf4@cyclone.degnet.baynet.de>
next in thread | raw e-mail | index | archive | help
Routing depends on the destination-ip-adr. The src-ip-adr does not matter. If you set 206.13.17.50 to be your default-router, all packets with dst-ip-adr.es not on local-networks (here ip-adr not in 206.171.98.xx) would go through 206.13.17.50. Darius Moos. At 04:44 19.12.96 -0800, you wrote: >On Thu, 19 Dec 1996, Nadav Eiron wrote: > >> > Sounds simple enough. Does ifconfig automatically do routing for >> > 206.171.98.x to all use the ne0 interface? >> >> If you use the netmask of all 1s all the routing stuff will be set up >> automaticaly. > > Hmmm, I mean what happens if say we had eth0 with the ip of >206.13.17.50 which points to 206.13.17.49 on the PPP link and ne0 setup as >just 206.171.98.29 in /etc/sysconfig with the default router at >206.13.17.50, would packets that has a ip of 206.171.98.1-254 be going >through ne0 automatically or do we need to add a route line? > >Cheers, >Vince - vince@MCESTATE.COM - vince@GAIANET.NET >Unix Networking Operations >GaiaNet Corporation - M & C Estate >Beverly Hills, California USA 90210 > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19961219160351.006c1bf4>