spacepaste

  1.  
  2. rob@Behemoth:~$ route
  3. Kernel IP routing table
  4. Destination Gateway Genmask Flags Metric Ref Use Iface
  5. default 192.168.150.254 0.0.0.0 UG 100 0 0 eth0
  6. link-local * 255.255.0.0 U 1000 0 0 eth0
  7. localnet * 255.255.255.0 U 0 0 0 eth0
  8. rob@Behemoth:~$ cat /etc/network/interfaces
  9. # This file describes the network interfaces available on your system
  10. # and how to activate them. For more information, see interfaces(5).
  11. # The loopback network interface
  12. auto lo
  13. iface lo inet loopback
  14. # The primary network interface
  15. auto eth0
  16. iface eth0 inet static
  17. address 192.168.150.1
  18. netmask 255.255.255.0
  19. network 192.168.150.0
  20. broadcast 192.168.150.255
  21. gateway 192.168.150.254
  22. # dns-* options are implemented by the resolvconf package, if installed
  23. dns-nameservers 192.168.150.254
  24. iface eth0 inet6 static
  25. address 2001:44b8:319e:2900::607:1337
  26. netmask 64
  27. gateway fe80::204:edff:fead:a8f5
  28. rob@Behemoth:~$ ping www.bigpond.com
  29. ping: unknown host www.bigpond.com
  30. rob@Behemoth:~$ nslookup
  31. > server 192.168.150.254
  32. Default server: 192.168.150.254
  33. Address: 192.168.150.254#53
  34. > www.bigpond.com
  35. Server: 192.168.150.254
  36. Address: 192.168.150.254#53
  37. Non-authoritative answer:
  38. Name: www.bigpond.com
  39. Address: 144.135.18.32
  40. >
  41.