FS#26259 - [netcfg] vlan interface 'up' error: "net.ipv6.conf.<name>.accept_ra" is an unknown key
Attached to Project:
Arch Linux
Opened by Wade Carpenter (wade) - Tuesday, 04 October 2011, 21:54 GMT
Last edited by Allan McRae (Allan) - Saturday, 28 April 2012, 14:45 GMT
Opened by Wade Carpenter (wade) - Tuesday, 04 October 2011, 21:54 GMT
Last edited by Allan McRae (Allan) - Saturday, 28 April 2012, 14:45 GMT
|
Details
Description:
When bringing up a CONNECTION=vlan interface, an error message is displayed: $ sudo netcfg -u Vlan999 :: Vlan999 up [BUSY] error: "net.ipv6.conf.eth0.999.accept_ra" is an unknown key [DONE] The sysctl key should be net.ipv6.conf.eth0/999.accept_ra" ("eth0/999" instead of "eth0.999"): $ sysctl net.ipv6.conf.eth0/999.accept_ra net.ipv6.conf.eth0/999.accept_ra = 1 $ ls /proc/sys/net/ipv6/conf/eth0.999/accept_ra /proc/sys/net/ipv6/conf/eth0.999/accept_ra Additional info: * netcfg 2.6.8-1 * /etc/network.d/Vlan999: <code text> CONNECTION="vlan" INTERFACE="eth0.999" VLAN_PHYS_DEV="eth0" VLAN_ID="999" IP="static" ADDR="1.99.0.120" NETMASK="255.255.255.0" </code> Steps to reproduce: $ netcfg -u Vlan999 |
This task depends upon
Closed by Allan McRae (Allan)
Saturday, 28 April 2012, 14:45 GMT
Reason for closing: Fixed
Additional comments about closing: https://projects.archlinux.org/netcfg.gi t/commit/?id=b934466c
Saturday, 28 April 2012, 14:45 GMT
Reason for closing: Fixed
Additional comments about closing: https://projects.archlinux.org/netcfg.gi t/commit/?id=b934466c
* netcfg v2.6.8
# cat /etc/network.d/eth0.2
INTERFACE="eth0.2"
VLAN_PHYS_DEV="eth0"
VLAN_ID="2"
CONNECTION="vlan"
IP="dhcp"
DHCP_OPTIONS="--nogateway --nooption"
1) it solves this issue by changing eth0.2 into eth0/2, which is the syntax accepted by sysctl
2) it doesn't disable routing advertisements for stateful DCHPv6, as routes aren't sent by the DHCP server, but rely on routing advertisements to be picked up by the client.
Thanks, Steve!
It fixes sysctl calls but doesn't change anything regarding DHCPv6 behavior.
https://projects.archlinux.org/netcfg.git/commit/?id=b934466cca29434106a38973c2608c3e21b3a68b
Thanks for closing this ticket :)