[em] vlan problem on 8.0-RELEASE

Oleg Bulyzhin oleg at rinet.ru
Mon Dec 7 12:23:12 UTC 2009


Creation/destroying vlans with parent em interface leads to link flap:

root# date;ifconfig vlan4000 create vlan 4000 vlandev em1 10.0.0.1/30;sleep 5;tail -7 /var/log/kern.log
Mon Dec  7 15:18:38 MSK 2009
Dec  7 15:18:38 <kern.crit> g kernel: vlan4000: bpf attached
Dec  7 15:18:38 <kern.crit> g kernel: em1: Link is Down
Dec  7 15:18:38 <kern.notice> g kernel: em1: link state changed to DOWN
Dec  7 15:18:38 <kern.notice> g kernel: vlan4000: link state changed to DOWN
Dec  7 15:18:42 <kern.crit> g kernel: em1: Link is up 1000 Mbps Full Duplex
Dec  7 15:18:42 <kern.notice> g kernel: em1: link state changed to UP
Dec  7 15:18:42 <kern.notice> g kernel: vlan4000: link state changed to UP

It's supermicro 5015B-MTB server.

em0 at pci0:13:0:0:        class=0x020000 card=0x108c15d9 chip=0x108c8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Intel Corporation 82573E Gigabit Ethernet Controller (Copper) (82573E)'
    class      = network
    subclass   = ethernet
em1 at pci0:15:0:0:        class=0x020000 card=0x109a15d9 chip=0x109a8086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Intel PRO/1000 PL Network Adaptor (82573L)'
    class      = network
    subclass   = ethernet

P.S. 7.2R em driver works as expected.

-- 
Oleg.

================================================================
=== Oleg Bulyzhin -- OBUL-RIPN -- OBUL-RIPE -- oleg at rinet.ru ===
================================================================



More information about the freebsd-net mailing list