Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!www.nntp.primenet.com!nntp.primenet.com!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@anorak.coverform.lan (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Alias on ethernet interface Date: 13 Dec 1996 02:23:43 -0000 Organization: Coverform Ltd. Lines: 33 Sender: brian@awfulhak.demon.co.uk Message-ID: <58qenf$jeg@anorak.coverform.lan> References: <58olkl$j4p@samba.rahul.net> Reply-To: brian%anorak.coverform.lan@awfulhak.demon.co.uk NNTP-Posting-Host: localhost.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32482 In article <58olkl$j4p@samba.rahul.net>, Rainer Busch <busch@rahul.net> writes: : This is one for the networking experts: : : we are changing our provider. Now I want to be able to receive e-mail etc. : for some time at the new as well as the old internet address. Both lines : and routers are active. : Now I changed the address of ed0 to the new address, and aliased the old: : : ifconfig ed0 addr.in.new.addrspace netmask 0xfffffff0 : ifconfig ed0 addr.in.old.addrspace netmask 0xfffffff0 : : Both addresses can be pinged from in- and outside now. : : This works fine so far for some time. But then - I guess some dynamic : routing kicks in - ed0 kinda "forgets" its primary, and flips over to : the other (aliased) one. This conflicts with the default route, of course, : and - bang - the machine is off-net. : : Any suggestions to resolve this cleanly ? I havn't got a "real" connection, so I havn't mucked around with RIP much, but if you're running routed, you may wish to switch to gated. It's supposed to be much better at *not* gratuitously removing routes. BTW, I take it that it's just the above example that's missing the "alias" keyword. -- Brian <brian@awfulhak.demon.co.uk>, <brian@freebsd.org> <http://www.awfulhak.demon.co.uk/> Don't _EVER_ lose your sense of humour.... .