Ticket #49 (closed enhancement: fixed)
Opened 2 years ago
Last modified 2 years ago
VLAN support in network configuration is broken
Reported by: | Wolfram Schlich <wschlich@gentoo.org> | Owned by: | roy |
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | rc | Version: | |
Keywords: | Cc: |
Description
/etc/conf.d/net:
--8<--
modules_eth0="iproute2 vlan !plug"
config_eth0="null"
#mtu_eth0="1500"
vlans_eth0="23 42"
vconfig_eth0="set_name_type DEV_PLUS_VID_NO_PAD"
config_eth0_23="172.16.23.46/24.html"
config_eth0_42="82.206.32.46/28 2001:4b88:1066:32::46/64.html"
routes_eth0_42="default via 82.206.32.33
default via 2001:4b88:1066:32::33"
--8<--
/etc/init.d/net.eth0 start:
--8<--
[root@nyx(pts/2):~]$ /etc/init.d/net.eth0 start
- Bringing up interface eth0
- null ... [ ok ]
- Waiting for IPv6 addresses ... [ ok ]
- Adding VLAN 23 to eth0
- Bringing up interface eth0.23
- 172.16.23.46/24 ... [ ok ]
- Waiting for IPv6 addresses ... [ ok ]
- Adding VLAN 23 to eth0.23
- Bringing up interface eth0.23
eth0.23.23
- No configuration specified; defaulting to DHCP
- dhcp ...
- Running dhcpcd ...
err, eth0.23: timed out
/lib/rc/net/dhcpcd.sh: line 44: eth0.23.23: command not found [ !! ]
/sbin/resolvconf: line 203: uniqify: command not found
- Adding VLAN 42.23 to eth0.23
- Bringing up interface
- ERROR: interface does not exist
- Ensure that you have loaded the correct kernel module for your hardware
- Adding VLAN 42 to eth0
- Bringing up interface eth0.23.42
eth0.42
- No configuration specified; defaulting to DHCP
- dhcp ...
- Running dhcpcd ...
err, eth0.23.42:timed out
/lib/rc/net/dhcpcd.sh: line 44: eth0.42: command not found [ !! ]
/sbin/resolvconf: line 203: uniqify: command not found
[root@nyx(pts/2):~]$
--8<--
Change History
comment:237 Changed 2 years ago by roy
- Status changed from new to resolved
- Resolution set to fixed
comment:238 Changed 2 years ago by Wolfram Schlich <wschlich@gentoo.org>
Confirmed, works -- thanks :-)
Fixed in commit 795e8a2b9bedcb4a2f1fc5ce4ce8f09cf5065536 [1]
Let me know if it works!
[1] http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commitdiff;h=795e8a2b9bedcb4a2f1fc5ce4ce8f09cf5065536;hp=c62bdce9c6f2a4dc89282cb4aa661b20848f5cae