> I was wondering how do I configure a my nic with different vlan > addresses attached to it. > > With linux I had vconfig which I created the vlans on my computer for > which vlans I actually wanted to connect to on my switch. Then I would > assign my ethernet card to whichever vlan it was supposed to be a part > of, so adding eth0 to vlan 1 created an interface eth0.1 and then > readding eht0 to vlan 2 created eth0.2 and on those new devices I > added ips and everything was lovely. > > What could I use with OpenBSD to provide me with the same capabilities > of configuring my server to be on specific vlans?
You create a vlan network interface. RTFM! Or, to give you an idea where to look: man vlan man hostname.if man ifconfig While you're at this also check the FAQ - 6th chapter in particular. http://www.openbsd.org/faq/faq6.html