bridging

saeedeh motlagh saeedeh.motlagh at gmail.com
Mon Dec 12 08:14:34 UTC 2011


yes, with any two interfaces the bridge works well. tcpdump show these
messages when i configure bridge with more than 2 interfaces:
14:52:57.771505 ARP, Request who-has 192.168.4.157 tell 192.168.4.155,
length 46
14:52:57.771519 ARP, Reply 192.168.4.157 is-at 00:0b:ab:4f:d4:2a (oui
Unknown), length 46
14:52:58.788076 ARP, Request who-has 192.168.4.157 tell 192.168.4.155,
length 46
14:52:58.788095 ARP, Reply 192.168.4.157 is-at 00:0b:ab:4f:d4:2a (oui
Unknown), length 46
14:52:59.804630 ARP, Request who-has 192.168.4.157 tell 192.168.4.155,
length 46
14:52:59.804646 ARP, Reply 192.168.4.157 is-at 00:0b:ab:4f:d4:2a (oui
Unknown), length 46
14:53:00.821083 ARP, Request who-has 192.168.4.157 tell 192.168.4.155,
length 46
14:53:00.821098 ARP, Reply 192.168.4.157 is-at 00:0b:ab:4f:d4:2a (oui
Unknown), length 46
14:53:01.837654 ARP, Request who-has 192.168.4.157 tell 192.168.4.155,
length 46
14:53:01.837672 ARP, Reply 192.168.4.157 is-at 00:0b:ab:4f:d4:2a (oui
Unknown), length 46

it seems that bridging just can be done by two interfaces:(
i use "ifconfig bridge0 create" and "ifconfig addm igb1 addm igb2" for
bridging two interfaces. i test by putting the below commands in rc.conf
file:
cloned_interfaces="bridge0"
ifconfig_bridge0="addm igb1 addm igb2 addm gbeth1 up"
but nothing changed.

On Mon, Dec 12, 2011 at 10:40 AM, Da Rock <
freebsd-questions at herveybayaustralia.com.au> wrote:

> On 12/12/11 15:49, saeedeh motlagh wrote:
>
>> my freebsd is 8.2 and i have four interfaces which two of them are gbeth
>> and two others are igb. i think the interfaces are ok beacuse when i
>> bridge
>> two interfaces, it works fine.
>> i use the below command to create my bridge:
>> ifconfig bridge0 create
>> ifconfig bridge0 addm gbeth0 addm igb0 addm igb1 addm gbeth1 up
>> what is wrong here? it's so necessary for me to doing this:(
>>
> Is it any 2 interfaces? What command do you use to get the 2 interfaces
> working?
>
>>
>>
>> On Sun, Dec 11, 2011 at 5:16 PM, Da Rock<
>> freebsd-questions@**herveybayaustralia.com.au<freebsd-questions at herveybayaustralia.com.au>>
>>  wrote:
>>
>>  On 12/11/11 23:31, saeedeh motlagh wrote:
>>>
>>>  hello everybody
>>>> i have a problem in bridging my interfaces. i want to bridge my 4
>>>> interfaces and make switching in freebsd box but in doesn't work. with
>>>> two
>>>> interfaces the bridge works well and pass the traffic but for four
>>>> interfaces in doesn't what is expected. you know i want to have a
>>>> freebsd
>>>> sysytem to do switching between four systems which are connected to.
>>>> somebody know what's wrong? and how i can bridge my four interfaces and
>>>> have switching?
>>>> thanks
>>>> motlagh
>>>>
>>>>  Can you supply information on what devices you are using for your
>>>>
>>> switches? Ifconfig, pciconf -lv
>>>
>>> Which version are you using? uname -a
>>>
>>> What commands are you using to setup switching?
>>>
>>> What diagnostics have you done? How do you know it doesn't work?
>>>
>>> Good luck. I'm sure someone can help if you provide that information,
>>> although they may need more.
>>> ______________________________****_________________
>>> freebsd-questions at freebsd.org mailing list
>>> http://lists.freebsd.org/****mailman/listinfo/freebsd-****questions<http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions>
>>> <http://lists.**freebsd.org/mailman/listinfo/**freebsd-questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>
>>> >
>>> To unsubscribe, send any mail to "freebsd-questions-**
>>> unsubscribe at freebsd.org<freebs**d-questions-unsubscribe@**freebsd.org<freebsd-questions-unsubscribe at freebsd.org>
>>> >"
>>>
>>>  ______________________________**_________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>
>> To unsubscribe, send any mail to "freebsd-questions-**
>> unsubscribe at freebsd.org <freebsd-questions-unsubscribe at freebsd.org>"
>>
>
> ______________________________**_________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions<http://lists.freebsd.org/mailman/listinfo/freebsd-questions>
> To unsubscribe, send any mail to "freebsd-questions-**
> unsubscribe at freebsd.org <freebsd-questions-unsubscribe at freebsd.org>"
>


More information about the freebsd-questions mailing list