Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10963 closed defect (fixed)

Bridge without IP between vlans not started on boot

Reported by: kerneis@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: Cc:

Description

Hi,

I tried the following, based on Bridge without IP (wiki):

config interface vlan100
	option type bridge
	option ifname "eth0.100 eth1.100"
	option proto none
	option auto 1

In spite of "option auto 1", it does not start on boot. As a work-around, I put "ifup vlan100" in /etc/rc.local, which works fine.

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by kerneis@…

Using proto static does not change the behaviour:

config interface vlan100
	option type bridge
	option ifname "eth0.100 eth1.100"
	option proto static
        option ip 0.0.0.0
        option netmask 255.255.255.255
	option auto 1

The issue seems to be that only physical interfaces are brought up on boot (ie. those listed in /proc and loaded by /etc/init.d/boot) or those whose proto has a coldplug_* function defined in /lib/network (loaded by /etc/init.d/network, in the boot() function).

Maybe definig coldplug_interface_{static,none} would solve the issue but I have no idea what it should look like.

comment:2 Changed 6 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in netifd.

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.