Re: Automatic VLANS
- From: Richard Tector <richardtector@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 24 Apr 2006 12:20:41 +0100
Brooks Davis wrote:
On Sun, Apr 23, 2006 at 03:20:02AM +0100, Richard Tector wrote:Fair enough.
Is it possible to use this method through rc or must I stick with creating
vlan1, vlan2, vlan3, etc and setting the vlanid and vlandev since my attmpts
have yielded no success.
Eg.
rc.conf:
ifconfig_em0="up vlanhwtag vlanmtu"
ifconfig_em0.100="inet 10.1.2.3/24"
Periods aren't valid in shell variable names so this won't work. Hense
the error message below.
goliath# /etc/rc.d/netif start
/etc/rc.conf: ifconfig_em0.100=inet 10.1.2.3/24: not found
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
....
and the interface is never created, with or without:
cloned_interfaces="em0.100"
The cloned_interfaces entry is absolutly required.
I noticed you made a way to use the automatic vlan method in rev 1.169 of network.subr. Are there any plans to MFC this to RELENG_6? It's a useful ability to have and makes creating vlans at startup much simpler and cleaner.
Regards,
Richard Tector
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Automatic VLANS
- From: Brooks Davis
- Re: Automatic VLANS
- References:
- Re: Automatic VLANS
- From: Richard Tector
- Re: Automatic VLANS
- From: Brooks Davis
- Re: Automatic VLANS
- Prev by Date: Current problem reports assigned to you
- Next by Date: Re: Watchdog timeouts and dead network on bge - 6.1-RC1
- Previous by thread: Re: Automatic VLANS
- Next by thread: Re: Automatic VLANS
- Index(es):