Summary: | macvlan net module does not bring its interface up | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Marien Zwart (RETIRED) <marienz> |
Component: | OpenRC | Assignee: | OpenRC Team <openrc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | openrc:oldnet | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 394205 | ||
Attachments: | bring the macvlan device up |
This is applied in commit 2471d74. Thanks for the report and the patch. :-) |
Created attachment 297313 [details] bring the macvlan device up The macvlan net module does not bring the interface it creates up. In my setup (eth0 left unconfigured, a macvlan device as primary network interface) this is undesirable. The attached patch (with the _up call stolen from the tuntap module) makes the following /etc/conf.d/net work: config_eth0="null" macvlan_macvlan0="eth0" mode_macvlan0="bridge" config_macvlan0="192.168.1.7/24" routes_macvlan0="default via 192.168.1.254"