Re: One IP used on more than one interface (gif0 and lo0)

2004-03-13 Thread Justin Walker
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

Re: One IP used on more than one interface (gif0 and lo0)

2004-03-10 Thread Charlie ROOT
I was asking because of this: "To make firewalling and managing traffic f lowing thru the ip tunnel a little easier I used virtual interfaces; I added aliases to the loopback interface(lo0) on both gateways to use as inside endpoints for the tunnel. That way I have a chance to control the tra

Re: One IP used on more than one interface (gif0 and lo0)

2004-03-09 Thread Julian Elischer
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: > >

Re: One IP used on more than one interface (gif0 and lo0)

2004-03-09 Thread Justin Walker
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?

One IP used on more than one interface (gif0 and lo0)

2004-03-09 Thread Frrodo Baggins
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: ifconfig gif0 create ifconfig gif0 tunnel x.x.x.x y.y.y.y ifconfig gif0 192.168.5.1 192.168.5.2 netmask 255.255.255.252