Date: Wed, 25 Jun 2014 10:32:45 -0300 From: Ricardo Campos Passanezi <riccp@ige.unicamp.br> To: freebsd-current@freebsd.org Subject: Re: Problem with tagged vlan after upgrading Message-ID: <assp.02536a3fee.20140625133245.GA9359@ige.unicamp.br> In-Reply-To: <assp.02527dc6be.20140624192455.GA3645@ige.unicamp.br> References: <assp.02527dc6be.20140624192455.GA3645@ige.unicamp.br>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 24, 2014 at 04:24:55PM -0300, Ricardo Campos Passanezi wrote: > Hello all. >=20 > After upgrading my system to 11.0-CURRENT r267824, I cannot use the vla= n > interfaces as I used before. I have in rc.conf: >=20 > ifconfig_em0=3D"media 1000baseT mediaopt full-duplex" > cloned_interfaces=3D"vlan1 vlan2 vlan100 vlan150" > ifconfig_vlan1=3D"inet 10.0.0.20 netmask 255.0.0.0 vlan 1 vlandev em0" > ifconfig_vlan2=3D"inet my_actual_ip netmask 255.255.255.192 vlan 2 vlan= dev em0" > ifconfig_vlan100=3D"vlan 100 vlandev em0" > ifconfig_vlan150=3D"inet 192.168.2.10 netmask 255.255.255.0 vlan 150 vl= andev em0" >=20 > But this isn't working anymore. >=20 > When I remove the vlan tag in my switch and set the inet to the em0 > card, everithing works fine. >=20 > I have done a "make delete-old" after the mergemaster and I wonder if I > removed something by mistake. >=20 > Is there anything I can do to debug/fix this? >=20 > TIA, >=20 > --=20 > 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@pci0:0:0:0: class=3D0x060000 card=3D0x50001458 chip=3D0x0c008086 = rev=3D0x06 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Haswell DRAM Controller' class =3D bridge subclass =3D HOST-PCI pcib1@pci0:0:1:0: class=3D0x060400 card=3D0x50001458 chip=3D0x0c018086 re= v=3D0x06 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D 'Haswell PCI Express x16 Controller' class =3D bridge subclass =3D PCI-PCI vgapci1@pci0:0:2:0: class=3D0x030000 card=3D0xd0001458 chip=3D0x04128086 = rev=3D0x06 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Haswell Integrated Graphics Controller' class =3D display subclass =3D VGA hdac1@pci0:0:3:0: class=3D0x040300 card=3D0x20108086 chip=3D0x0c0c8086 re= v=3D0x06 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Haswell HD Audio Controller' class =3D multimedia subclass =3D HDA none0@pci0:0:22:0: class=3D0x078000 card=3D0x1c3a1458 chip=3D0x8c3a8086 = rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Lynx Point MEI Controller' class =3D simple comms em0@pci0:0:25:0: class=3D0x020000 card=3D0xe0001458 chip=3D0x153b8086 re= v=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Ethernet Connection I217-V' class =3D network subclass =3D ethernet ehci0@pci0:0:26:0: class=3D0x0c0320 card=3D0x50061458 chip=3D0x8c2d8086 = rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Lynx Point USB Enhanced Host Controller' class =3D serial bus subclass =3D USB hdac2@pci0:0:27:0: class=3D0x040300 card=3D0xa0021458 chip=3D0x8c208086 = rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Lynx Point High Definition Audio Controller' class =3D multimedia subclass =3D HDA pcib2@pci0:0:28:0: class=3D0x060400 card=3D0x50011458 chip=3D0x8c108086 = rev=3D0xd4 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D 'Lynx Point PCI Express Root Port' class =3D bridge subclass =3D PCI-PCI pcib3@pci0:0:28:3: class=3D0x060401 card=3D0x50011458 chip=3D0x244e8086 = rev=3D0xd4 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801 PCI Bridge' class =3D bridge subclass =3D PCI-PCI ehci1@pci0:0:29:0: class=3D0x0c0320 card=3D0x50061458 chip=3D0x8c268086 = rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Lynx Point USB Enhanced Host Controller' class =3D serial bus subclass =3D USB isab0@pci0:0:31:0: class=3D0x060100 card=3D0x50011458 chip=3D0x8c448086 = rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Lynx Point LPC Controller' class =3D bridge subclass =3D PCI-ISA ahci0@pci0:0:31:2: class=3D0x010601 card=3D0xb0051458 chip=3D0x8c028086 = rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Lynx Point 6-port SATA Controller 1 [AHCI mode]' class =3D mass storage subclass =3D SATA none1@pci0:0:31:3: class=3D0x0c0500 card=3D0x50011458 chip=3D0x8c228086 = rev=3D0x04 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Lynx Point SMBus Controller' class =3D serial bus subclass =3D SMBus vgapci0@pci0:1:0:0: class=3D0x030000 card=3D0x25491458 chip=3D0x67791002 = rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices [AMD] nee ATI' device =3D 'Caicos [Radeon HD 6450]' class =3D display subclass =3D VGA hdac0@pci0:1:0:1: class=3D0x040300 card=3D0xaa981458 chip=3D0xaa981002 re= v=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices [AMD] nee ATI' device =3D 'Caicos HDMI Audio [Radeon HD 6400 Series]' class =3D multimedia subclass =3D HDA pcib4@pci0:3:0:0: class=3D0x060401 card=3D0x88921458 chip=3D0x244e8086 re= v=3D0x41 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801 PCI Bridge' class =3D bridge subclass =3D PCI-PCI --=20 Ricardo Campos Passanezi - Supervisor de Se=E7=E3o Chave PGP e GPG P=FAblica em: http://www.ige.unicamp.br/~riccp Instituto de Geoci=EAncias - http://www.ige.unicamp.br - UNICAMP Tel: (19) 3521 4560
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?assp.02536a3fee.20140625133245.GA9359>