From owner-freebsd-net Thu Jun 6 6:56:47 2002 Delivered-To: freebsd-net@freebsd.org Received: from inje.iskon.hr (inje.iskon.hr [213.191.128.16]) by hub.freebsd.org (Postfix) with ESMTP id 3FD6537B404 for ; Thu, 6 Jun 2002 06:56:39 -0700 (PDT) Received: from tel.fer.hr (zg07-074.dialin.iskon.hr [213.191.150.75]) by mail.iskon.hr (8.11.4/8.11.4/Iskon 8.11.3-1) with ESMTP id g56Duag15052 for ; Thu, 6 Jun 2002 15:56:37 +0200 (MEST) Message-ID: <3CFF69FA.A1397E90@tel.fer.hr> Date: Thu, 06 Jun 2002 15:56:10 +0200 From: Marko Zec X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Cc: freebsd-net@freebsd.org Subject: Re: Patch for review: source VIPA References: <20020606135202.M27399-100000@shadowhand.OTEL.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Iasen Kostov wrote: > > Here is an configuration example: > > > > vmbsd# routed > > vmbsd# ifconfig > > lnc0: flags=8843 mtu 1500 > > inet 192.168.201.143 netmask 0xffffff00 broadcast > > 192.168.201.255 > > ether 00:50:56:ac:c9:7a > > lnc1: flags=8843 mtu 1500 > > inet 192.168.202.143 netmask 0xffffff00 broadcast > > 192.168.202.255 > > ether 00:50:56:ac:c9:8c > > lo0: flags=8049 mtu 16384 > > inet 127.0.0.1 netmask 0xff000000 > > vipa0: flags=61 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