nameservers should be in /etc/resolv.conf is 1.1.1.1 2.2.2.2
since control node is not sending in the proper format[when more than dns servers are configured] ,agent discards it and uses ipams dnsservers info.
agent dhcp discard message:
018-07-18 07:41:35.786 DhcpError: VM 192.168.1.3 : Invalid DHCP option 6 data : 1.1.1.12.2.2.2is invalid controller/src/vnsw/agent/services/dhcp_handler.cc 1169
nameservers should be in /etc/resolv.conf is 1.1.1.1 2.2.2.2
since control node is not sending in the proper format[when more than dns servers are configured] ,agent discards it and uses ipams dnsservers info.
agent dhcp discard message:
018-07-18 07:41:35.786 DhcpError: VM 192.168.1.3 : Invalid DHCP option 6 data : 1.1.1.12.2.2.2is invalid controller/ src/vnsw/ agent/services/ dhcp_handler. cc 1169
agent ifmaptable info:
type:virtual- network- network- ipam name:attr( default- domain: admin:myipam, default- domain: admin:mynet) value ipam-subnets subnet ip-prefix: 192.168. 1.0 ip-prefix-len:24 default- gateway: 192.168. 1.1 dns-server- address: 192.168. 1.2 subnet- uuid:de31d280- 5d3d-4c1a- 8bf8-489b7a110c ec enable-dhcp:true addr_from_ start:true dhcp-option-list dhcp-option dhcp-option-name:6 dhcp-option- value:1. 1.1.12. 2.2.2 subnet- name:de31d280- 5d3d-4c1a- 8bf8-489b7a110c ec alloc-unit:1 created: 1970-01- 01T00:00: 00 last-modified: 1970-01- 01T00:00: 00 Adjacencies: virtual-network default- domain: admin:mynet network-ipam default- domain: admin:myipam
control node ifmaptable info:
<iq> prefix> 192.168. 1.0</ip- prefix> prefix- len>24< /ip-prefix- len> gateway> 192.168. 1.1</default- gateway> server- address> 192.168. 1.2</dns- server- address> uuid>de31d280- 5d3d-4c1a- 8bf8-489b7a110c ec</subnet- uuid> dhcp>true< /enable- dhcp> from_start> true</addr_ from_start> option- list> option- name>6< /dhcp-option- name> option- value>1. 1.1.12. 2.2.2</ dhcp-option- value> option- value-bytes> </dhcp- option- value-bytes> option- list> name>de31d280- 5d3d-4c1a- 8bf8-489b7a110c ec</subnet- name> unit>1< /alloc- unit> 1970-01- 01T00:00: 00</created> modified> 1970-01- 01T00:00: 00</last- modified> tag></subscribe r-tag>
<value>
<ipam-subnets>
<subnet>
<ip-
<ip-
</subnet>
<default-
<dns-
<subnet-
<enable-
<addr_
<dhcp-
<dhcp-option>
<dhcp-
<dhcp-
<dhcp-
</dhcp-option>
</dhcp-
<host-routes />
<subnet-
<alloc-
<created>
<last-
<subscriber-
</ipam-subnets>
<host-routes />
</value>
</iq>
space should be there between dns-servers in dhcp-option-value