Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On OpenBSD, is it possible to request multiple IP-addresses via DHCP on a single physical interface? It looks like DHCP leased addresses can't be assigned as aliases. I though of creating a virtual interface and forward traffic to the physical interface, then run dhclient on the virtual interface (it doesn't matter if the second address is assigned to a virtual interface and not as an alias to the physical interface). Unfortunately I wasn't able to get it to work like that.

Any suggestions? How would you do it?

share|improve this question
This might help: – tomeduarte Dec 3 '11 at 23:32
Thanks, I tried the idea with the bridge and two vether interfaces, however it didn't work. I added these virtual interface to set skip in pf.conf, is there something more I'd need to consider? – watain Dec 4 '11 at 9:15
up vote 3 down vote accepted

DHCP requests are tied to MAC addresses, so normally a single interface can only request a single IP. I would see if you could get OpenBSD to create two subinterfaces each with their own MAC addresses and DHCP requests. Other option is to create a VLAN trunk so you can request a DHCP address in separate VLANs.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.