Subject: vlan creation
To: None <tech-net@netbsd.org>
From: Michael Graff <explorer@flame.org>
List: tech-net
Date: 08/10/2002 01:31:50
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
How are people currently creating vlan interfaces?
I wrote a rc.d/vlan script that runs before ipfilter, and basically
does
ifconfig $vlan create
and if interface and id are specified,
ifconfig $vlan vlan $id vlanif $int
This lets me use vlan interface names in ipf.conf, as well as
using standard ifconfig.vlanX files to configure them.
AFAIK, if ifconfig.vlan0 exists, it isn't actually consulted unless
vlan0 already exists.
Should I check this goop in?
Example file:
vlan0 fxp0 42
vlan1
vlan2 fxp0 43
- --Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)
Comment: See http://www.flame.org/~explorer/pgp for my keys
iD8DBQE9VM91l6Nz7kJWYWYRAgyTAJ49AOzgy0mkZwHIw8YNVHd7kN/CzgCferWv
X5ocAaGsc/MZmmepDDPeiUI=
=1eQs
-----END PGP SIGNATURE-----