Route table with Raspberry pi

1 post / 0 new
#1 Wed, 2016-03-09 11:52
matteom
  • matteom's picture
  • Offline
  • Last seen: 1 year 4 months ago
  • Joined: 2016-03-09

Hi everyone, I'm a NOOB user and I have a problem with Alpine Linux running on my Raspberry pi.
I have both eth0 and wlan0 working properly, but I can't ping the wlan router.
Here the route -n output:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.2.1     0.0.0.0         UG    202     0        0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    203     0        0 wlan0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0

if I try ping 192.168.1.1 the request goes timeout (but it's the DNS!!!)
ping 192.168.2.1 it's fine.

Thank you for your help!