From owner-freebsd-questions Thu Dec 19 07:12:55 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA25938 for questions-outgoing; Thu, 19 Dec 1996 07:12:55 -0800 (PST) Received: from cyclone.degnet.baynet.de (root@cyclone.degnet.baynet.de [194.95.214.129]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id HAA25900 for ; Thu, 19 Dec 1996 07:11:46 -0800 (PST) Received: from nada (ppp5 [194.95.214.135]) by cyclone.degnet.baynet.de (8.6.12/8.6.9) with SMTP id RAA03738; Thu, 19 Dec 1996 17:13:39 +0100 Message-Id: <3.0.32.19961219160351.006c1bf4@cyclone.degnet.baynet.de> X-Sender: moos@cyclone.degnet.baynet.de X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Thu, 19 Dec 1996 16:03:57 -0100 To: Vincent Poy From: Darius Moos Subject: Re: two ip's for one ne0 interface Cc: questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 > > > >