Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspberrypi:/etc/dhcp $ sudo netstat -rn
- Kernel IP routing table
- Destination Gateway Genmask Flags MSS Window irtt Iface
- 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
- 0.0.0.0 24.5.240.1 0.0.0.0 UG 0 0 0 eth1
- 10.29.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
- 24.5.240.0 0.0.0.0 255.255.252.0 U 0 0 0 eth1
- 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
- 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
- pi@raspberrypi:/etc/dhcp $ ip route
- default via 192.168.1.254 dev eth0 src 192.168.1.67 metric 202
- default via 24.5.240.1 dev eth1 src 24.5.243.215 metric 204
- 10.29.1.0/24 dev eth0 proto kernel scope link src 10.29.1.1
- 24.5.240.0/22 dev eth1 proto kernel scope link src 24.5.243.215 metric 204
- 169.254.0.0/16 dev wlan0 proto kernel scope link src 169.254.67.175 metric 303
- 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.67 metric 202
- pi@raspberrypi:/etc/dhcp $ sudo route delete default gw 192.168.1.254
- pi@raspberrypi:/etc/dhcp $ netstat -rn
- Kernel IP routing table
- Destination Gateway Genmask Flags MSS Window irtt Iface
- 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
- 0.0.0.0 24.5.240.1 0.0.0.0 UG 0 0 0 eth1
- 10.29.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
- 24.5.240.0 0.0.0.0 255.255.252.0 U 0 0 0 eth1
- 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
- 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
- pi@raspberrypi:/etc/dhcp $ sudo ip route del default via 192.168.1.254
- pi@raspberrypi:/etc/dhcp $ netstat -rn
- Kernel IP routing table
- Destination Gateway Genmask Flags MSS Window irtt Iface
- 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
- 0.0.0.0 24.5.240.1 0.0.0.0 UG 0 0 0 eth1
- 10.29.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
- 24.5.240.0 0.0.0.0 255.255.252.0 U 0 0 0 eth1
- 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
- 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement