Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file describes the network interfaces available on your system
- # and how to activate them. For more information, see interfaces(5).
- # The loopback network interface
- auto lo
- iface lo inet loopback
- # The primary network interface
- auto eth0
- iface eth0 inet static
- address 192.168.1.2
- netmask 255.255.255.0
- gateway 192.168.1.1
- dns-nameservers 208.67.222.222 208.67.220.220
- auto eth1
- iface eth1 inet manual
- #Net Ovh
- auto vlan300
- iface vlan300 inet dhcp
- vlan-raw-device eth1
- ############### Reseau Local ########################
- #Reseau Filiaire
- auto vlan200
- iface vlan200 inet manual
- vlan-raw-device eth1
- #Reseau Wifi
- auto wlan0
- iface wlan0 inet manual
- #Reseau local global
- auto lan
- iface lan inet static
- address 192.168.0.1
- netmask 255.255.255.0
- network 192.168.0.0
- broadcast 192.168.0.255
- pre-up iptables-restore < /etc/network/customIpTables
- post-up upnpd eth0 lan
- post-down iptables-save > /etc/network/customIpTables
- pre-down killall upnpd
- bridge-ports vlan200 wlan0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement