On 2015-07-26 19:12, Kimmo Paasiala wrote:
Hello,I'm in the process of migrating my router/firewall system from FreeBSD to OpenBSD and I came across a minor problem. I want to have a static alias address on an interface that is otherwise configured with DHCP. What I had in FreeBSD was this entry in /etc/dhclient.conf: alias { interface "vr0"; fixed-address 192.168.1.200; option subnet-mask 255.255.255.0; } This seems to be silently ignored on OpenBSD 5.7 and the dhclient.conf manual page makes no mention of alias declarations. How am I supposed to achieve the same effect? -Kimmo
Perhaps something like this in your /etc/hostname.vr0 instead would work for you? dhcp !ifconfig vr0 alias 192.168.1.200/32

