Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2011 11:43:49 +0330
From:      saeedeh motlagh <saeedeh.motlagh@gmail.com>
To:        Da Rock <freebsd-questions@herveybayaustralia.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: bridging
Message-ID:  <CAN%2BS=WBFDnwHCxzYmwc78m5xKxznLzOdYFjteZfDyV_VEd-sUA@mail.gmail.com>
In-Reply-To: <4EE5A8F5.9080807@herveybayaustralia.com.au>
References:  <CAN%2BS=WDsS4tfCwtCoZGrAzEvSp%2B1ATFVvYDp1ijtpdKTiCJJKg@mail.gmail.com> <4EE4B445.80904@herveybayaustralia.com.au> <CAN%2BS=WAq9n8Ckscok00cGoxkUSLamDzxFdUEnSyzcFue8gvMuQ@mail.gmail.com> <4EE5A8F5.9080807@herveybayaustralia.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@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@freebsd.org<freebs**d-questions-unsubscribe@**freebsd.org<freebsd-questions-unsubscribe@freebsd.org>
>>> >"
>>>
>>>  ______________________________**_________________
>> freebsd-questions@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@freebsd.org <freebsd-questions-unsubscribe@freebsd.org>"
>>
>
> ______________________________**_________________
> freebsd-questions@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@freebsd.org <freebsd-questions-unsubscribe@freebsd.org>"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN%2BS=WBFDnwHCxzYmwc78m5xKxznLzOdYFjteZfDyV_VEd-sUA>