Project

General

Profile

Actions

Bug #26

closed

vlan(4) broken.

Added by dragonfly over 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hello,

I have been experiencing problems with vlan(4) on DragonFlyBSD HEAD.
Received tagged packets are not being passed down to ether_input()
correctly and transmitted packets are not being tagged. [Packet capture
shows no 802.1Q header on transmitted packets from DragonFlyBSD PC.]

The error message "ether_input got mbuf without embedded
ethernet header" was added to if_ethersubr.c during the recent if_bridge
import.

I have included details below.

Regards

G.Allan

DragonFlyBSD HEAD

ifconfig vr0
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::240:63ff:fed8:230d%vr0 prefixlen 64 scopeid 0x1
ether 00:40:63:d8:23:0d
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active

ifconfig vlan10
vlan10: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1496
inet 192.168.100.12 netmask 0xffffff00 broadcast 192.168.100.255
inet6 fe80::240:63ff:fed8:230d%vlan10 prefixlen 64 scopeid 0x8
ether 00:40:63:d8:23:0d
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
vlan: 10 parent interface: vr0

All received packets tagged with VLAN 10 generate the following diagnostic.

Dec 26 17:00:48 fire kernel: ether_input got mbuf without embedded
ethernet header
Dec 26 17:19:09 fire kernel: ether_input got mbuf without embedded
ethernet header
Dec 26 17:37:30 fire kernel: ether_input got mbuf without embedded
ethernet header

FreeBSD 4.11

ifconfig vlan10
vlan10: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1496
inet 192.168.100.10 netmask 0xffffff00 broadcast 192.168.100.255
ether 00:0c:29:b5:d3:29
vlan: 10 parent interface: fxp0

Attempts to ping 192.168.100.12 generate the following diagnostics.

Dec 18 17:08:40 build /kernel: arp: 192.168.100.12 is on vlan10 but got
reply from 00:40:63:d8:23:0d on fxp0
Dec 18 17:08:45 build last message repeated 4 times


Files

vlan1.diff (5.7 KB) vlan1.diff dragonfly, 12/30/2005 01:16 PM
Actions

Also available in: Atom PDF