File: //etc/network/interfaces.physical
## dh2 generated for sled20038 : 2025-10-15 14:26:56
# location pdx1
# gateway address space is 'orange'
# 10.225.28.161 (10.225.16.0/20 pdx1-a1u27-cust_mgmt/orange)
# assigned : sled20038 : machine :
iface bond0 inet static
address 10.225.28.161
netmask 255.255.240.0
broadcast 10.225.31.255
up ip route replace default via 10.225.16.1
down ip route del default
slaves phy0 phy1
pre-up ip link set phy0 up ; ip link set phy1 up ; sleep 2 ; true
bond_mode 802.3ad
bond_lacp_rate fast
bond_xmit_hash_policy layer2+3
bond_miimon 100
bond_updelay 300
bond_downdelay 200
up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.225.16.1 dev bond0 || true
down route delete -net 10.0.0.0 netmask 255.0.0.0 gw 10.225.16.1 dev bond0 || true
up route add -net 172.18.0.0 netmask 255.254.0.0 gw 10.225.16.1 dev bond0 || true
down route delete -net 172.18.0.0 netmask 255.254.0.0 gw 10.225.16.1 dev bond0 || true
up route add -net 192.168.0.0 netmask 255.255.0.0 gw 10.225.16.1 dev bond0 || true
down route delete -net 192.168.0.0 netmask 255.255.0.0 gw 10.225.16.1 dev bond0 || true
# loopback
iface lo inet loopback
allow-bond0 phy0
iface phy0 inet manual
bond-master bond0
allow-bond0 phy1
iface phy1 inet manual
bond-master bond0
# auto interfaces (all of them!)
auto phy0 phy1 bond0 lo