Bug 150023 - [rl] Adding only vlan interfaces (no native IP) doesn't work
Summary: [rl] Adding only vlan interfaces (no native IP) doesn't work
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 7.3-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-26 19:00 UTC by kes-kes
Modified: 2017-12-31 22:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kes-kes 2010-08-26 19:00:33 UTC
cloned_interfaces="vlan4"
ifconfig_vlan4="inet 77.93.38.34 netmask 255.255.255.252 vlan 4 vlandev rl0"

reboot machine. and there are no trafic on vlan4 and rl0 interface
if I add any address to rl0 network will start to work. Now I can remove that fake address until reboot.

Fix: 

work around: add fake address to parent device
ifconfig_rl0="inet 192.168.254.254 netmask 255.255.255.255"
Comment 1 Andriy Gapon freebsd_committer freebsd_triage 2010-10-08 10:23:39 UTC
Responsible Changed
From-To: freebsd-amd64->freebsd-bugs

The PR doesn't describe any amd64-specific problem.
Comment 2 Gavin Atkinson freebsd_committer freebsd_triage 2010-10-09 10:16:53 UTC
State Changed
From-To: open->feedback

To subbmitter: Can you add the line 
ifconfig_rl0="up" 
to /etc/rc.conf and see if that makes a difference? 

Thanks! 


Comment 3 Gavin Atkinson freebsd_committer freebsd_triage 2010-10-09 10:16:53 UTC
Responsible Changed
From-To: freebsd-bugs->gavin

Track
Comment 4 kes-kes 2011-05-28 12:25:38 UTC
Hi.

Yes ifconfig_rl0="up" fix problem.
But, I think, if vlan is configured for some interface that interface
must 'auto up'

-- 
Ñ óâàæåíèåì,
 Êîíüêîâ                          mailto:kes-kes@yandex.ru
Comment 5 kes-kes 2012-01-06 22:35:53 UTC
for example:

 igb0
   vlan7
      10.0.0.1/24

adding IP 10.0.0.1 to vlan7 auto up  vlan7 interface and
this must auto up igb0 interface, because of:

  strictly say: igb0 has implicit 10.0.0.1 address.


but now igb0 is not UPped when adding IP to vlan interface that has parent igb0

it is like link status propagation from igb0 to vlan7

ifconfig igb0 down must down all vlans
ifconfig igb0 up must not up all vlans, but!
ifconfig vlan7 up must up igb0 ( parent interface/vlandev )
Comment 6 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:27 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped