# # =============== Managed by SONiC Config Engine DO NOT EDIT! =============== # generated from /usr/share/sonic/templates/interfaces.j2 using sonic-cfggen # file: /etc/network/interfaces # # The loopback network interface auto lo iface lo inet loopback # Use command 'ip addr list dev lo' to check all addresses iface lo inet static address 10.1.0.32 netmask 255.255.255.255 # iface lo inet6 static address fc00:1::32 netmask 128 # # The management network interface auto eth0 iface eth0 inet static address 10.0.0.100 netmask 255.255.255.0 ########## management network policy routing rules # management port up rules up ip route add default via 10.0.0.1 dev eth0 table default up ip rule add from 10.0.0.100/32 table default # management port down rules down ip route delete default via 10.0.0.1 dev eth0 table default down ip rule delete from 10.0.0.100/32 table default # # The switch front panel interfaces auto Ethernet4 allow-hotplug Ethernet4 iface Ethernet4 inet manual pre-up ifconfig Ethernet4 up post-up brctl addif Vlan1000 Ethernet4 post-down ifconfig Ethernet4 down # auto Ethernet8 allow-hotplug Ethernet8 iface Ethernet8 inet manual pre-up ifconfig Ethernet8 up post-up brctl addif Vlan1000 Ethernet8 post-down ifconfig Ethernet8 down # auto Ethernet12 allow-hotplug Ethernet12 iface Ethernet12 inet manual pre-up ifconfig Ethernet12 up post-up brctl addif Vlan1000 Ethernet12 post-down ifconfig Ethernet12 down # auto Ethernet16 allow-hotplug Ethernet16 iface Ethernet16 inet manual pre-up ifconfig Ethernet16 up post-up brctl addif Vlan1000 Ethernet16 post-down ifconfig Ethernet16 down # auto Ethernet20 allow-hotplug Ethernet20 iface Ethernet20 inet manual pre-up ifconfig Ethernet20 up post-up brctl addif Vlan1000 Ethernet20 post-down ifconfig Ethernet20 down # auto Ethernet24 allow-hotplug Ethernet24 iface Ethernet24 inet manual pre-up ifconfig Ethernet24 up post-up brctl addif Vlan1000 Ethernet24 post-down ifconfig Ethernet24 down # auto Ethernet28 allow-hotplug Ethernet28 iface Ethernet28 inet manual pre-up ifconfig Ethernet28 up post-up brctl addif Vlan1000 Ethernet28 post-down ifconfig Ethernet28 down # auto Ethernet32 allow-hotplug Ethernet32 iface Ethernet32 inet manual pre-up ifconfig Ethernet32 up post-up brctl addif Vlan1000 Ethernet32 post-down ifconfig Ethernet32 down # auto Ethernet36 allow-hotplug Ethernet36 iface Ethernet36 inet manual pre-up ifconfig Ethernet36 up post-up brctl addif Vlan1000 Ethernet36 post-down ifconfig Ethernet36 down # auto Ethernet40 allow-hotplug Ethernet40 iface Ethernet40 inet manual pre-up ifconfig Ethernet40 up post-up brctl addif Vlan1000 Ethernet40 post-down ifconfig Ethernet40 down # auto Ethernet44 allow-hotplug Ethernet44 iface Ethernet44 inet manual pre-up ifconfig Ethernet44 up post-up brctl addif Vlan1000 Ethernet44 post-down ifconfig Ethernet44 down # auto Ethernet48 allow-hotplug Ethernet48 iface Ethernet48 inet manual pre-up ifconfig Ethernet48 up post-up brctl addif Vlan1000 Ethernet48 post-down ifconfig Ethernet48 down # auto Ethernet52 allow-hotplug Ethernet52 iface Ethernet52 inet manual pre-up ifconfig Ethernet52 up post-up brctl addif Vlan1000 Ethernet52 post-down ifconfig Ethernet52 down # auto Ethernet56 allow-hotplug Ethernet56 iface Ethernet56 inet manual pre-up ifconfig Ethernet56 up post-up brctl addif Vlan1000 Ethernet56 post-down ifconfig Ethernet56 down # auto Ethernet60 allow-hotplug Ethernet60 iface Ethernet60 inet manual pre-up ifconfig Ethernet60 up post-up brctl addif Vlan1000 Ethernet60 post-down ifconfig Ethernet60 down # auto Ethernet64 allow-hotplug Ethernet64 iface Ethernet64 inet manual pre-up ifconfig Ethernet64 up post-up brctl addif Vlan1000 Ethernet64 post-down ifconfig Ethernet64 down # auto Ethernet68 allow-hotplug Ethernet68 iface Ethernet68 inet manual pre-up ifconfig Ethernet68 up post-up brctl addif Vlan1000 Ethernet68 post-down ifconfig Ethernet68 down # auto Ethernet72 allow-hotplug Ethernet72 iface Ethernet72 inet manual pre-up ifconfig Ethernet72 up post-up brctl addif Vlan1000 Ethernet72 post-down ifconfig Ethernet72 down # auto Ethernet76 allow-hotplug Ethernet76 iface Ethernet76 inet manual pre-up ifconfig Ethernet76 up post-up brctl addif Vlan1000 Ethernet76 post-down ifconfig Ethernet76 down # auto Ethernet80 allow-hotplug Ethernet80 iface Ethernet80 inet manual pre-up ifconfig Ethernet80 up post-up brctl addif Vlan1000 Ethernet80 post-down ifconfig Ethernet80 down # auto Ethernet84 allow-hotplug Ethernet84 iface Ethernet84 inet manual pre-up ifconfig Ethernet84 up post-up brctl addif Vlan1000 Ethernet84 post-down ifconfig Ethernet84 down # auto Ethernet88 allow-hotplug Ethernet88 iface Ethernet88 inet manual pre-up ifconfig Ethernet88 up post-up brctl addif Vlan1000 Ethernet88 post-down ifconfig Ethernet88 down # auto Ethernet92 allow-hotplug Ethernet92 iface Ethernet92 inet manual pre-up ifconfig Ethernet92 up post-up brctl addif Vlan1000 Ethernet92 post-down ifconfig Ethernet92 down # auto Ethernet96 allow-hotplug Ethernet96 iface Ethernet96 inet manual pre-up ifconfig Ethernet96 up post-up brctl addif Vlan1000 Ethernet96 post-down ifconfig Ethernet96 down # # "|| true" is added to suppress the error when docker-teamd starts after docker-swss auto Ethernet112 allow-hotplug Ethernet112 iface Ethernet112 inet manual pre-up teamdctl PortChannel01 port add Ethernet112 || true post-down ifconfig Ethernet112 down # auto Ethernet116 allow-hotplug Ethernet116 iface Ethernet116 inet manual pre-up teamdctl PortChannel02 port add Ethernet116 || true post-down ifconfig Ethernet116 down # auto Ethernet120 allow-hotplug Ethernet120 iface Ethernet120 inet manual pre-up teamdctl PortChannel03 port add Ethernet120 || true post-down ifconfig Ethernet120 down # auto Ethernet124 allow-hotplug Ethernet124 iface Ethernet124 inet manual pre-up teamdctl PortChannel04 port add Ethernet124 || true post-down ifconfig Ethernet124 down # # Vlan interfaces auto Vlan1000 iface Vlan1000 inet static bridge_ports none address 192.168.0.1 netmask 255.255.255.224 # # Portchannel interfaces auto PortChannel01 allow-hotplug PortChannel01 iface PortChannel01 inet static address 10.0.0.56 netmask 255.255.255.254 # auto PortChannel01 allow-hotplug PortChannel01 iface PortChannel01 inet6 static address fc00::71 netmask 126 # auto PortChannel02 allow-hotplug PortChannel02 iface PortChannel02 inet static address 10.0.0.58 netmask 255.255.255.254 # auto PortChannel02 allow-hotplug PortChannel02 iface PortChannel02 inet6 static address fc00::75 netmask 126 # auto PortChannel03 allow-hotplug PortChannel03 iface PortChannel03 inet static address 10.0.0.60 netmask 255.255.255.254 # auto PortChannel03 allow-hotplug PortChannel03 iface PortChannel03 inet6 static address fc00::79 netmask 126 # auto PortChannel04 allow-hotplug PortChannel04 iface PortChannel04 inet static address 10.0.0.62 netmask 255.255.255.254 # auto PortChannel04 allow-hotplug PortChannel04 iface PortChannel04 inet6 static address fc00::7d netmask 126 #