Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 2010 11:29:29 +0800
From:      dave jones <s.dave.jones@gmail.com>
To:        Adam Vande More <amvandemore@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Questions about setting bridge
Message-ID:  <AANLkTinZogC-3NaU59oh2RBQXdA7gp7MM0efz%2BqSDtjP@mail.gmail.com>
In-Reply-To: <AANLkTi=k5DZVE36==m3HJxnnY4hZDrN3OxMsnacrSzcm@mail.gmail.com>
References:  <AANLkTikYUng4L98dEDniibOYxwPN3FPFK1YVwXq3u7Bb@mail.gmail.com> <AANLkTi=k5DZVE36==m3HJxnnY4hZDrN3OxMsnacrSzcm@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 10, 2010 at 2:51 PM, Adam Vande More  wrote:
>> I want to setup a bridge in a ring topology since a break at any point
>> along the ring would
>> still leave all stations connected. My machine has two nics. In
>> /etc/rc.conf, I have:
>>
>> ifconfig_em0=3D"inet 192.168.1.0 =A0netmask 255.255.255.0"
>> cloned_interfaces=3D"bridge0"
>> ifconfig_em0=3D"up"
>> ifconfig_em1=3D"up"
>> ifconfig_bridge0=3D"addm em0 addm em1 up"
>> ifconfig_bridge0_alias0=3D"192.168.1.0 netmask 255.255.255.0 up"
>>
>> I tried to boot my clients using tftpd, but it seems doesn't work if I
>> unpluged
>> em0. If I run "ifconfig em1 inet 192.168.1.0 netmask 255.255.255.0" then
>> my clients can boot via tftpd. But it's not a bridge, right?
>> I mean should I configure the same ip for em0, em1, and bridge0?
>
> 192.168.1.0/24 is not a valid address.=A0 Your addressable hosts are
> 192.168.1.1 - 192.168.1.254.

Oops, typo. Should be 192.168.1.1
>
> I think you want to lagg:
>
> http://www.freebsd.org/doc/handbook/network-aggregation.html

In Winodws, I setup a bridge with no problems. But in FreeBSD, it
seems doesn't work :(
>
> --
> Adam Vande More
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinZogC-3NaU59oh2RBQXdA7gp7MM0efz%2BqSDtjP>