Hi

Having any hostname.vlanXX should work. I have eg:

# cat /etc/hostname.vlan50

inet 193.5.69.5 255.255.255.252 NONE vlan 50 vlandev em3

Regards

  Matthias

David Goldsmith wrote:
> On 1/14/2010 12:30 AM, James Peltier wrote:
>
>> On the OpenBSD box I have
>>
>> /etc/hostname.em0
>> ------------------ up
>>
>> /etc/hostname.vlan301
>> ------------------
>> inet 1.2.3.4 255.255.255.0
>> NONE vlandev em0 description "Uplink"
>
> Possibly the vlan hostname files need to start at 0 and increase from
> there rather then skipping directly to a higher number? From the FAQ,
> section 6.2.1, they show the vlan0 interface being associated with vlan
> 2 so the file number does not need to match the vlan number:
>
>    $ cat /etc/hostname.vlan0
>    inet 172.21.0.31 255.255.255.0 NONE vlan 2 vlandev fxp1
>
> http://www.openbsd.org/faq/faq6.html#Setup.if
>
> David Goldsmith
>


--
Matthias Cramer, Erachfeldstrasse 1b, CH-8180 BC<lach
http://www.freestone.net
GnuPG 1024D/2D208250 = DBC6 65B6 7083 1029 781E  3959 B62F DF1C 2D20 8250

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]

Reply via email to