From owner-freebsd-net@FreeBSD.ORG Wed Dec 17 10:07:26 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A082E16A4CE for ; Wed, 17 Dec 2003 10:07:26 -0800 (PST) Received: from pns3.brandenburg.de (pns3.brandenburg.de [194.76.232.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4D9B43D64 for ; Wed, 17 Dec 2003 10:05:58 -0800 (PST) (envelope-from Martin.Schlothauer@LVERMAFF.brandenburg.de) Received: from www5.brandenburg.de (firewall-user@www5.brandenburg.de [194.76.232.139]) by pns3.brandenburg.de (8.12.10/8.12.10) with ESMTP id hBHI5uJk027751 for ; Wed, 17 Dec 2003 19:05:56 +0100 Received: from NN Mailserver by LDS_FW Mailserver Received: from nodnsquery(10.128.9.41) by www5.brandenburg.de via csmap (V6.0) id srcAAAa24199; Wed, 17 Dec 03 19:05:25 +0100 Received: from NN Mailserver by LDS_I Mailserver content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Wed, 17 Dec 2003 19:06:49 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: change the MAC on an vlan interface Thread-Index: AcPEyGhHWFpdlDzdTZe5UX3U/YPL3A== From: "Schlothauer, Martin" To: Subject: change the MAC on an vlan interface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2003 18:07:26 -0000 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