Re: dhclient adding second address to desktop with static IP



On Wed, 2019-08-07 at 12:19 +0100, Mike Fleetwood via networkmanager-
list wrote:
Hi,

On my CentOS 7 / XFCE desktop, I've setup a static IP address using
NM.
However dhclient is using DHCP and adding a second IP address.  How
do
I troubleshoot this and turn it off?

Thanks,
Mike

Hi,

Don't enable DHCP (ipv4.method=auto):

nmcli connection modify "$PROFILE" \
  ipv4.method manual \
  ipv4.addresses $ADDRESSES


best,
Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]