# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface auto lo iface lo inet loopback # eth0 is attached to the IDU-internal managed switch # in the future we will use VLANs to use individual switch ports as # break-out interfaces. For now we simply do DHCP. iface eth0 inet dhcp #eth1 is our admin interface and will provide dhcp to clients auto eth1 iface eth1 inet static address 172.16.6.1 netmask 255.255.255.0 network 172.16.6.0 # eth2 is attached to the IDU-internal SOB-JB02-SW auto eth2 iface eth2 inet manual pre-up ifconfig $IFACE up pre-down ifconfig $IFACE down # * br0 is a bridge interface on top of eth2 # * we use the bridging code so we can run mstpd and become the root bridge auto br0 iface br0 inet static bridge_ports eth2 bridge_maxwait 0 address 172.16.4.1 netmask 255.255.254.0 network 172.16.4.0 # VLAN 6: management VLAN auto br0.6 iface br0.6 inet static address 172.16.2.1 netmask 255.255.254.0 network 172.16.2.0 # 172.16.1.1 is the service IP address for SOBMGMT auto br0.6:0 iface br0.6:0 inet static address 172.16.1.1 netmask 255.255.255.255