> On Sun, Jan 17, 2016 at 12:21:51PM -0800, Yury Shefer wrote: >> I was not able to find the information about ifconfig support for the IPv4 >> address configuration where I have primary address assigned by DHCP >> (Comcast) and alias with static IP. My cable modem mgmt IP belongs to >> 192.168.100.0/24 subnet and to access it - I have to add an alias - but it >> always overwrite DHCP-assigned address (OpenBSD 5.8-stable (GENERIC.MP)).
It's not possible to do this with the DHCP client from base at present. On 2016-01-17, Josh Grosse <[email protected]> wrote: > Instead of seting an alias, just route the 192.168.100/24 subnet through your > upstream gateway. > > In my case, none of my inner subnets are 192.168.100/24, so any packets > to that subnet go to the default route assigned by dhcp. That's not always possible. Sometimes you need to use (and respond to ARP queries for) an address in the same subnet. Fortunately in my case I don't have the need to do this very often so I can cope with 'pkill -9 dhclient' to force it to exit without removing the existing lease. That's not always acceptable though - if there's no other way around it, using a 3rd-party DHCP client is currently the only way.

