Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # The loopback network interface
- auto lo
- iface lo inet loopback
- # ------- PHYSICAL INTERFACES -------
- # eth6 is a slave to bond1
- auto eth6
- iface eth6 inet manual
- bond-master bond1
- up ethtool -K eth6 lro off
- # eth7 is a slave to bond0
- auto eth7
- iface eth7 inet manual
- bond-master bond0
- #up ethtool -K eth7 lro off
- # eth8 is slave to bond0
- auto eth8
- iface eth8 inet manual
- bond-master bond0
- #up ethtool -K eth8 lro off
- # eth9 is slave to bond1
- auto eth9
- iface eth9 inet manual
- bond-master bond1
- up ethtool -K eth9 lro off
- # ------- BONDED INTERFACES -------
- #bond0 is the DRBD replication link
- auto bond0
- iface bond0 inet static
- address 10.0.0.1
- netmask 255.255.255.252
- bond-mode balance-rr
- bond-miimon 100
- bond-slaves none
- #up ethtool -K bond0 lro off
- #bond1 is bridged to br0
- auto bond1
- iface bond1 inet manual
- bond-mode active-backup
- bond-miimon 100
- bond-slaves none
- up ethtool -K bond1 lro off
- #VLAN: office_vlan ID: 20
- auto bond1.20
- iface bond1.20 inet manual
- vlan-raw-device bond1
- #VLAN: security_vlan ID: 30
- auto bond1.30
- iface bond1.30 inet manual
- vlan-raw-device bond1
- #VLAN: voice_vlan ID: 40
- auto bond1.40
- iface bond1.40 inet manual
- vlan-raw-device bond1
- #VLAN: production_vlan ID: 50
- auto bond1.50
- iface bond1.50 inet manual
- vlan-raw-device bond1
- #VLAN: management_vlan ID: 100
- auto bond1.100
- iface bond1.100 inet manual
- vlan-raw-device bond1
- # ------- BRIDGED INTERFACES -------
- #br0 is the primary interface; we use a bridged interface to allow the VMs to access the network
- auto br0
- iface br0 inet static
- address 192.168.72.36
- netmask 255.255.255.0
- gateway 192.168.72.1
- dns-nameservers 192.168.72.40 192.168.72.42
- dns-search adamsonsystems.ca
- bridge_ports bond1
- #br20 - office bridged vlan interface
- auto br20
- iface br20 inet static
- address 10.1.20.5
- netmask 255.255.255.0
- gateway 10.1.20.1
- dns-nameservers 192.168.72.40 192.168.72.42
- bridge_ports bond1.20
- #br30 - security vlan bridged interface
- auto br30
- iface br30 inet static
- address 10.1.30.5
- netmask 255.255.255.0
- gateway 10.1.30.1
- dns-nameservers 192.168.72.40 192.168.72.42
- bridge_ports bond1.30
- #br40 - voice vlan bridged interface
- auto br40
- iface br40 inet static
- address 10.1.40.5
- netmask 255.255.255.0
- gateway 10.1.40.1
- dns-nameservers 192.168.72.40 192.168.72.42
- bridge_ports bond1.40
- #br50 - production vlan bridged interface
- auto br50
- iface br50 inet static
- address 10.1.50.5
- netmask 255.255.255.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement