Subject: Re: vlan creation
To: Jason R Thorpe <email@example.com>
From: Michael Graff <firstname.lastname@example.org>
Date: 08/10/2002 13:36:11
-----BEGIN PGP SIGNED MESSAGE-----
It didn't work for me for some reason... I'll look elsewhere.
Jason R Thorpe <email@example.com> writes:
> On Sat, Aug 10, 2002 at 01:31:50AM -0700, Michael Graff wrote:
> > 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.
> No need -- just use /etc/ifconfig.vlan0 or whatever. This is what I
> do, and it works great:
> vlan 2 vlanif wm1
> inet 192.168.1.1 netmask 255.255.255.0
> > AFAIK, if ifconfig.vlan0 exists, it isn't actually consulted unless
> > vlan0 already exists.
> Nonsense :-) I use this same trick for gif interfaces, as well. It
> works fine.
> > Should I check this goop in?
> No. The existing mechanism works fine.
> -- Jason R. Thorpe <firstname.lastname@example.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)
Comment: See http://www.flame.org/~explorer/pgp for my keys
-----END PGP SIGNATURE-----