From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 13:41:25 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 751AEB2A for ; Wed, 25 Jun 2014 13:41:25 +0000 (UTC) Received: from saturno.ige.unicamp.br (saturno.ige.unicamp.br [143.106.76.34]) by mx1.freebsd.org (Postfix) with ESMTP id 01B982974 for ; Wed, 25 Jun 2014 13:41:24 +0000 (UTC) Received: from netuno.ige.unicamp.br (saturno.ige.unicamp.br [143.106.76.34]) by saturno.ige.unicamp.br (Postfix) with ESMTPS id 44E1935A449 for ; Wed, 25 Jun 2014 10:41:19 -0300 (BRT) Received: from netuno.ige.unicamp.br ([143.106.76.2] helo=netuno.ige.unicamp.br) by saturno.ige.unicamp.br with SMTP (2.3.3); 25 Jun 2014 10:41:19 -0300 Received: by netuno.ige.unicamp.br (Postfix, from userid 1003) id D15AF75FA; Wed, 25 Jun 2014 10:32:45 -0300 (BRT) Date: Wed, 25 Jun 2014 10:32:45 -0300 From: Ricardo Campos Passanezi To: freebsd-current@freebsd.org Subject: Re: Problem with tagged vlan after upgrading Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Content-Transfer-Encoding: quoted-printable X-Assp-Version: 2.3.3(13160) on saturno.ige.unicamp.br X-Assp-ID: saturno.ige.unicamp.br m-03679-07799 X-Assp-Session: B9AF82F78 (mail 1) X-Assp-Original-Subject: Re: Problem with tagged vlan after upgrading X-Assp-Server-TLS: yes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2014 13:41:25 -0000 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