Advertisement
Ankirama

dhcp_configure

May 26th, 2015
681
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.44 KB | None | 0 0
  1. 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. auto eth0
  11. allow-hotplug eth0
  12. iface eth0 inet dhcp
  13.  
  14. auto eth1
  15. iface eth1 inet static
  16.       address 10.10.100.42
  17.       netmask 255.255.255.0
  18.       gateway 10.10.100.254
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement