--- On Thu, 1/14/10, Graeme Lee <gra...@omni.net.au> wrote: > From: Graeme Lee <gra...@omni.net.au> > Subject: Re: VLANs, OpenBSD, Cisco HP > To: misc@openbsd.org > Received: Thursday, January 14, 2010, 3:27 AM
> > inet 1.2.3.4 255.255.255.0 NONE vlan 301 vlandev em0 > description "Uplink" > Like this: > > # cat /etc/hostname.vlan0 > vlan 301 vlandev em0 > inet 192.168.1.2 255.255.255.0 192.168.1.255 description > "Uplink" > > # cat /etc/hostname.em0 > up >From everything I have read in the man pages, FAQ and the great oracle Google, >my chosen syntax works too. See http://www.openbsd.org/faq/faq6.html "Or, you may want to use special flags specific to a certain interface. The format of the hostname file doesn't change much! $ cat /etc/hostname.vlan0 inet 172.21.0.31 255.255.255.0 NONE vlan 2 vlandev fxp1 "