Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Aug 2015 19:03:07 -0500
From:      Eric van Gyzen <vangyzen@FreeBSD.org>
To:        Marcelo Gondim <gondim@bsdinfo.com.br>, FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: Routing stops working when we create a new vlan
Message-ID:  <55C3F5BB.20506@FreeBSD.org>
In-Reply-To: <55C3E641.9060305@bsdinfo.com.br>
References:  <55C3E641.9060305@bsdinfo.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=103<RXCSUM,TXCSUM,TSO4>
>         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<PERFORMNUD,AUTO_LINKLOCAL>
>         media: Ethernet autoselect (1000baseT <full-duplex>)
>         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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55C3F5BB.20506>