daily pastebin goal
64%
SHARE
TWEET

Untitled

a guest Jul 31st, 2012 18 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 static
  11.         address 192.168.1.10
  12.         netmask 255.255.255.0
  13.         network 192.168.1.0
  14.         broadcast 192.168.1.255
  15.         gateway 192.168.1.1
  16.  
  17. # The WAN network interface
  18. auto eth1
  19. iface eth1 inet static
  20.         address 192.168.1.9
  21.         netmask 255.255.255.0
  22.         network 192.168.1.0
  23.         broadcast 192.168.1.255
  24.         gateway 192.168.1.1
  25.  
  26. # The WAN VLAN network interface
  27. auto eth1.10
  28. iface eth1.10 inet dhcp
  29.     vlan-raw-device eth1
  30.  
  31.  
  32. #static route
  33. up route del default
  34. up route add default gw 84.107.202.1 dev eth1.10
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top