Peter Kieser wrote:
> Hello,
> 
> I am experimenting with FreeBSD vlan's using the vlans<interface> option 
> in rc.conf, my configuration is as follows:
> 
> ifconfig_em1="up"
> vlans_em1="100 101 102 103 104 105 106 107 108 109 110"
> autobridge_interfaces="bridge0"
> autobridge_bridge0="em0 em1.*"
> ifconfig_bridge0="up"
> 
> rc script create em1.100 - em1.110 but doesn't bring the interfaces up 
> on boot, I have to issue 'ifconfig em1.100 up', etc. to bring them 
> online. I also cannot use 'ifconfig_em1.100="up"' because the rc scripts 
> don't support periods in the variable names. Is there a way to 
> accomplish this?

ifconfig_em1_100="up"

from network.subr:

# get_if_var if var [default]
# Return the value of the pseudo-hash corresponding to $if where
# $var is a string containg the sub-string "IF" which will be
# replaced with $if after the characters defined in _punct are
# replaced with '_'. If the variable is unset, replace it with
# $default if given.

-- 
LEFT-(UANIC|RIPE)
JID: lev...@jabber.net.ua
PGP fingerprint: 1BCD 7C80 2E04 7282 C944  B0E0 7E67 619E 4E72 9280
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to