Advertisement
Guest User

Untitled

a guest
Jan 16th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. pi@raspberrypi:/etc/dhcp $ sudo netstat -rn
  2. Kernel IP routing table
  3. Destination Gateway Genmask Flags MSS Window irtt Iface
  4. 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
  5. 0.0.0.0 24.5.240.1 0.0.0.0 UG 0 0 0 eth1
  6. 10.29.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
  7. 24.5.240.0 0.0.0.0 255.255.252.0 U 0 0 0 eth1
  8. 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
  9. 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
  10. pi@raspberrypi:/etc/dhcp $ ip route
  11. default via 192.168.1.254 dev eth0 src 192.168.1.67 metric 202
  12. default via 24.5.240.1 dev eth1 src 24.5.243.215 metric 204
  13. 10.29.1.0/24 dev eth0 proto kernel scope link src 10.29.1.1
  14. 24.5.240.0/22 dev eth1 proto kernel scope link src 24.5.243.215 metric 204
  15. 169.254.0.0/16 dev wlan0 proto kernel scope link src 169.254.67.175 metric 303
  16. 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.67 metric 202
  17. pi@raspberrypi:/etc/dhcp $ sudo route delete default gw 192.168.1.254
  18. pi@raspberrypi:/etc/dhcp $ netstat -rn
  19. Kernel IP routing table
  20. Destination Gateway Genmask Flags MSS Window irtt Iface
  21. 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
  22. 0.0.0.0 24.5.240.1 0.0.0.0 UG 0 0 0 eth1
  23. 10.29.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
  24. 24.5.240.0 0.0.0.0 255.255.252.0 U 0 0 0 eth1
  25. 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
  26. 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
  27. pi@raspberrypi:/etc/dhcp $ sudo ip route del default via 192.168.1.254
  28. pi@raspberrypi:/etc/dhcp $ netstat -rn
  29. Kernel IP routing table
  30. Destination Gateway Genmask Flags MSS Window irtt Iface
  31. 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
  32. 0.0.0.0 24.5.240.1 0.0.0.0 UG 0 0 0 eth1
  33. 10.29.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
  34. 24.5.240.0 0.0.0.0 255.255.252.0 U 0 0 0 eth1
  35. 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
  36. 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