Advertisement
Guest User

Untitled

a guest
Aug 31st, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. The default /etc/network/interfaces on my server contains the following:
  2.  
  3. # The loopback network interface
  4. auto lo
  5. iface lo inet loopback
  6.  
  7. #Set up eth0 to use static IP
  8. iface eth0 inet static
  9. address 64.226.251.105
  10. netmask 255.255.255.0
  11. network 64.226.251.104
  12. broadcast 64.226.251.111
  13. gateway 64.226.251.110
  14.  
  15. However, when I run ifconfig, it shows this:
  16.  
  17. root@debian:/etc/network# ifconfig -a
  18. eth0 Link encap:Ethernet HWaddr 00:11:11:7d:86:5c
  19. inet addr:192.168.0.18 Bcast:192.168.0.255 Mask:255.255.255.0
  20. inet6 addr: fe80::211:11ff:fe7d:865c/64 Scope:Link
  21. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  22. RX packets:62156 errors:0 dropped:0 overruns:0 frame:0
  23. TX packets:38967 errors:0 dropped:0 overruns:0 carrier:0
  24. collisions:0 txqueuelen:1000
  25. RX bytes:64061370 (61.0 MiB) TX bytes:4880863 (4.6 MiB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement