Guest User

Untitled

a guest
Oct 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. auto lo
  2. iface lo inet loopback
  3.  
  4. auto eth0
  5. iface eth0 inet static
  6. address 192.168.81.3
  7. netmask 255.255.255.248
  8. network 192.168.81.0
  9. broadcast 192.168.81.7
  10. gateway 192.168.81.1
  11.  
  12. iface eth1 inet static
  13. address 10.0.0.1
  14. netmask 255.255.255.0
  15. network 10.0.0.0
  16. broadcast 10.0.0.255
  17.  
  18. root@raspberrypi:~# route
  19. Kernel IP routing table
  20. Destination Gateway Genmask Flags Metric Ref Use Iface
  21. default 192.168.81.1 0.0.0.0 UG 0 0 0 eth0
  22. 10.0.0.0 * 255.255.255.0 U 0 0 0 eth1
  23. 192.168.81.0 * 255.255.255.248 U 0 0 0 eth0
  24.  
  25. root@raspberrypi:~# route -C
  26. Kernel IP routing cache
  27. Source Destination Gateway Flags Metric Ref Use Iface
Add Comment
Please, Sign In to add comment