Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396429 - macvlan net module does not bring its interface up
Summary: macvlan net module does not bring its interface up
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard: openrc:oldnet
Keywords:
Depends on:
Blocks: openrc-tracker
  Show dependency tree
 
Reported: 2011-12-29 16:45 UTC by Marien Zwart (RETIRED)
Modified: 2013-04-25 23:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
bring the macvlan device up (macvlan.patch,325 bytes, text/plain)
2011-12-29 16:45 UTC, Marien Zwart (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marien Zwart (RETIRED) gentoo-dev 2011-12-29 16:45:50 UTC
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"
Comment 1 William Hubbs gentoo-dev 2011-12-30 01:22:55 UTC
This is applied in commit 2471d74.

Thanks for the report and the patch. :-)