From owner-freebsd-stable@freebsd.org Fri Aug 7 00:03:29 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1DD39B418A for ; Fri, 7 Aug 2015 00:03:29 +0000 (UTC) (envelope-from vangyzen@FreeBSD.org) Received: from smtp.vangyzen.net (hotblack.vangyzen.net [IPv6:2607:fc50:1000:7400:216:3eff:fe72:314f]) by mx1.freebsd.org (Postfix) with ESMTP id C97FA1AD5 for ; Fri, 7 Aug 2015 00:03:29 +0000 (UTC) (envelope-from vangyzen@FreeBSD.org) Received: from coconut.local (173-19-243-56.client.mchsi.com [173.19.243.56]) by smtp.vangyzen.net (Postfix) with ESMTPSA id 27BA95648E; Thu, 6 Aug 2015 19:03:27 -0500 (CDT) Subject: Re: Routing stops working when we create a new vlan To: Marcelo Gondim , FreeBSD Stable Mailing List References: <55C3E641.9060305@bsdinfo.com.br> From: Eric van Gyzen Message-ID: <55C3F5BB.20506@FreeBSD.org> Date: Thu, 6 Aug 2015 19:03:07 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55C3E641.9060305@bsdinfo.com.br> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2015 00:03:30 -0000 On 8/6/15 5:57 PM, Marcelo Gondim wrote: > Hi all, > > Let me illustrate a network topology, to tell where the problem occurs: > > PC station: 192.168.8.253/24 (FreeBSD 10.2-PRERELEASE) > > Router: 192.168.8.177/24 and 10.254.215.1/24 (FreeBSD 10.2-RC2) > > router(CPE): 10.254.215.188/24 (a customer) > > From Router: > =========== > > # ifconfig vlan201 > vlan201: flags=8843 metric 0 mtu 1500 > options=103 > ether 70:71:bc:87:31:2d > inet 10.254.215.1 netmask 0xffffff00 broadcast 10.254.215.255 > inet6 fe80::7271:bcff:fe87:312d%vlan201 prefixlen 64 scopeid 0x1a > nd6 options=21 > media: Ethernet autoselect (1000baseT ) > status: active > vlan: 201 parent interface: em0 > > From PC station (192.168.8.253): > =============================== > > # ping -c 5 10.254.215.188 > PING 10.254.215.188 (10.254.215.188): 56 data bytes > 64 bytes from 10.254.215.188: icmp_seq=0 ttl=127 time=1.012 ms > 64 bytes from 10.254.215.188: icmp_seq=1 ttl=127 time=0.864 ms > 64 bytes from 10.254.215.188: icmp_seq=2 ttl=127 time=1.084 ms > 64 bytes from 10.254.215.188: icmp_seq=3 ttl=127 time=1.618 ms > 64 bytes from 10.254.215.188: icmp_seq=4 ttl=127 time=1.006 ms > > --- 10.254.215.188 ping statistics --- > 5 packets transmitted, 5 packets received, 0.0% packet loss > round-trip min/avg/max/stddev = 0.864/1.117/1.618/0.261 ms > > It works perfectly. > > Now I'm going on the router and I just create a new vlan 202. > > From Router: > =========== > > # ifconfig vlan202 create > # > > At that moment my PC station stops to ping the IP 10.254.215.188. > > From PC station (192.168.8.253): > =============================== > > # ping -c 5 10.254.215.188 > PING 10.254.215.188 (10.254.215.188): 56 data bytes > > --- 10.254.215.188 ping statistics --- > 5 packets transmitted, 0 packets received, 100.0% packet loss > > For all work again I need to restart the router. > I don't know if I could correctly explain the problem. > > PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202144 The output of "ifconfig" and "netstat -nr -f inet", before and after you create the new vlan, would be most helpful. Eric