Re: Adding an additional IP on a NIC getting DHCP address

2019-03-23 Thread Shane Lazarus
Hi Folks Oddly enough I couldn't figure out a way to do that :) So I just did the following instead with hostname.de1: dhcp inet6 autoconf !ifconfig de1 inet alias 192.168.2.28 255.255.255.0 !route add 128.0.0.0/1 192.168.2.254 up Have Fun Shane On Sat, Mar 23, 2019 at 12:51 PM Stuart Hen

Re: Adding an additional IP on a NIC getting DHCP address

2019-03-22 Thread Stuart Henderson
On 2019-03-22, Shane Lazarus wrote: > Hi Folks > > Any reason you are not using the append / supercede options in the built in > dhclient.conf? > https://man.openbsd.org/dhclient.conf > > Totally curious, as that is what I am using to override / append > information... If you have a working setup

Re: Adding an additional IP on a NIC getting DHCP address

2019-03-22 Thread Shane Lazarus
Hi Folks Any reason you are not using the append / supercede options in the built in dhclient.conf? https://man.openbsd.org/dhclient.conf Totally curious, as that is what I am using to override / append information... Thanks Shane On Sat, Mar 23, 2019 at 3:55 AM Stuart Henderson wrote: > O

Re: Adding an additional IP on a NIC getting DHCP address

2019-03-22 Thread Stuart Henderson
On 2019-03-22, Theodore Wynnychenko wrote: > 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 > f

Re: Adding an additional IP on a NIC getting DHCP address

2019-03-22 Thread Theodore Wynnychenko
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. > > N

Adding an additional IP on a NIC getting DHCP address

2019-03-22 Thread Lars Bonnesen
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