Advertisement
Guest User

Untitled

a guest
Jun 17th, 2013
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. tatic@LNX:~$ cat /etc/network/interfaces
  2. # This file describes the network interfaces available on your system
  3. # and how to activate them. For more information, see interfaces(5).
  4.  
  5. # The loopback network interface
  6. auto lo
  7. iface lo inet loopback
  8.  
  9. # The primary network interface
  10. iface eth0 inet static
  11. address 10.0.0.10
  12. netmask 255.255.255.0
  13. network 10.0.0.0
  14. broadcast 10.0.0.255
  15. gateway 10.0.0.1
  16.  
  17. static@LNX:~$ ifconfig eth0
  18. eth0 Link encap:Ethernet HWaddr 08:00:27:33:c4:b9
  19. BROADCAST MULTICAST MTU:1500 Metric:1
  20. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  21. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  22. collisions:0 txqueuelen:1000
  23. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement