Advertisement
Guest User

Untitled

a guest
Jan 25th, 2012
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. ?@?:~$ cat /etc/network/interfaces
  2.  
  3. # The loopback network interface
  4. auto lo
  5. iface lo inet loopback
  6.  
  7. # The primary network interface
  8. auto eth0
  9. iface eth0 inet dhcp
  10.  
  11. auto eth0:0
  12. iface eth0:0 inet static
  13. address 192.168.0.2
  14. netmask 255.255.255.0
  15.  
  16. ?@?:~$ ifconfig
  17. eth0 Link encap:Ethernet HWaddr 00:27:0e:02:09:af
  18. inet addr:192.168.0.203 Bcast:192.168.0.255 Mask:255.255.255.0
  19. inet6 addr: fe80::227:eff:fe02:9af/64 Scope:Link
  20. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  21. RX packets:969641 errors:0 dropped:0 overruns:0 frame:0
  22. TX packets:3761538 errors:0 dropped:0 overruns:0 carrier:0
  23. collisions:0 txqueuelen:1000
  24. RX bytes:228580445 (228.5 MB) TX bytes:520167321 (520.1 MB)
  25. Interrupt:44 Base address:0x6000
  26.  
  27. lo Link encap:Local Loopback
  28. inet addr:127.0.0.1 Mask:255.0.0.0
  29. inet6 addr: ::1/128 Scope:Host
  30. UP LOOPBACK RUNNING MTU:16436 Metric:1
  31. RX packets:6864 errors:0 dropped:0 overruns:0 frame:0
  32. TX packets:6864 errors:0 dropped:0 overruns:0 carrier:0
  33. collisions:0 txqueuelen:0
  34. RX bytes:358606 (358.6 KB) TX bytes:358606 (358.6 KB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement