# The loopback network interface auto lo iface lo inet loopback # Standard ethernet interface allow-hotplug eth0 iface eth0 inet dhcp # Wifi interface that uses WPA roam (i.e. checks wpa_supplicant.conf) to # decide which AP to connect to. auto wlan0 iface wlan0 inet manual wpa-driver wext wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf # no id_str, 'default' is used as the fallback mapping target iface default inet dhcp # VLAN-tagged ethernet interface auto eth0.1 iface eth0.1 inet dhcp # Standard bridged interface auto br0 iface br0 inet manual bridge_ports none bridge_fd 0 up ip link set dev $IFACE up up ip address add dev $IFACE brd + 172.16.90.1/24 #up ip route add 172.16.90/24 via 172.16.90.1 #down ip route flush dev $IFACE down ip address flush dev $IFACE down ip link set dev $IFACE down # Bridged and VLAN-tagged interface auto br-vlan2 iface br-vlan2 inet dhcp bridge_ports eth0.2 bridge_stp on bridge_maxwait 0 bridge_fd 0 # Wvdial-managed interface manual ppp0 iface ppp0 inet wvdial provider vodafone