[trouble] restart network & vlan`s interface

Brooks Davis brooks at freebsd.org
Wed Feb 20 16:19:21 UTC 2008


On Wed, Feb 20, 2008 at 10:41:22AM +0300, sam wrote:
> hello
> 
> description of my trouble:
> 
> part of /etc/rc.conf
> --------------------------------------
> |cloned_interfaces="vlan0"
> ifconfig_vlan0="inet 10.25.6.20 netmask 255.255.255.0 vlan 11 vlandev rl0"
> |--------------------------------------
> 
> part of command output (/etc/rc.d/netif restart && /etc/rc.d/routing 
> restart)
> --------------------------------------
> |Stopping network: lo0 rl0 pfsync0 pflog0 vlan0.
> ifconfig: SIOCIFCREATE2: File exists
> ifconfig: SIOCSETVLAN: Device busy|
> --------------------------------------
> after - vlan0 is not configured
> 
> --------------------------------------
> # uname -rms
> FreeBSD 7.0-PRERELEASE i386
> --------------------------------------
> 
> please help me for writing  /etc/rc.conf with  vlan`s  interfaces (without 
> problem network sub-system restart)

We don't really support running /etc/rc.d/netif restart without an interface
argument at this time.  We should probably catch that case and report an
error until someone finds time to fix it.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20080220/c7dd65b4/attachment.pgp


More information about the freebsd-hackers mailing list