Bug 191380 - [vlan] Problem with tagged vlan after upgrading
Summary: [vlan] Problem with tagged vlan after upgrading
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.0-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-net (Nobody)
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2014-06-25 19:51 UTC by Ricardo
Modified: 2018-08-29 20:25 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ricardo 2014-06-25 19:51:53 UTC
After upgrading my system to 11.0-CURRENT r267824, I cannot use the vlan
interfaces as I used before. I have in rc.conf:

ifconfig_em0="media 1000baseT mediaopt full-duplex"
cloned_interfaces="vlan1 vlan2 vlan100 vlan150"
ifconfig_vlan1="inet 10.0.0.20 netmask 255.0.0.0 vlan 1 vlandev em0"
ifconfig_vlan2="inet X.X.X.X netmask 255.255.255.192 vlan 2 vlandev em0"
ifconfig_vlan100="vlan 100 vlandev em0"
ifconfig_vlan150="inet 192.168.2.10 netmask 255.255.255.0 vlan 150 vlandev em0"

But this isn't working anymore.

When I remove the vlan tag in my switch and set the inet to the em0
card, everithing works fine.

The hardware:

em0@pci0:0:25:0:  class=0x020000 card=0xe0001458 chip=0x153b8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Ethernet Connection I217-V'
    class      = network
    subclass   = ethernet

Everything got back to normal after the command below:

# ifconfig em0 -vlanhwtag
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2018-08-29 19:33:10 UTC
This problem report is old now.  Is it still valid?
Comment 2 Ricardo 2018-08-29 20:13:54 UTC
(In reply to Mark Linimon from comment #1)
It's working now.
Sorry for the noise.