Date: Thu, 06 Jun 2002 15:56:10 +0200 From: Marko Zec <zec@tel.fer.hr> Cc: freebsd-net@freebsd.org Subject: Re: Patch for review: source VIPA Message-ID: <3CFF69FA.A1397E90@tel.fer.hr> References: <20020606135202.M27399-100000@shadowhand.OTEL.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Iasen Kostov wrote: > > Here is an configuration example: > > > > vmbsd# routed > > vmbsd# ifconfig > > lnc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > > inet 192.168.201.143 netmask 0xffffff00 broadcast > > 192.168.201.255 > > ether 00:50:56:ac:c9:7a > > lnc1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > > inet 192.168.202.143 netmask 0xffffff00 broadcast > > 192.168.202.255 > > ether 00:50:56:ac:c9:8c > > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 > > inet 127.0.0.1 netmask 0xff000000 > > vipa0: flags=61<UP,SMART,RUNNING> mtu 1500 > > inet 192.168.1.1 netmask 0xffffffff > > vmbsd# sysctl net.inet.ip.sourcevipa > > net.inet.ip.sourcevipa: none > > vmbsd# sysctl net.inet.ip.sourcevipa=192.168.1.1 > > net.inet.ip.sourcevipa: none -> 192.168.1.1 > > vmbsd# > > vmbsd# telnet 192.168.201.10 > > [cut] > > %who am i > > marko ttyp2 Jun 5 01:37 (192.168.1.1) > > > > Have fun! > > > > What will happen if I try arpresolve on 192.168.1.1 when I'm in > 192.168.1.0/24 net ? Nothing - 192.168.1.1 (VIPA) internal interface is _virtual_, so it won't ARP. You need to route it. Marko To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CFF69FA.A1397E90>