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
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=202144The output of "ifconfig" and "netstat -nr -f inet", before and after you create the new vlan, would be most helpful. Eric
On 07.08.2015 01:57, Marcelo Gondim wrote:> For all work again I need to restart the router. > I don't know if I could correctly explain the problem.Do you have gateway_enable="YES" in your /etc/rc.conf? -- WBR, Andrey V. Elsukov -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 538 bytes Desc: OpenPGP digital signature URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150807/e887f3f8/attachment.bin>