EC2 MTU: Difference between revisions
Jump to navigation
Jump to search
(Created page with "意識していなかったが最近の VPC は JUMBO FRAME (MTU 9001) で、もちろん DHCP で降ってくる MTU も 9001 変更するには Ubuntu 16.04 では /etc/d...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 30: | Line 30: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
てな感じになる。 | てな感じになる。 | ||
=VPC IPv6= | |||
https://forums.aws.amazon.com/thread.jspa?messageID=772808&tstart=0 | |||
https://github.com/systemd/systemd/issues/5845 | |||
https://forums.aws.amazon.com/message.jspa?messageID=861018 | |||
なんか怪しい... |
Latest revision as of 15:16, 12 June 2019
意識していなかったが最近の VPC は JUMBO FRAME (MTU 9001) で、もちろん DHCP で降ってくる MTU も 9001
変更するには
Ubuntu 16.04 では /etc/dhcp/dhclient.conf に追加
supersede interface-mtu 1500;
Ubuntu 18.04 では (netplan とかいう★★な仕組みがはいってしまっているので) /etc/netplan/hoge.yaml
network:
version: 2
ethernets:
eth0:
dhcp4: yes
dhcp6: yes
dhcp-identifier: mac
dhcp4-overrides:
use-mtu: false
dhcp6-overrides:
use-mtu: false
mtu: 1500
match:
macaddress: XX:XX:XX:XX:XX:XX
set-name: eth0
てな感じになる。
VPC IPv6
https://forums.aws.amazon.com/thread.jspa?messageID=772808&tstart=0 https://github.com/systemd/systemd/issues/5845
https://forums.aws.amazon.com/message.jspa?messageID=861018
なんか怪しい...