Advertisement
Guest User

Untitled

a guest
Oct 19th, 2015
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. ### /etc/network/interfaces
  2.  
  3. auto lo
  4. iface lo inet loopback
  5.  
  6. # The primary network interface
  7. allow-hotplug eth0
  8. iface eth0 inet dhcp
  9.  
  10. auto eth0
  11.  
  12. iface eth0 inet static
  13. address 192.168.186.151/17
  14.  
  15. # ip -4 a
  16. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
  17. inet 127.0.0.1/8 scope host lo
  18. valid_lft forever preferred_lft forever
  19. 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
  20. inet 45.33.4.25/24 brd 45.33.4.255 scope global eth0
  21. valid_lft forever preferred_lft forever
  22.  
  23. # ip -4 r
  24.  
  25. default via 45.33.4.1 dev eth0
  26. 45.33.4.0/24 dev eth0 proto kernel scope link src 45.33.4.25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement