[interfaces]: Change MTU value to 9100 (#967)
* Updated MTU to the widely used value with other devices
This commit is contained in:
parent
458093fee5
commit
72f5d6bcb7
@ -50,7 +50,7 @@ iface eth0 inet dhcp
|
|||||||
{% for (name, prefix) in INTERFACE %}
|
{% for (name, prefix) in INTERFACE %}
|
||||||
allow-hotplug {{ name }}
|
allow-hotplug {{ name }}
|
||||||
iface {{ name }} {{ 'inet' if prefix | ipv4 else 'inet6' }} static
|
iface {{ name }} {{ 'inet' if prefix | ipv4 else 'inet6' }} static
|
||||||
mtu 9216
|
mtu 9100
|
||||||
address {{ prefix | ip }}
|
address {{ prefix | ip }}
|
||||||
netmask {{ prefix | netmask if prefix | ipv4 else prefix | prefixlen }}
|
netmask {{ prefix | netmask if prefix | ipv4 else prefix | prefixlen }}
|
||||||
#
|
#
|
||||||
@ -61,7 +61,7 @@ iface {{ name }} {{ 'inet' if prefix | ipv4 else 'inet6' }} static
|
|||||||
{% for member in VLAN[vlan]['members'] %}
|
{% for member in VLAN[vlan]['members'] %}
|
||||||
allow-hotplug {{ member }}
|
allow-hotplug {{ member }}
|
||||||
iface {{ member }} inet manual
|
iface {{ member }} inet manual
|
||||||
pre-up ifconfig {{ member }} up mtu 9216
|
pre-up ifconfig {{ member }} up mtu 9100
|
||||||
post-up brctl addif {{ vlan }} {{ member }} || true
|
post-up brctl addif {{ vlan }} {{ member }} || true
|
||||||
post-down ifconfig {{ member }} down
|
post-down ifconfig {{ member }} down
|
||||||
#
|
#
|
||||||
@ -102,7 +102,7 @@ iface {{ name }} {{ 'inet' if prefix | ipv4 else 'inet6' }} static
|
|||||||
{% for (name, prefix) in PORTCHANNEL_INTERFACE.keys() | sort %}
|
{% for (name, prefix) in PORTCHANNEL_INTERFACE.keys() | sort %}
|
||||||
allow-hotplug {{ name }}
|
allow-hotplug {{ name }}
|
||||||
iface {{ name }} {{ 'inet' if prefix | ipv4 else 'inet6' }} static
|
iface {{ name }} {{ 'inet' if prefix | ipv4 else 'inet6' }} static
|
||||||
mtu 9216
|
mtu 9100
|
||||||
address {{ prefix | ip }}
|
address {{ prefix | ip }}
|
||||||
netmask {{ prefix | netmask if prefix | ipv4 else prefix | prefixlen }}
|
netmask {{ prefix | netmask if prefix | ipv4 else prefix | prefixlen }}
|
||||||
#
|
#
|
||||||
|
@ -42,145 +42,145 @@ iface eth0 inet6 static
|
|||||||
# "|| true" is added to suppress the error when interface is already a member of VLAN
|
# "|| true" is added to suppress the error when interface is already a member of VLAN
|
||||||
allow-hotplug fortyGigE0/4
|
allow-hotplug fortyGigE0/4
|
||||||
iface fortyGigE0/4 inet manual
|
iface fortyGigE0/4 inet manual
|
||||||
pre-up ifconfig fortyGigE0/4 up mtu 9216
|
pre-up ifconfig fortyGigE0/4 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/4 || true
|
post-up brctl addif Vlan1000 fortyGigE0/4 || true
|
||||||
post-down ifconfig fortyGigE0/4 down
|
post-down ifconfig fortyGigE0/4 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/8
|
allow-hotplug fortyGigE0/8
|
||||||
iface fortyGigE0/8 inet manual
|
iface fortyGigE0/8 inet manual
|
||||||
pre-up ifconfig fortyGigE0/8 up mtu 9216
|
pre-up ifconfig fortyGigE0/8 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/8 || true
|
post-up brctl addif Vlan1000 fortyGigE0/8 || true
|
||||||
post-down ifconfig fortyGigE0/8 down
|
post-down ifconfig fortyGigE0/8 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/12
|
allow-hotplug fortyGigE0/12
|
||||||
iface fortyGigE0/12 inet manual
|
iface fortyGigE0/12 inet manual
|
||||||
pre-up ifconfig fortyGigE0/12 up mtu 9216
|
pre-up ifconfig fortyGigE0/12 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/12 || true
|
post-up brctl addif Vlan1000 fortyGigE0/12 || true
|
||||||
post-down ifconfig fortyGigE0/12 down
|
post-down ifconfig fortyGigE0/12 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/16
|
allow-hotplug fortyGigE0/16
|
||||||
iface fortyGigE0/16 inet manual
|
iface fortyGigE0/16 inet manual
|
||||||
pre-up ifconfig fortyGigE0/16 up mtu 9216
|
pre-up ifconfig fortyGigE0/16 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/16 || true
|
post-up brctl addif Vlan1000 fortyGigE0/16 || true
|
||||||
post-down ifconfig fortyGigE0/16 down
|
post-down ifconfig fortyGigE0/16 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/20
|
allow-hotplug fortyGigE0/20
|
||||||
iface fortyGigE0/20 inet manual
|
iface fortyGigE0/20 inet manual
|
||||||
pre-up ifconfig fortyGigE0/20 up mtu 9216
|
pre-up ifconfig fortyGigE0/20 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/20 || true
|
post-up brctl addif Vlan1000 fortyGigE0/20 || true
|
||||||
post-down ifconfig fortyGigE0/20 down
|
post-down ifconfig fortyGigE0/20 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/24
|
allow-hotplug fortyGigE0/24
|
||||||
iface fortyGigE0/24 inet manual
|
iface fortyGigE0/24 inet manual
|
||||||
pre-up ifconfig fortyGigE0/24 up mtu 9216
|
pre-up ifconfig fortyGigE0/24 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/24 || true
|
post-up brctl addif Vlan1000 fortyGigE0/24 || true
|
||||||
post-down ifconfig fortyGigE0/24 down
|
post-down ifconfig fortyGigE0/24 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/28
|
allow-hotplug fortyGigE0/28
|
||||||
iface fortyGigE0/28 inet manual
|
iface fortyGigE0/28 inet manual
|
||||||
pre-up ifconfig fortyGigE0/28 up mtu 9216
|
pre-up ifconfig fortyGigE0/28 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/28 || true
|
post-up brctl addif Vlan1000 fortyGigE0/28 || true
|
||||||
post-down ifconfig fortyGigE0/28 down
|
post-down ifconfig fortyGigE0/28 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/32
|
allow-hotplug fortyGigE0/32
|
||||||
iface fortyGigE0/32 inet manual
|
iface fortyGigE0/32 inet manual
|
||||||
pre-up ifconfig fortyGigE0/32 up mtu 9216
|
pre-up ifconfig fortyGigE0/32 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/32 || true
|
post-up brctl addif Vlan1000 fortyGigE0/32 || true
|
||||||
post-down ifconfig fortyGigE0/32 down
|
post-down ifconfig fortyGigE0/32 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/36
|
allow-hotplug fortyGigE0/36
|
||||||
iface fortyGigE0/36 inet manual
|
iface fortyGigE0/36 inet manual
|
||||||
pre-up ifconfig fortyGigE0/36 up mtu 9216
|
pre-up ifconfig fortyGigE0/36 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/36 || true
|
post-up brctl addif Vlan1000 fortyGigE0/36 || true
|
||||||
post-down ifconfig fortyGigE0/36 down
|
post-down ifconfig fortyGigE0/36 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/40
|
allow-hotplug fortyGigE0/40
|
||||||
iface fortyGigE0/40 inet manual
|
iface fortyGigE0/40 inet manual
|
||||||
pre-up ifconfig fortyGigE0/40 up mtu 9216
|
pre-up ifconfig fortyGigE0/40 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/40 || true
|
post-up brctl addif Vlan1000 fortyGigE0/40 || true
|
||||||
post-down ifconfig fortyGigE0/40 down
|
post-down ifconfig fortyGigE0/40 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/44
|
allow-hotplug fortyGigE0/44
|
||||||
iface fortyGigE0/44 inet manual
|
iface fortyGigE0/44 inet manual
|
||||||
pre-up ifconfig fortyGigE0/44 up mtu 9216
|
pre-up ifconfig fortyGigE0/44 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/44 || true
|
post-up brctl addif Vlan1000 fortyGigE0/44 || true
|
||||||
post-down ifconfig fortyGigE0/44 down
|
post-down ifconfig fortyGigE0/44 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/48
|
allow-hotplug fortyGigE0/48
|
||||||
iface fortyGigE0/48 inet manual
|
iface fortyGigE0/48 inet manual
|
||||||
pre-up ifconfig fortyGigE0/48 up mtu 9216
|
pre-up ifconfig fortyGigE0/48 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/48 || true
|
post-up brctl addif Vlan1000 fortyGigE0/48 || true
|
||||||
post-down ifconfig fortyGigE0/48 down
|
post-down ifconfig fortyGigE0/48 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/52
|
allow-hotplug fortyGigE0/52
|
||||||
iface fortyGigE0/52 inet manual
|
iface fortyGigE0/52 inet manual
|
||||||
pre-up ifconfig fortyGigE0/52 up mtu 9216
|
pre-up ifconfig fortyGigE0/52 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/52 || true
|
post-up brctl addif Vlan1000 fortyGigE0/52 || true
|
||||||
post-down ifconfig fortyGigE0/52 down
|
post-down ifconfig fortyGigE0/52 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/56
|
allow-hotplug fortyGigE0/56
|
||||||
iface fortyGigE0/56 inet manual
|
iface fortyGigE0/56 inet manual
|
||||||
pre-up ifconfig fortyGigE0/56 up mtu 9216
|
pre-up ifconfig fortyGigE0/56 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/56 || true
|
post-up brctl addif Vlan1000 fortyGigE0/56 || true
|
||||||
post-down ifconfig fortyGigE0/56 down
|
post-down ifconfig fortyGigE0/56 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/60
|
allow-hotplug fortyGigE0/60
|
||||||
iface fortyGigE0/60 inet manual
|
iface fortyGigE0/60 inet manual
|
||||||
pre-up ifconfig fortyGigE0/60 up mtu 9216
|
pre-up ifconfig fortyGigE0/60 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/60 || true
|
post-up brctl addif Vlan1000 fortyGigE0/60 || true
|
||||||
post-down ifconfig fortyGigE0/60 down
|
post-down ifconfig fortyGigE0/60 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/64
|
allow-hotplug fortyGigE0/64
|
||||||
iface fortyGigE0/64 inet manual
|
iface fortyGigE0/64 inet manual
|
||||||
pre-up ifconfig fortyGigE0/64 up mtu 9216
|
pre-up ifconfig fortyGigE0/64 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/64 || true
|
post-up brctl addif Vlan1000 fortyGigE0/64 || true
|
||||||
post-down ifconfig fortyGigE0/64 down
|
post-down ifconfig fortyGigE0/64 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/68
|
allow-hotplug fortyGigE0/68
|
||||||
iface fortyGigE0/68 inet manual
|
iface fortyGigE0/68 inet manual
|
||||||
pre-up ifconfig fortyGigE0/68 up mtu 9216
|
pre-up ifconfig fortyGigE0/68 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/68 || true
|
post-up brctl addif Vlan1000 fortyGigE0/68 || true
|
||||||
post-down ifconfig fortyGigE0/68 down
|
post-down ifconfig fortyGigE0/68 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/72
|
allow-hotplug fortyGigE0/72
|
||||||
iface fortyGigE0/72 inet manual
|
iface fortyGigE0/72 inet manual
|
||||||
pre-up ifconfig fortyGigE0/72 up mtu 9216
|
pre-up ifconfig fortyGigE0/72 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/72 || true
|
post-up brctl addif Vlan1000 fortyGigE0/72 || true
|
||||||
post-down ifconfig fortyGigE0/72 down
|
post-down ifconfig fortyGigE0/72 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/76
|
allow-hotplug fortyGigE0/76
|
||||||
iface fortyGigE0/76 inet manual
|
iface fortyGigE0/76 inet manual
|
||||||
pre-up ifconfig fortyGigE0/76 up mtu 9216
|
pre-up ifconfig fortyGigE0/76 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/76 || true
|
post-up brctl addif Vlan1000 fortyGigE0/76 || true
|
||||||
post-down ifconfig fortyGigE0/76 down
|
post-down ifconfig fortyGigE0/76 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/80
|
allow-hotplug fortyGigE0/80
|
||||||
iface fortyGigE0/80 inet manual
|
iface fortyGigE0/80 inet manual
|
||||||
pre-up ifconfig fortyGigE0/80 up mtu 9216
|
pre-up ifconfig fortyGigE0/80 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/80 || true
|
post-up brctl addif Vlan1000 fortyGigE0/80 || true
|
||||||
post-down ifconfig fortyGigE0/80 down
|
post-down ifconfig fortyGigE0/80 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/84
|
allow-hotplug fortyGigE0/84
|
||||||
iface fortyGigE0/84 inet manual
|
iface fortyGigE0/84 inet manual
|
||||||
pre-up ifconfig fortyGigE0/84 up mtu 9216
|
pre-up ifconfig fortyGigE0/84 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/84 || true
|
post-up brctl addif Vlan1000 fortyGigE0/84 || true
|
||||||
post-down ifconfig fortyGigE0/84 down
|
post-down ifconfig fortyGigE0/84 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/88
|
allow-hotplug fortyGigE0/88
|
||||||
iface fortyGigE0/88 inet manual
|
iface fortyGigE0/88 inet manual
|
||||||
pre-up ifconfig fortyGigE0/88 up mtu 9216
|
pre-up ifconfig fortyGigE0/88 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/88 || true
|
post-up brctl addif Vlan1000 fortyGigE0/88 || true
|
||||||
post-down ifconfig fortyGigE0/88 down
|
post-down ifconfig fortyGigE0/88 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/92
|
allow-hotplug fortyGigE0/92
|
||||||
iface fortyGigE0/92 inet manual
|
iface fortyGigE0/92 inet manual
|
||||||
pre-up ifconfig fortyGigE0/92 up mtu 9216
|
pre-up ifconfig fortyGigE0/92 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/92 || true
|
post-up brctl addif Vlan1000 fortyGigE0/92 || true
|
||||||
post-down ifconfig fortyGigE0/92 down
|
post-down ifconfig fortyGigE0/92 down
|
||||||
#
|
#
|
||||||
allow-hotplug fortyGigE0/96
|
allow-hotplug fortyGigE0/96
|
||||||
iface fortyGigE0/96 inet manual
|
iface fortyGigE0/96 inet manual
|
||||||
pre-up ifconfig fortyGigE0/96 up mtu 9216
|
pre-up ifconfig fortyGigE0/96 up mtu 9100
|
||||||
post-up brctl addif Vlan1000 fortyGigE0/96 || true
|
post-up brctl addif Vlan1000 fortyGigE0/96 || true
|
||||||
post-down ifconfig fortyGigE0/96 down
|
post-down ifconfig fortyGigE0/96 down
|
||||||
#
|
#
|
||||||
@ -220,49 +220,49 @@ iface Vlan1000 inet static
|
|||||||
# Portchannel interfaces
|
# Portchannel interfaces
|
||||||
allow-hotplug PortChannel01
|
allow-hotplug PortChannel01
|
||||||
iface PortChannel01 inet static
|
iface PortChannel01 inet static
|
||||||
mtu 9216
|
mtu 9100
|
||||||
address 10.0.0.56
|
address 10.0.0.56
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
#
|
#
|
||||||
allow-hotplug PortChannel01
|
allow-hotplug PortChannel01
|
||||||
iface PortChannel01 inet6 static
|
iface PortChannel01 inet6 static
|
||||||
mtu 9216
|
mtu 9100
|
||||||
address fc00::71
|
address fc00::71
|
||||||
netmask 126
|
netmask 126
|
||||||
#
|
#
|
||||||
allow-hotplug PortChannel02
|
allow-hotplug PortChannel02
|
||||||
iface PortChannel02 inet static
|
iface PortChannel02 inet static
|
||||||
mtu 9216
|
mtu 9100
|
||||||
address 10.0.0.58
|
address 10.0.0.58
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
#
|
#
|
||||||
allow-hotplug PortChannel02
|
allow-hotplug PortChannel02
|
||||||
iface PortChannel02 inet6 static
|
iface PortChannel02 inet6 static
|
||||||
mtu 9216
|
mtu 9100
|
||||||
address fc00::75
|
address fc00::75
|
||||||
netmask 126
|
netmask 126
|
||||||
#
|
#
|
||||||
allow-hotplug PortChannel03
|
allow-hotplug PortChannel03
|
||||||
iface PortChannel03 inet static
|
iface PortChannel03 inet static
|
||||||
mtu 9216
|
mtu 9100
|
||||||
address 10.0.0.60
|
address 10.0.0.60
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
#
|
#
|
||||||
allow-hotplug PortChannel03
|
allow-hotplug PortChannel03
|
||||||
iface PortChannel03 inet6 static
|
iface PortChannel03 inet6 static
|
||||||
mtu 9216
|
mtu 9100
|
||||||
address fc00::79
|
address fc00::79
|
||||||
netmask 126
|
netmask 126
|
||||||
#
|
#
|
||||||
allow-hotplug PortChannel04
|
allow-hotplug PortChannel04
|
||||||
iface PortChannel04 inet static
|
iface PortChannel04 inet static
|
||||||
mtu 9216
|
mtu 9100
|
||||||
address 10.0.0.62
|
address 10.0.0.62
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
#
|
#
|
||||||
allow-hotplug PortChannel04
|
allow-hotplug PortChannel04
|
||||||
iface PortChannel04 inet6 static
|
iface PortChannel04 inet6 static
|
||||||
mtu 9216
|
mtu 9100
|
||||||
address fc00::7d
|
address fc00::7d
|
||||||
netmask 126
|
netmask 126
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user