Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2003 19:06:49 +0100
From:      "Schlothauer,  Martin" <Martin.Schlothauer@LVERMAFF.brandenburg.de>
To:        <freebsd-net@freebsd.org>
Subject:   change the MAC on an vlan interface
Message-ID:  <C10E3B6457F0D411BA3600D0B7A74F73025AC2E7@sv3.lvaff.kvv-bb.de>

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

I tried to use freevrrpd on an vlan interface and had trouble.=20
When i change the MAC on the vlan interface i lost packets.
After restoring the MAC it works again.=20
A simple test whith ifconfig and 3 ping-packets shows the problem.
After the first packet i have done=20

# ifconfig vlan0 ether 0:0:5e:0:1:b0

and after the second back with

# ifconfig vlan0 ether 00:01:02:69:91:7c

The tcpdump on the parent interface is what i expect, but on the
vlan0 i missing one echo reply.
Whats wrong ?=20


# tcpdump -eni xl0
tcpdump: WARNING: xl0: no IPv4 address assigned
tcpdump: listening on xl0
16:42:24.907298 0:1:2:69:91:7c 8:0:2b:e7:51:62 8100 102: 802.1Q vlan#306 =
P0 10.133.2.22 > 10.133.2.28: icmp: echo request
16:42:24.907777 8:0:2b:e7:51:62 0:1:2:69:91:7c 8100 102: 802.1Q vlan#306 =
P0 10.133.2.28 > 10.133.2.22: icmp: echo reply
16:42:29.340845 0:0:5e:0:1:b0 ff:ff:ff:ff:ff:ff 8100 46: 802.1Q vlan#306 =
P0 arp who-has 10.133.2.22 tell 10.133.2.22
16:42:34.917443 0:0:5e:0:1:b0 8:0:2b:e7:51:62 8100 102: 802.1Q vlan#306 =
P0 10.133.2.22 > 10.133.2.28: icmp: echo request
16:42:34.917908 8:0:2b:e7:51:62 0:0:5e:0:1:b0 8100 102: 802.1Q vlan#306 =
P0 10.133.2.28 > 10.133.2.22: icmp: echo reply
16:42:38.122184 0:1:2:69:91:7c ff:ff:ff:ff:ff:ff 8100 46: 802.1Q =
vlan#306 P0 arp who-has 10.133.2.22 tell 10.133.2.22
16:42:44.927599 0:1:2:69:91:7c 8:0:2b:e7:51:62 8100 102: 802.1Q vlan#306 =
P0 10.133.2.22 > 10.133.2.28: icmp: echo request
16:42:44.928132 8:0:2b:e7:51:62 0:1:2:69:91:7c 8100 102: 802.1Q vlan#306 =
P0 10.133.2.28 > 10.133.2.22: icmp: echo reply
^C
8 packets received by filter
0 packets dropped by kernel
#

# tcpdump -eni vlan0
tcpdump: listening on vlan0
16:42:24.907289 0:1:2:69:91:7c 8:0:2b:e7:51:62 0800 98: 10.133.2.22 > =
10.133.2.28: icmp: echo request
16:42:24.907780 8:0:2b:e7:51:62 0:1:2:69:91:7c 0800 98: 10.133.2.28 > =
10.133.2.22: icmp: echo reply
16:42:29.340838 0:0:5e:0:1:b0 ff:ff:ff:ff:ff:ff 0806 42: arp who-has =
10.133.2.22 tell 10.133.2.22
16:42:34.917435 0:0:5e:0:1:b0 8:0:2b:e7:51:62 0800 98: 10.133.2.22 > =
10.133.2.28: icmp: echo request
16:42:38.122176 0:1:2:69:91:7c ff:ff:ff:ff:ff:ff 0806 42: arp who-has =
10.133.2.22 tell 10.133.2.22
16:42:44.927591 0:1:2:69:91:7c 8:0:2b:e7:51:62 0800 98: 10.133.2.22 > =
10.133.2.28: icmp: echo request
16:42:44.928135 8:0:2b:e7:51:62 0:1:2:69:91:7c 0800 98: 10.133.2.28 > =
10.133.2.22: icmp: echo reply
^C
7 packets received by filter
0 packets dropped by kernel
#


Best regards,
Martin Schlothauer



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