Date: Sat, 13 Mar 2004 13:06:04 -0800 From: Justin Walker <justin@mac.com> To: freebsd-net@freebsd.org Subject: Re: One IP used on more than one interface (gif0 and lo0) Message-ID: <3D08F840-7532-11D8-8D02-00306544D642@mac.com> In-Reply-To: <Pine.BSF.4.21.0403091008010.15852-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, March 9, 2004, at 10:10 AM, Julian Elischer wrote: > > > On Tue, 9 Mar 2004, Justin Walker wrote: > >> >> On Tuesday, March 9, 2004, at 01:55 AM, Frrodo Baggins wrote: >> >>> Hi, >>> >>> What happens if we configure an alias on lo0: >>> >>> ifconfig lo0 alias 192.168.5.1 netmask 255.255.255.0 >>> >>> and then use the same IP on gif0: >> >> What happens if you have the same address on two different houses on >> the same street? > > > that isn't the question.. > it's > "why have different numbers on houses on differnt streets?" > > It is in fact common practice to number all your P2P links using teh > address of one of your broadcast interfaces.. > > this works well, saves you an address and you have a simpler routing > table. > > Point to point links route using the REMOTE address and don't care > about > teh local address so this always works. Thanks for pointing this out; I got caught in the "all the world's an ethernet" trap, and overdid it. Cheers, Justin -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | It's not whether you win or lose... | It's whether *I* win or lose. *--------------------------------------*-------------------------------*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D08F840-7532-11D8-8D02-00306544D642>