daily pastebin goal
63%
SHARE
TWEET

Untitled

Eagleman Jul 1st, 2012 22 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This file describes the network interfaces available on your system
  2. # and how to activate them. For more information, see interfaces(5).
  3.  
  4. # The loopback network interface
  5. auto lo
  6. iface lo inet loopback
  7.  
  8. # The LAN network interface
  9. auto eth0
  10. #iface eth0 inet dhcp
  11. iface eth0 inet static
  12.         address 192.168.1.10
  13.         netmask 255.255.255.0
  14.         network 192.168.1.0
  15.         broadcast 192.168.1.255
  16.         gateway 192.168.1.1
  17.         dns-nameservers 192.168.1.10 8.8.8.8
  18.  
  19.  
  20. # The WAN network interface
  21. auto eth1
  22. #iface eth1 inet dhcp
  23. iface eth1 inet static
  24.         address 192.168.1.9
  25.         netmask 255.255.255.0
  26.         network 192.168.1.0
  27.         broadcast 192.168.1.255
  28.         gateway 192.168.1.1
  29.         dns-nameservers 192.168.1.10 8.8.8.8
  30.  
  31. # The WAN VLAN network interface
  32. auto eth1.10
  33. iface eth1.10 inet dhcp
  34.     vlan-raw-device eth1
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top