Routing stops working when we create a new vlan
Marcelo Gondim
gondim at bsdinfo.com.br
Thu Aug 6 22:57:46 UTC 2015
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
[]'s
Gondim
More information about the freebsd-stable
mailing list