Can I ping via an arbitrary interface of a DD-WRT system?

Posted by bytebuster on Server Fault See other posts from Server Fault or by bytebuster
Published on 2012-09-12T13:48:19Z Indexed on 2012/09/23 15:40 UTC
Read the original article Hit count: 283

Filed under:
|
|

There's a Linksys WRT54GL router with DD-WRT firmware (v23SP2).
The network has a simple dual-WAN configuration (standby mode, switching by a script):

~ # ip route  
192.168.3.0/24 dev br0  proto kernel  scope link  src 192.168.3.1
192.168.2.0/24 dev vlan2  proto kernel  scope link  src 192.168.2.2
192.168.1.0/24 dev vlan1  proto kernel  scope link  src 192.168.1.67  
127.0.0.0/8 dev lo  scope link  
default via 192.168.2.1 dev vlan2

I'm trying to ping a certain server arbitrary via vlan1 or vlan2.

What I tried, as suggested here:
ping -I vlan2 <address>
ping 192.168.2.1 <address>
In both cases ping simply exits with no error messages.

Also, ping ignores many other parameters, again, by exiting silently.
I failed to find any references that DD-WRT has a limited version of ping whatsoever.
I also don't think it can be a permissions issue as mentioned here since the only user with DD-WRT is root.

What's wrong?

© Server Fault or respective owner

Related posts about ping

Related posts about dd-wrt