Have a virtual server configured with two NICs. Both NICs are DHCP enabled. Microsoft DHCP server is in use.
NIC1 is on 10.100.1.x/23 subnet. DHCP router option defined as 10.100.1.1
NIC 2 is on 10.101.1.x/23 subnet. DHCP router on this network is NOT defined.
When I do ipconfig on the server:
Windows IP ConfigurationEthernet adapter Data1:
Connection-specific DNS Suffix . : domain.local
IPv4 Address. . . . . . . . . . . : 10.100.1.166
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Default Gateway . . . . . . . . . : 10.100.1.1
Ethernet adapter Data2:
Connection-specific DNS Suffix . : domain.local
IPv4 Address. . . . . . . . . . . : 10.101.1.175
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Default Gateway . . . . . . . . . : 10.100.1.1
Data2 interface does NOT have default gateway assigned to it manually and as i mentioned DHCP scope does NOT have router option defined (neither do server options). It seems that interface Data2 is taking Data1's default gateway configuration.
when i do route print, i get this:
IPv4 Route Table===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.100.1.1 10.101.1.166 266
0.0.0.0 0.0.0.0 10.100.1.1 10.100.1.175 10
Why is there two default routes? Where is the default gateway on DHCP scope with no router option is coming from? Where is the route with metric 266 is comfing from?