Date: Tue, 9 Mar 2004 10:10:46 -0800 (PST) From: Julian Elischer <julian@elischer.org> To: Justin Walker <justin@mac.com> Cc: freebsd-net@freebsd.org Subject: Re: One IP used on more than one interface (gif0 and lo0) Message-ID: <Pine.BSF.4.21.0403091008010.15852-100000@InterJet.elischer.org> In-Reply-To: <30D08A02-71E1-11D8-A9B6-00306544D642@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. julian (lo0 is a P2P link) > > Regards, > > Justin > > -- > /~\ The ASCII Justin C. Walker, Curmudgeon-at-Large > \ / Ribbon Campaign > X Help cure HTML Email > / \ > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0403091008010.15852-100000>