Is my dhcpcd.conf(5) valid?
#603
-
|
I use noipv6rs
denyinterfaces !(ixl2)
allowinterfaces ixl2
script ""
link_rcvbuf 65536
interface ixl2
duid
iaid 0
ia_na 0
ia_pd 0/::/60 -
ipv6rs
nooption domain_name,domain_name_servers,domain_search,fqdn,host_name,interface_mtu,mtu,ntp_servers,time_offset,time_servers
option rapid_commit
persistent
require dhcp_server_identifier
static interface_mtu=1500
static mtu=1500
waitip 64
In my case my ISP has misconfigured their IPv6 router advertisements such that an MTU of 9192 is advertised which is incorrect; thus I want to hardcode a 1500 MTU. Is it necessary to specify both |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
I would use Does this answer your question? |
Beta Was this translation helpful? Give feedback.
OK, after trial-and-error, it looks like
dhcpcd(at least sometimes) requires DHCPv6 options to be on a separate line from DHCP options. As stated above,dhcp6_ntp_serveris valid perdhcpcdand IANA. The following config does not log any errors. Additionally it no longer warns about a misconfigured MTU from my ISP: