Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

MTU is not displayed correctly #2183

Closed
niusmallnan opened this issue Dec 19, 2017 · 1 comment
Closed

MTU is not displayed correctly #2183

niusmallnan opened this issue Dec 19, 2017 · 1 comment

Comments

@niusmallnan
Copy link
Contributor

niusmallnan commented Dec 19, 2017

RancherOS Version: v1.1.1

Where are you running RancherOS? GCE/AWS

Boot a new VM on GCE, and check the interfaces info:

rancher@ros-test-4 ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 42:01:0a:f0:00:08 brd ff:ff:ff:ff:ff:ff
    inet 10.240.0.8/32 brd 10.240.0.8 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::4001:aff:fef0:8/64 scope link
       valid_lft forever preferred_lft forever

For eth0, Its MTU is determined by DHCP(should be 1460), check the ip route:

default via 10.240.0.1 dev eth0 src 10.240.0.3 metric 202  mtu 1460
10.240.0.1 dev eth0 proto kernel scope link src 10.240.0.3 metric 202  mtu 1460
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
172.18.0.0/16 dev docker-sys proto kernel scope link src 172.18.42.2 linkdown

MTU is not displayed correctly.

link #2027

@niusmallnan niusmallnan self-assigned this Dec 19, 2017
@niusmallnan niusmallnan changed the title MTU is not displayed correctly on GCE MTU is not displayed correctly Dec 20, 2017
@niusmallnan niusmallnan added this to the v1.1.3 milestone Dec 21, 2017
@kingsd041
Copy link
Contributor

Tested with rancheros v1.2.0-rc2 in AWS/GCE,
For eth0, MTU is 1460

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants