Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2003 20:34:45 +0200
From:      Marco Wertejuk <wertejuk@mwcis.com>
To:        Maxim Konovalov <maxim@macomnet.ru>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: vlan/bridging broken in 4.8-release?
Message-ID:  <20030527183445.GA25234@maeko>
In-Reply-To: <20030520190746.P6042@news1.macomnet.ru>
References:  <20030514184845.GA7573@maeko> <20030515114239.Y95792@news1.macomnet.ru> <20030516153333.GA29165@maeko> <20030520190746.P6042@news1.macomnet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Maxim,

today I've tried your hack and it works, at least it seems so.

It was not exactly the same setup but nearly the same.
The bridge has two interfaces (fxp0, fxp1) and
one host is connected to each interface (using crosslink
cables, no other networking devices such as broken HP
ProCurve switches).
The host on fxp1 (10.10.10.16) does not use vlans,
the host on fxp0 (10.10.10.18) is in vlan id 1.

tcpdump -tni fxp0, fxp1, vlan0:
(yes 10.10.10.18 has a strange mac address, because
of a broken fxp0 card I guess ;)

6:0:ff:1:6:0 ff:ff:ff:ff:ff:ff 0806 56: arp who-has 10.10.10.16 tell 10.10.10.18
0:d0:b7:17:5:78 6:0:ff:1:6:0 0806 60: arp reply 10.10.10.16 is-at 0:d0:b7:17:5:78
6:0:ff:1:6:0 0:d0:b7:17:5:78 0800 98: 10.10.10.18 > 10.10.10.16: icmp: echo request
0:d0:b7:17:5:78 6:0:ff:1:6:0 0800 98: 10.10.10.16 > 10.10.10.18: icmp: echo reply
6:0:ff:1:6:0 ff:ff:ff:ff:ff:ff 8100 60: 802.1Q vlan#1 P0 arp who-has 10.10.10.16 tell 10.10.10.18
0:d0:b7:17:5:78 6:0:ff:1:6:0 8100 64: 802.1Q vlan#1 P0 arp reply 10.10.10.16 is-at 0:d0:b7:17:5:78
6:0:ff:1:6:0 0:d0:b7:17:5:78 8100 102: 802.1Q vlan#1 P0 10.10.10.18 > 10.10.10.16: icmp: echo request
0:d0:b7:17:5:78 6:0:ff:1:6:0 8100 102: 802.1Q vlan#1 P0 10.10.10.16 > 10.10.10.18: icmp: echo reply
6:0:ff:1:6:0 0:d0:b7:17:5:78 0800 98: 10.10.10.18 > 10.10.10.16: icmp: echo request
0:d0:b7:17:5:78 6:0:ff:1:6:0 0800 98: 10.10.10.16 > 10.10.10.18: icmp: echo reply
6:0:ff:1:6:0 0:d0:b7:17:5:78 8100 102: 802.1Q vlan#1 P0 10.10.10.18 > 10.10.10.16: icmp: echo request
0:d0:b7:17:5:78 6:0:ff:1:6:0 8100 102: 802.1Q vlan#1 P0 10.10.10.16 > 10.10.10.18: icmp: echo reply

Two pings were send successfully with your hack and I
guess everything else would work too, but I have no
time for further testing, maybe the people who wrote
the PR have more time ...

Please make a real patch out of your hack and get it
commited into -stable because I still want to use it
for one of my customers :)

Hopefully I did not forget anything in this email :)

-- 
Mit freundlichen Gruessen,
Marco Wertejuk - mwcis.com
Consulting & Internet Solutions



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