Jump to content

Docker network MTU different than eth0?


tmchow

Recommended Posts

I was experimenting with trying to get jumbo frames to work on my network but realized it wasn't going to help me much since my main desktop PC that I connect to my Unraid server with is communicating over 802.11ac wifi.

 

So I reverted the MTU changes.

 

One thing I noticed today was that the network interfaces for the docker containers (at least that's what I think they are) show an MTU of 9014, but eth0 is back at 1500.  Not sure if this is because docker was enabled when I had the MTU changed to 9014

 

I'm assuming that they should all match.  Is it just a matter of restarting the docker daemon or something else?

 

here is output from ifconfig. Notice eth0 is MTU=1500, and most everything else is MTU=9014.

 

root@Tower:/boot/config# ifconfig
as0t0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.224.1  netmask 255.255.255.0  destination 172.27.224.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

as0t1: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.225.1  netmask 255.255.255.0  destination 172.27.225.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

as0t2: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.226.1  netmask 255.255.255.0  destination 172.27.226.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

as0t3: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.227.1  netmask 255.255.255.0  destination 172.27.227.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

as0t4: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.228.1  netmask 255.255.255.0  destination 172.27.228.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

as0t5: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.229.1  netmask 255.255.255.0  destination 172.27.229.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

as0t6: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.230.1  netmask 255.255.255.0  destination 172.27.230.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

as0t7: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.231.1  netmask 255.255.255.0  destination 172.27.231.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

as0t8: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.232.1  netmask 255.255.255.0  destination 172.27.232.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

as0t9: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.233.1  netmask 255.255.255.0  destination 172.27.233.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

as0t10: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.234.1  netmask 255.255.255.0  destination 172.27.234.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

as0t11: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.235.1  netmask 255.255.255.0  destination 172.27.235.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

as0t12: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.236.1  netmask 255.255.255.0  destination 172.27.236.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

as0t13: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.237.1  netmask 255.255.255.0  destination 172.27.237.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

as0t14: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.238.1  netmask 255.255.255.0  destination 172.27.238.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

as0t15: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 172.27.239.1  netmask 255.255.255.0  destination 172.27.239.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 200  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9014
        inet 172.17.42.1  netmask 255.255.0.0  broadcast 0.0.0.0
        ether 06:8b:76:b7:f5:0d  txqueuelen 0  (Ethernet)
        RX packets 32463330  bytes 4724517316 (4.4 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 42074423  bytes 150142060462 (139.8 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.161  netmask 255.255.255.0  broadcast 192.168.1.255
        ether d0:50:99:6f:f8:dc  txqueuelen 1000  (Ethernet)
        RX packets 3737745349  bytes 5543995151653 (5.0 TiB)
        RX errors 0  dropped 47225  overruns 1  frame 0
        TX packets 457213270  bytes 89063610077 (82.9 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xf7400000-f747ffff

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 0  (Local Loopback)
        RX packets 3029127  bytes 1572045339 (1.4 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3029127  bytes 1572045339 (1.4 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

veth3cc4ce6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9014
        ether c6:9b:37:c4:da:b5  txqueuelen 0  (Ethernet)
        RX packets 22111  bytes 13578262 (12.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 312458  bytes 49262154 (46.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

veth4570d1e: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9014
        ether 06:8b:76:b7:f5:0d  txqueuelen 0  (Ethernet)
        RX packets 3843  bytes 264600 (258.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 190471  bytes 47993673 (45.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

veth4ee1280: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9014
        ether e6:11:7b:bf:1f:12  txqueuelen 0  (Ethernet)
        RX packets 12633206  bytes 3284798965 (3.0 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 17592166  bytes 40794143395 (37.9 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vethd0c48d5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9014
        ether ba:6e:7b:b5:70:e6  txqueuelen 0  (Ethernet)
        RX packets 390846  bytes 153011784 (145.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 674410  bytes 302327780 (288.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vethdf28aad: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9014
        ether 7a:cf:b8:35:d9:bc  txqueuelen 0  (Ethernet)
        RX packets 19346524  bytes 1682816930 (1.5 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 24152100  bytes 108135357168 (100.7 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vetheff27f9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9014
        ether 9e:f7:e6:5c:0f:fd  txqueuelen 0  (Ethernet)
        RX packets 2519  bytes 560959 (547.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 167224  bytes 36699419 (34.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...