Advertisement
Guest User

Untitled

a guest
Jul 24th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- /etc/network/interfaces-----
  2. auto lo
  3. iface lo inet loopback
  4.  
  5. auto eth1
  6. iface eth1 inet dhcp
  7. --------------------------------
  8.  
  9. --- netstat -rn ----------------
  10. Kernel IP routing table
  11. Destination Gateway Genmask Flags MSS Window irtt Iface
  12. 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
  13. 10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
  14. 10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
  15. 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
  16. -------------------------------
  17.  
  18. ---ifconfig -a ----------------
  19. eth0 Link encap:Ethernet HWaddr 00:21:70:ce:65:1d
  20. BROADCAST MULTICAST MTU:1500 Metric: 1
  21. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  22. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  23. collisions:0 txqueuelen:1000
  24. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  25. Interrupt:17
  26.  
  27. eth1 Link encap:Ethernet HWaddr d8:eb:97:b7:23:ae
  28. inet addr:192.168.0.12 Bcast:192.168.0.255 Mask:255.255.255.0
  29. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric: 1
  30. RX packets:646 errors:0 dropped:0 overruns:0 frame:0
  31. TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
  32. collisions:0 txqueuelen:1000
  33. RX bytes:53265 (53.2 B) TX bytes:4864 (4.8 KB)
  34.  
  35. lo Link encap:Local Loopback
  36. inet addr:127.0.0.1 Mask:255.0.0.0
  37. UP LOOPBACK RUNNING MTU:65536 Metric: 1
  38. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  39. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  40. collisions:0 txqueuelen:0
  41. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  42.  
  43. tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
  44. inet addr:10.8.0.1 P-t-P:10.8.0.2 Mask:255.255.255.255
  45. UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
  46. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  47. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  48. collisions:0 txqueuelen:100
  49. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  50. -----------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement