On 2015-07-26, Kimmo Paasiala <[email protected]> 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?

I need to do this sometimes too. The only way to do this with
dhclient(8) in recent versions of OpenBSD is to fetch the lease, pkill
-9 dhclient, then add the alias.

Otherwise use an alternative DHCP client from packages.

Reply via email to