SHARE
TWEET

Untitled

a guest Jul 19th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. allow-auto lo
  2.         iface lo inet loopback
  3.  
  4. auto wlan0
  5.         iface wlan0 inet static
  6.                 address 192.168.150.1
  7.                 netmask 255.255.255.0
  8.  
  9. auto eth1
  10.         iface eth1 inet manual
  11.                 up ifconfig $IFACE 0.0.0.0 up
  12.                 down ifconfig $IFACE down
  13.  
  14. auto eth2
  15.         iface eth2 inet manual
  16.                 up ifconfig $IFACE 0.0.0.0 up
  17.                 down ifconfig $IFACE down
  18.  
  19. auto eth0
  20.         iface eth0 inet dhcp
  21.                 post-up brctl addbr br0
  22.                 post-up brctl addif br0 eth1 eth2
  23.                 post-up ifconfig br0 192.168.10.1
  24.                 pre-down ifconfig br0 0.0.0.0
  25.                 pre-down brctl delif br0 eth1 eth2
  26.                 pre-down ifconfig br0 down
  27.                 pre-down brctl delbr br0
  28.      
  29. allow-hotplug lo
  30.         iface lo inet loopback
  31.  
  32. allow-hotplug wlan0
  33.         iface wlan0 inet static
  34.                 address 192.168.150.1
  35.                 netmask 255.255.255.0
  36.  
  37. allow-hotplug eth1
  38.         iface eth1 inet manual
  39.                 up ifconfig $IFACE 0.0.0.0 up
  40.                 down ifconfig $IFACE down
  41.  
  42. allow-hotplug eth2
  43.         iface eth2 inet manual
  44.                 up ifconfig $IFACE 0.0.0.0 up
  45.                 down ifconfig $IFACE down
  46.  
  47. allow-hotplug eth0
  48.         iface eth0 inet dhcp
  49.                 post-up brctl addbr br0
  50.                 post-up brctl addif br0 eth1 eth2
  51.                 post-up ifconfig br0 192.168.10.1
  52.                 pre-down ifconfig br0 0.0.0.0
  53.                 pre-down brctl delif br0 eth1 eth2
  54.                 pre-down ifconfig br0 down
  55.                 pre-down brctl delbr br0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top