Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2007 09:03:38 +1300
From:      Andrew Thompson <thompsa@freebsd.org>
To:        Bartosz Giza <gizmen@blurp.pl>
Cc:        freebsd-net@freebsd.org
Subject:   Re: if_bridge and ip alias problem
Message-ID:  <20070203200338.GA95102@heff.fud.org.nz>
In-Reply-To: <458982175.20070202230326@blurp.pl>
References:  <458982175.20070202230326@blurp.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 02, 2007 at 11:03:26PM +0100, Bartosz Giza wrote:
> Hi,
> 
> recently i have set up bridge based on if_bridge implementation.
> I have IP address assigned to bridge0 iface and no addresses assigned
> to members of bridge0.
> Basicly i am configuring bridge0 in rc.conf:
> 
> cloned_interfaces="bridge0"
> autobridge_interfaces="bridge0"
> autobridge_bridge0="rl0 rl1 em0"
> ifconfig_bridge0="inet 10.1.1.1 netmask 255.255.255.0"
> ifconfig_bridge0_alias0="inet 10.1.1.2  netmask 255.255.255.255"
> ifconfig_rl0="up"
> ifconfig_rl1="up"
> ifconfig_em0="up"
> 
> The problem is with my first alias(10.1.1.2) after system reboot this
> alias is not visible over network. I can ping this ip on bridge box
> but no other host can ping this address.
> When i delete this alias from iface with:
> ifconfig bridge0 delete 10.1.1.2
> and again add on running system
> ifconfig bridge0 add 10.1.1.2/32

Do you see if the address is arped correctly from the other host? you
can use tcpdump to view this or just add it statically to see if this
resolves the problem. When you re-add the alias it will send out a
gratuitous arp which suggests this is the problem.


cheers,
Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070203200338.GA95102>