Look at hostname.if, for the vr0 interface, it would be called hostname.vr0

This is how you define aliases for a particular alias in OpenBSD.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Kimmo 
Paasiala
Sent: Sunday, July 26, 2015 5:12 PM
To: [email protected]
Subject: dhclient.conf alias declarations?

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

Reply via email to