Unable to ping from vlan interface

i am trying to configure the mwan3 package where secondary wan is a untagged vlan.

when i perform the mwan3 ping test on secondary wan (below command and result )

root@OpenWrt:~# ping 8.8.8.8 -I eth1.10 -c 5
PING 8.8.8.8 (8.8.8.8): 56 data bytes

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:~# 

however , when i perform the ping without mentioning the interface , it works just fine.

root@OpenWrt:~# ping 8.8.8.8 -c 5
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=118 time=2.086 ms
64 bytes from 8.8.8.8: seq=1 ttl=118 time=1.996 ms
64 bytes from 8.8.8.8: seq=2 ttl=118 time=2.036 ms
64 bytes from 8.8.8.8: seq=3 ttl=118 time=1.972 ms
64 bytes from 8.8.8.8: seq=4 ttl=118 time=1.991 ms

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 1.972/2.016/2.086 ms
root@OpenWrt:~# 

can someone tell me why am i unable to ping from untagged vlan.

swconfig

        link: ???
VLAN 1:
        vid: 1
        ports: 0t 2 3 4 
VLAN 2:
        vid: 2
        ports: 0t 5 
VLAN 10:
        vid: 10
        ports: 0t 1

Is that interface up and configured?
Does it have internet connectivity?

yes , it is up and has internet connectivity. Default route is set to the vlan interface as well .

Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have

uci export network; \
ip -4 addr ; ip -4 ro li tab all ; ip -4 ru; \
ip -6 addr ; ip -6 ro li tab all ; ip -6 ru; \

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.