[Bug 230794] No vlan tagged output after upgrade to ALPHA2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 21 06:31:49 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230794

            Bug ID: 230794
           Summary: No vlan tagged output after upgrade to ALPHA2
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: mishin at mh.san.ru

After upgrading from "FreeBSD 12.0-CURRENT #20 r336766" to ALPHA2 and by now
vlan interface has been broken.

# cat /etc/rc.conf.d/network
[code]
vlans_re0="11"

ifconfig_re0="inet 192.168.x.x netmask 255.255.255.0 vlanhwfilter rxcsum6
txcsum6 descr LAN"
ifconfig_re0_11="inet 88.x.x.x netmask 255.255.255.252 descr WAN"
[/code]

# ifconfig
[code]
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: LAN
       
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
        ether d0:50:99:1d:7b:88
        inet 192.168.x.x netmask 0xffffff00 broadcast 192.168.x.255 
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
re0.11: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: WAN
        options=80003<RXCSUM,TXCSUM,LINKSTATE>
        ether d0:50:99:1d:7b:88
        inet 88.x.x.x netmask 0xfffffffc broadcast 88.x.x.x 
        groups: vlan 
        vlan: 11 vlanpcp: 0 parent interface: re0
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
[/code]

# netstat -rn
[code]
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
default            88.x.x.y      UGS      re0.11
.....
[/code]

I have two uplinks from my home server: main one - direct from white ip address
88.x.x.x/30 via 88.x.x.y on re0.11 and possible one (not used normally) - by
the router from 192.168.x.x via 192.168.x.y on re0 (private ip, pppoe, double
nat).

All worked (and working) ok on '12.0-CURRENT #20 r336766' kernel.

After upgrade to '12.0-ALPHA2 #2 r338054' kernel I can't ping from LAN 88.x.x.x
to GW 88.x.x.y (via re0.11) neither from Internet to 88.x.x.x (88.x.x.y is ok).
All is ok with any packets exchange on re0

After I changed the default route to 192.168.x.y (to router via re0) I can ping
Internet ip addresses, can ping from Internet to 88.x.x.y (on the provider
side) and can ping, surprisingly, 88.x.x.x at home.

I tried "ifconfig em0 -vlanhwtag" with the same result

(ifconfig_re0="inet 192.168.x.x netmask 255.255.255.0 -vlanhwtag -vlanhwfilter
-rxcsum6 -txcsum6 descr LAN")

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list