Quantcast
Channel: Network Infrastructure Servers forum
Viewing all articles
Browse latest Browse all 5877

Router with one DHCP and one static IP doesn't route

$
0
0

Hi, all,

this post I already published in the Windows 2012 General forum but I need more info or advice:

http://social.technet.microsoft.com/Forums/windowsserver/en-US/add7b68c-ea88-434a-bb06-37edf524399a/router-with-one-dhcp-and-one-static-ip-doesnt-route?forum=winserver8gen

I observed some strange behavior in my VM environment on my Laptop; perhaps somebody can give me a hint what I did wrong.

Scenario:

- Laptop "Host" (Alienware M18x, 32 GB RAM) with Windows Server 2012 R2, connected to Internet via WLAN
    - WLAN IP address supplied by DSL router via DHCP: 192.168.1.100/24, Gateway 192.168.1.1
    - HyperV Server
       - External Switch (Virtual Switch Manager: "External network" directing to the WLAN adapter)
       - Internal Switch (Virtual Switch Manager: "Internal network")
       - Bridge between external switch and WLAN adapter
       - Two virtual machines
          - "Router": Is intended to route network traffic between external switch/"Host" and the internal switch/private network and the machine called
             - 1 NIC connected to External Switch with DHCP (right now: IP address 192.168.1.101/24, Gateway 192.168.1.1)
             - 1 NIC connected to Internal Switch using a static IP address (10.0.0.1/8)
             - Not member of the domain
             - RRAS configured
          - "DC": Domain Controller
             - 1 NIC connected to Internal Switch using a static IP address (10.0.0.2/8), Gateway (10.0.0.1)
 - DSL Router as WLAN access point, Gateway, IP address 192.168.1.1

Scenario checked by four crying eyes!

Problem:

On machine "Router":

ping 192.168.1.101 ("Router"): OK
 ping 192.168.1.101 ("Host"): OK
 ping 192.168.1.1 ("DSL Gateway"): OK
 ping 10.0.0.1 ("Router"): OK
 ping 10.0.0.2 ("DC"): OK

On machine "Host":

ping 192.168.1.100 ("Host"): OK
 ping 192.168.1.101 ("Router"): OK
 ping 10.0.0.1 ("Router"): fail
 ping 10.0.0.2 ("DC"): fail

On machine "DC": Can also ping the external Network on "Router" but not more!

ping 192.168.1.100 ("Host"): fail
ping 192.168.1.101 ("Router"): OK
 ping 10.0.0.1 ("Router"): OK
 ping 10.0.0.2 ("DC"): OK

So the router seems not to route the requests!

If I provide only static IP addresses on "Router", everything works fine!

Routing table on machine "Router":

===========================================================================
 Interface List
  14...00 15 5d 01 a6 12 ......Microsoft Hyper-V Network Adapter #2
  12...00 15 5d 01 a6 11 ......Microsoft Hyper-V Network Adapter
   1...........................Software Loopback Interface 1
  13...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
  15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
 ===========================================================================

IPv4 Route Table
 ===========================================================================
 Active Routes:
 Network Destination        Netmask          Gateway       Interface  Metric
           0.0.0.0          0.0.0.0      192.168.1.1    192.168.1.101      5
          10.0.0.0        255.0.0.0         On-link          10.0.0.1    261
          10.0.0.1  255.255.255.255         On-link          10.0.0.1    261
    10.255.255.255  255.255.255.255         On-link          10.0.0.1    261
         127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
         127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
   127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
       192.168.1.0    255.255.255.0         On-link     192.168.1.101    261
     192.168.1.101  255.255.255.255         On-link     192.168.1.101    261
     192.168.1.255  255.255.255.255         On-link     192.168.1.101    261
         224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
         224.0.0.0        240.0.0.0         On-link          10.0.0.1    261
         224.0.0.0        240.0.0.0         On-link     192.168.1.101    261
   255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
   255.255.255.255  255.255.255.255         On-link          10.0.0.1    261
   255.255.255.255  255.255.255.255         On-link     192.168.1.101    261
 ===========================================================================
 Persistent Routes:
   None

IPv6 Route Table
 ===========================================================================
 Active Routes:
  If Metric Network Destination      Gateway
   1    306 ::1/128                  On-link
  12    261 fe80::/64                On-link
  14    261 fe80::/64                On-link
  12    261 fe80::a563:3e0:59c2:dd43/128
                                     On-link
  14    261 fe80::bc08:ec19:6ec:39f8/128
                                     On-link
   1    306 ff00::/8                 On-link
  12    261 ff00::/8                 On-link
  14    261 ff00::/8                 On-link
 ===========================================================================
 Persistent Routes:
   None

Goal:

I want to grant "DC" Internet Access as well as access to network shares on "Host".

But I need my external network to connect to any Network (DSL Router or other Interfaces), wherever I am working with my laptop. This means the IP address changes quite often. Still I do not want to check or reconfigure the router the moment I connect to a network.

Does anyone have an idea what might have gone wrong? Any configuration I've missed?

In my post in the Windows Server General forum the user Bill suggested me to configure extra routing. What do I have to do there?

Best regards

Jens-Peter


None



Viewing all articles
Browse latest Browse all 5877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>