PDA

View Full Version : SLES 12 SP2 dhcp client - wrong "client identifier"



dariaz
26-Dec-2016, 07:23
Hi,

When a client sends DHCP discover, it receives a unique identifier from the server, the problem is that I see a strange 0x20 prefix and then the correct identifier (see CLIENTID below):


l-csi-0516h:~ # /usr/lib/wicked/bin/wickedd-dhcp4 --test ib0
Notice: ib0: Request to acquire DHCPv4 lease with UUID 5ab06058-8f9c-0600-5725-000001000000
INTERFACE='ib0'
TYPE='dhcp'
FAMILY='ipv4'
UUID='5ab06058-8f9c-0600-5725-000001000000'
IPADDR='11.7.157.86/24'
NETMASK='255.255.255.0'
NETWORK='11.7.157.0'
BROADCAST='11.7.157.255'
PREFIXLEN='24'
CLIENTID='20:80:00:02:08:fe:80:00:00:00:00:00:00:2 4:be:05:ff:ff:ac:29:91'
SERVERID='11.7.157.81'
ACQUIRED='1482731610'
LEASETIME='86400'
RENEWALTIME='43200'
REBINDTIME='75600'
BOOTSERVERADDR='11.7.157.81'
BOOTFILE='uefi/grub.efi'

/etc/sysconfig/network/ifcfg-ib0
BOOTPROTO='dhcp'
#STARTMODE='auto'
#DHCLIENT_SET_HOSTNAME='yes'
DHCLIENT_CLIENT_ID='ff:00:00:00:00:00:02:00:00:02: c9:00:24:be:05:ff:ff:ac:29:91'


Anyone knows what is this 0x20 prefix and how can I remove it?

Thanks.

smflood
27-Dec-2016, 00:25
dariaz Wrote in message:

> When a client sends DHCP discover, it receives a unique identifier from
> the server, the problem is that I see a strange 0x20 prefix and then the
> correct identifier (see CLIENTID below):
>
>
> Code:
> --------------------
> l-csi-0516h:~ # /usr/lib/wicked/bin/wickedd-dhcp4 --test ib0
> Notice: ib0: Request to acquire DHCPv4 lease with UUID 5ab06058-8f9c-0600-5725-000001000000
> INTERFACE='ib0'
> TYPE='dhcp'
> FAMILY='ipv4'
> UUID='5ab06058-8f9c-0600-5725-000001000000'
> IPADDR='11.7.157.86/24'
> NETMASK='255.255.255.0'
> NETWORK='11.7.157.0'
> BROADCAST='11.7.157.255'
> PREFIXLEN='24'
> CLIENTID='20:80:00:02:08:fe:80:00:00:00:00:00:00:2 4:be:05:ff:ff:ac:29:91'
> SERVERID='11.7.157.81'
> ACQUIRED='1482731610'
> LEASETIME='86400'
> RENEWALTIME='43200'
> REBINDTIME='75600'
> BOOTSERVERADDR='11.7.157.81'
> BOOTFILE='uefi/grub.efi'
>
> /etc/sysconfig/network/ifcfg-ib0
> BOOTPROTO='dhcp'
> #STARTMODE='auto'
> #DHCLIENT_SET_HOSTNAME='yes'
> DHCLIENT_CLIENT_ID='ff:00:00:00:00:00:02:00:00:02: c9:00:24:be:05:ff:ff:ac:29:91'
>
> --------------------
>
>
> Anyone knows what is this 0x20 prefix and how can I remove it?

The 0x20 prefix (32 in decimal) indicates IPoIB (IP over
InfiniBand) and can't be removed - see https://tools.ietf.org/htm
l/draft-kashyap-ipoib-dhcp-over-infiniband-00

HTH.
--
Simon Flood
SUSE Knowledge Partner


----Android NewsGroup Reader----
http://usenet.sinaapp.com/

bernardes_leao
27-Dec-2016, 13:58
Hi,

When a client sends DHCP discover, it receives a unique identifier from the server, the problem is that I see a strange 0x20 prefix and then the correct identifier (see CLIENTID below):


l-csi-0516h:~ # /usr/lib/wicked/bin/wickedd-dhcp4 --test ib0
Notice: ib0: Request to acquire DHCPv4 lease with UUID 5ab06058-8f9c-0600-5725-000001000000
INTERFACE='ib0'
TYPE='dhcp'
FAMILY='ipv4'
UUID='5ab06058-8f9c-0600-5725-000001000000'
IPADDR='11.7.157.86/24'
NETMASK='255.255.255.0'
NETWORK='11.7.157.0'
BROADCAST='11.7.157.255'
PREFIXLEN='24'
CLIENTID='20:80:00:02:08:fe:80:00:00:00:00:00:00:2 4:be:05:ff:ff:ac:29:91'
SERVERID='11.7.157.81'
ACQUIRED='1482731610'
LEASETIME='86400'
RENEWALTIME='43200'
REBINDTIME='75600'
BOOTSERVERADDR='11.7.157.81'
BOOTFILE='uefi/grub.efi'

/etc/sysconfig/network/ifcfg-ib0
BOOTPROTO='dhcp'
#STARTMODE='auto'
#DHCLIENT_SET_HOSTNAME='yes'
DHCLIENT_CLIENT_ID='ff:00:00:00:00:00:02:00:00:02: c9:00:24:be:05:ff:ff:ac:29:91'


Anyone knows what is this 0x20 prefix and how can I remove it?

Thanks.

The information addresses the active bit during IPv6 autoconfiguration, which is required for local (IPv6 Unicast Link-local) communication. This address makes use of the MAC address, in the portion "interface ID"