daily pastebin goal
15%
SHARE
TWEET

Untitled

a guest Feb 17th, 2016 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # interfaces(5) file used by ifup(8) and ifdown(8)
  2. auto lo
  3. iface lo inet loopback
  4.  
  5. # WAN network interface
  6. auto enp2s0
  7. iface enp2s0 inet dhcp
  8.         post-up iptables-restore < /etc/iptables.up.rules
  9.  
  10. # LAN network interface
  11. auto enp3s0
  12. iface enp3s0 inet static
  13.         address 10.1.10.1
  14.         netmask 255.255.255.0
  15.         broadcast 10.1.10.255
  16.         network 10.1.10.0
  17.         dns-nameservers 10.1.10.1 8.8.8.8 8.8.4.4
  18.         dns-domain 10.1.10.1 magi.andsat.org
  19.  
  20. # WIFI network interface
  21. auto wlp1s0
  22. iface wlp1s0 inet manual
  23. wireless-mode master
  24. wireless-essid magi
  25.  
  26. ### THIS is what I'm not sure about -- would this break the LAN interface above? do both need to exist? or would creating br0 give me a new, single interface to configure? ###
  27.  
  28. # Bridge interface
  29. #auto br0
  30. #iface br0 inet static
  31. #       address 10.1.10.1
  32. #       netmask 255.255.255.0
  33. #       broadcast 10.1.10.255
  34. #       network 10.1.10.0
  35. #       bridge-ports enp3s0 wlp1s0
RAW Paste Data
Top