Hi all, I have a question regarding the IP address of a default DNS server inside a VM, in Contrail. I am using Contrail 3.2.4.0 on a CentOS 7.3 server. I have 4 VMs on the respective server: one OpenStack VM, one Contrail VM and 2 Contrail compute VMs. All VMs use CentOS 7.3 server.
I have created a virtual network with CIDR 1.1.1.0/24. From Contrail GUI, default gateway for this VN is 1.1.1.1. I am using the default DNS server. I have created a VM using this virtual network. Inside the VM, I have run: cat /etc/resolv.conf nameserver 1.1.1.2 >From the Contrail 3.2 documentation, DNS in default mode, we have: Default: In default mode, DNS resolution for VMs is performed based on the name server configuration in the server infrastructure. The subnet default gateway is configured as the DNS server for the VM, and the DHCP response to the VM has this DNS server option. DNS requests sent by a VM to the default gateway are sent to the name servers configured on the respective compute nodes. The responses are sent back to the VM. https://www.juniper.net/documentation/en_US/contrail3.2/topics/task/configuration/configure-dns-vnc.html Can you please explain to me why does the default DNS server have gateway IP address +1, instead of gateway IP address, like it is mentioned in the documentation?
_______________________________________________ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org