Problem with tagged vlan after upgrading
Ricardo Campos Passanezi
riccp at ige.unicamp.br
Wed Jun 25 13:41:25 UTC 2014
On Tue, Jun 24, 2014 at 04:24:55PM -0300, Ricardo Campos Passanezi wrote:
> Hello all.
>
> 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 my_actual_ip 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.
>
> I have done a "make delete-old" after the mergemaster and I wonder if I
> removed something by mistake.
>
> Is there anything I can do to debug/fix this?
>
> TIA,
>
> --
> Ricardo.
Some more info I've forgotten to add:
- If I listen the vlan interfaces (tcpdump -i vlanX), the traffic is
there.
- I've tested the scenario:
- delete the inet from em0;
- create a vlan2 with th IP used by "em0"
- enable the vlan tag in the switch
- now, I can use the "vlan1" (10.0.0.0/8)o
More info:
# pciconf -v -l
hostb0 at pci0:0:0:0: class=0x060000 card=0x50001458 chip=0x0c008086 rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = 'Haswell DRAM Controller'
class = bridge
subclass = HOST-PCI
pcib1 at pci0:0:1:0: class=0x060400 card=0x50001458 chip=0x0c018086 rev=0x06 hdr=0x01
vendor = 'Intel Corporation'
device = 'Haswell PCI Express x16 Controller'
class = bridge
subclass = PCI-PCI
vgapci1 at pci0:0:2:0: class=0x030000 card=0xd0001458 chip=0x04128086 rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = 'Haswell Integrated Graphics Controller'
class = display
subclass = VGA
hdac1 at pci0:0:3:0: class=0x040300 card=0x20108086 chip=0x0c0c8086 rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = 'Haswell HD Audio Controller'
class = multimedia
subclass = HDA
none0 at pci0:0:22:0: class=0x078000 card=0x1c3a1458 chip=0x8c3a8086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Lynx Point MEI Controller'
class = simple comms
em0 at 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
ehci0 at pci0:0:26:0: class=0x0c0320 card=0x50061458 chip=0x8c2d8086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Lynx Point USB Enhanced Host Controller'
class = serial bus
subclass = USB
hdac2 at pci0:0:27:0: class=0x040300 card=0xa0021458 chip=0x8c208086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Lynx Point High Definition Audio Controller'
class = multimedia
subclass = HDA
pcib2 at pci0:0:28:0: class=0x060400 card=0x50011458 chip=0x8c108086 rev=0xd4 hdr=0x01
vendor = 'Intel Corporation'
device = 'Lynx Point PCI Express Root Port'
class = bridge
subclass = PCI-PCI
pcib3 at pci0:0:28:3: class=0x060401 card=0x50011458 chip=0x244e8086 rev=0xd4 hdr=0x01
vendor = 'Intel Corporation'
device = '82801 PCI Bridge'
class = bridge
subclass = PCI-PCI
ehci1 at pci0:0:29:0: class=0x0c0320 card=0x50061458 chip=0x8c268086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Lynx Point USB Enhanced Host Controller'
class = serial bus
subclass = USB
isab0 at pci0:0:31:0: class=0x060100 card=0x50011458 chip=0x8c448086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Lynx Point LPC Controller'
class = bridge
subclass = PCI-ISA
ahci0 at pci0:0:31:2: class=0x010601 card=0xb0051458 chip=0x8c028086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Lynx Point 6-port SATA Controller 1 [AHCI mode]'
class = mass storage
subclass = SATA
none1 at pci0:0:31:3: class=0x0c0500 card=0x50011458 chip=0x8c228086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Lynx Point SMBus Controller'
class = serial bus
subclass = SMBus
vgapci0 at pci0:1:0:0: class=0x030000 card=0x25491458 chip=0x67791002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'Caicos [Radeon HD 6450]'
class = display
subclass = VGA
hdac0 at pci0:1:0:1: class=0x040300 card=0xaa981458 chip=0xaa981002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'Caicos HDMI Audio [Radeon HD 6400 Series]'
class = multimedia
subclass = HDA
pcib4 at pci0:3:0:0: class=0x060401 card=0x88921458 chip=0x244e8086 rev=0x41 hdr=0x01
vendor = 'Intel Corporation'
device = '82801 PCI Bridge'
class = bridge
subclass = PCI-PCI
--
Ricardo Campos Passanezi - Supervisor de Seção
Chave PGP e GPG Pública em: http://www.ige.unicamp.br/~riccp
Instituto de Geociências - http://www.ige.unicamp.br - UNICAMP
Tel: (19) 3521 4560
More information about the freebsd-current
mailing list