From owner-freebsd-stable@freebsd.org Thu Aug 6 22:57:46 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 17A159B5E88 for ; Thu, 6 Aug 2015 22:57:46 +0000 (UTC) (envelope-from gondim@bsdinfo.com.br) Received: from mail.bsdinfo.com.br (mail.bsdinfo.com.br [191.243.120.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C05CC1B0B for ; Thu, 6 Aug 2015 22:57:45 +0000 (UTC) (envelope-from gondim@bsdinfo.com.br) Received: from mail.bsdinfo.com.br (mail.bsdinfo.com.br [127.0.0.1]) by mail.bsdinfo.com.br (Postfix) with ESMTP id 7CC8C30FC2F for ; Thu, 6 Aug 2015 19:57:21 -0300 (BRT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bsdinfo.com.br; h=content-transfer-encoding:content-type:content-type:subject :subject:to:mime-version:user-agent:from:from:date:date :message-id; s=dkim; t=1438901840; x=1439765841; bh=sojnEnfBtrSD fgkKLpkfYFtmV1POC3pDTJyI/T9azpk=; b=povWdUK1sI+NiZn0Y0j5rtnmEOed ET+hfOm++N57l0ay0wHlxnwR1ICEQhQ1Kqz0i6FX4UGBPXVf3EOUkhlaqmukZGiX 2aYr0XdgW7w8yrKnqDaGLYH4nzHoQGm8pWa0X7kdd1bgyVxvgPMo0+RSurqXSiu2 vOJ6p8KQyWnKkUw= X-Virus-Scanned: amavisd-new at mail.bsdinfo.com.br Received: from mail.bsdinfo.com.br ([127.0.0.1]) by mail.bsdinfo.com.br (mail.bsdinfo.com.br [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZwjY79XsoVVy for ; Thu, 6 Aug 2015 19:57:20 -0300 (BRT) Received: from [192.168.10.208] (unknown [186.193.54.69]) by mail.bsdinfo.com.br (Postfix) with ESMTPSA id 93A7830FC2E for ; Thu, 6 Aug 2015 19:57:20 -0300 (BRT) Message-ID: <55C3E641.9060305@bsdinfo.com.br> Date: Thu, 06 Aug 2015 19:57:05 -0300 From: Marcelo Gondim User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: FreeBSD Stable Mailing List Subject: Routing stops working when we create a new vlan 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: Thu, 06 Aug 2015 22:57:46 -0000 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 []'s Gondim