Hello 

This is the first time I am responding to a post that is not my mine.  I hope 
it is not too uninformed. 

Anyway, back in about October, 2016, I noticed that the included dhcp client 
would no longer assign an alias address alongside the address from the dhcp 
lease.  Before about this time, I seem to recall, it would.

My solution was to use the isc-dhcp-client from ports.  But, that also had some 
issues. 

My solution (and if it is a poor solution, sorry) is on the mailing list at: 

https://marc.info/?l=openbsd-misc 
<https://marc.info/?l=openbsd-misc&m=147638874608453&w=2> 
&m=147638874608453&w=2 

It is working as expected through my last update of current, which was about 2 
months ago. 

Ted 


> -----Original Message----- 
> From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf 
> Of Lars Bonnesen 
> Sent: Friday, March 22, 2019 5:06 AM 
> To: misc@openbsd.org 
> Subject: Adding an additional IP on a NIC getting DHCP address 
> 
> The NIC hostname file contains: 
> 
> dhcp 
> 
> and it configures the nic with a DHCP address and configure mygate 
> according to this. 
> 
> Now I need to add an additional static IP on top of this and use the 
> static 
> IP address gateway address (thus not configuring myname from DHCP) 
> 
> Can I just add inet x.x.x.x b.b.b.b to myname so that it reads: 
> 
> dhcp 
> inet x.x.x.x b.b.b.b 
> 
> and if so, how do I make sure that mygate does not get overwritten from 
> dhcp? 
> 
> Regards, Lars. 


Reply via email to