From owner-freebsd-stable@freebsd.org Fri Aug 7 03:10:36 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 3C50B9B5827 for ; Fri, 7 Aug 2015 03:10:36 +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 A5DA0165D for ; Fri, 7 Aug 2015 03:10:35 +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 7C97930FC30 for ; Fri, 7 Aug 2015 00:10:15 -0300 (BRT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bsdinfo.com.br; h=content-transfer-encoding:content-type:content-type :in-reply-to:references:subject:subject:to:mime-version :user-agent:from:from:date:date:message-id; s=dkim; t= 1438917014; x=1439781015; bh=L4vpJrzBQom0CM/z6eAe7vrAMz2o8jVwWkU HcX04Um8=; b=qoQAwzCY530EH7SxhhOiyowq2qyzHU6MQpX2GNUUuPFirtHpodA KO/Te2IPtVkihel4XmiYo66PSmfmTgLZWhBjVkcBq/rU77hcSQhiDB1TRtSESHH+ RCLNpXRRcZLD6hxzlmLhx59R8WNKGVSH5xO6i036N6ScgGYhUUZ/SxUM= 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 MmUmhA_8PA3C for ; Fri, 7 Aug 2015 00:10:14 -0300 (BRT) Received: from [192.168.10.208] (unknown [186.193.54.69]) by mail.bsdinfo.com.br (Postfix) with ESMTPSA id D8B6930FC2E; Fri, 7 Aug 2015 00:10:11 -0300 (BRT) Message-ID: <55C42184.1080403@bsdinfo.com.br> Date: Fri, 07 Aug 2015 00:09:56 -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: Eric van Gyzen , FreeBSD Stable Mailing List Subject: Re: Routing stops working when we create a new vlan References: <55C3E641.9060305@bsdinfo.com.br> <55C3F5BB.20506@FreeBSD.org> In-Reply-To: <55C3F5BB.20506@FreeBSD.org> 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 03:10:36 -0000 On 06-08-2015 21:03, Eric van Gyzen wrote: > 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 > Hi Eric, I put the information you requested in PR. []'s Gondim