none
nat and different subnets

    Question

  • Hi,

    When my router has a class c ip, mij maind dc(with nat installed) has in the internal an class b addres and the external ip is dhcp(getting it from the router), will nat work without any problems?

    2nd, a server van only have 1 gateway, am i correct?

    regards,

     


    • Edited by enlil Monday, March 17, 2014 5:46 PM
    Monday, March 17, 2014 5:43 PM

Answers

  • a typical setup would be:

    ISP <----> to your router

    Router (configured with NAT, DHCP and DNS  ) 

    Gateway should be the IP Address of the router

    then from the router:

    From the router <---> connect to your network switch

    From the network switch <---> you distribute it to your LAN

    ..

    2nd, a server van only have 1 gateway, am i correct?

    You need to configure a default gateway for your network to function properly.

    Just configured a static IP Addressing of your server.

    But it is also possible to have multiple gateways depends on how complex is your network infrastructure.

    or check out this link: http://windows.microsoft.com/en-ph/windows/configuring-multiple-network-gateways#1TC=windows-7

    --

    If you want to have a different Private IP Address, different from the router is giving you.

    You can configure the DC with AD, DHCP, DNS but in your DHCP configuration you need to set the gateway to point to your router.

    And of course, your LAN or your network switch should be getting the IP from your DC and not from the router.




    Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.


    • Edited by cguan Tuesday, March 18, 2014 3:49 AM edit
    • Marked as answer by enlil Tuesday, March 25, 2014 8:49 AM
    Tuesday, March 18, 2014 3:32 AM
  • Hi,

    If a DC installed RRAS role, this means the DC is multi-homed. It’s problematic and we need many more configuration to make it work. So it is not recommended. For more information you can refer to the blog:

    Multihomed DCs with DNS, RRAS, and/or PPPoE adapters

    https://msmvps.com/blogs/acefekay/archive/2009/08/17/multihomed-dcs-with-dns-rras-and-or-pppoe-adapters.aspx

    Install it on a member server would be OK.

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    Hope this helps.

    • Marked as answer by enlil Tuesday, March 25, 2014 8:49 AM
    Friday, March 21, 2014 1:35 AM

All replies

  •   You should not run any sort of router on a DC. In fact your DC should not have two NICs.

      If you want to run a domain, use a different device for NAT or use the NAT from the router and run the domain in the private network using the IP addresses from NAT on the router. You will need to modify the DHCP for Active Directory to work properly if you go that way.

      Yes, a server will only use one gateway address even if it has multiple NICs. But as I said, a DC should not have multiple NICs. It cases all sorts of problems with name resolution because the DC has two IPs associated with its name. There are workarounds but it is simpler to avoid it in the first place.

     


    Bill

    Tuesday, March 18, 2014 3:18 AM
  • a typical setup would be:

    ISP <----> to your router

    Router (configured with NAT, DHCP and DNS  ) 

    Gateway should be the IP Address of the router

    then from the router:

    From the router <---> connect to your network switch

    From the network switch <---> you distribute it to your LAN

    ..

    2nd, a server van only have 1 gateway, am i correct?

    You need to configure a default gateway for your network to function properly.

    Just configured a static IP Addressing of your server.

    But it is also possible to have multiple gateways depends on how complex is your network infrastructure.

    or check out this link: http://windows.microsoft.com/en-ph/windows/configuring-multiple-network-gateways#1TC=windows-7

    --

    If you want to have a different Private IP Address, different from the router is giving you.

    You can configure the DC with AD, DHCP, DNS but in your DHCP configuration you need to set the gateway to point to your router.

    And of course, your LAN or your network switch should be getting the IP from your DC and not from the router.




    Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.


    • Edited by cguan Tuesday, March 18, 2014 3:49 AM edit
    • Marked as answer by enlil Tuesday, March 25, 2014 8:49 AM
    Tuesday, March 18, 2014 3:32 AM
  • Hi Bill,


    Many thanks for your reply. Why should't i use NAT on a DC? 2nd, would running Nat on the member server be an option?

    Tuesday, March 18, 2014 9:49 AM
  • Hi,

    If a DC installed RRAS role, this means the DC is multi-homed. It’s problematic and we need many more configuration to make it work. So it is not recommended. For more information you can refer to the blog:

    Multihomed DCs with DNS, RRAS, and/or PPPoE adapters

    https://msmvps.com/blogs/acefekay/archive/2009/08/17/multihomed-dcs-with-dns-rras-and-or-pppoe-adapters.aspx

    Install it on a member server would be OK.

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    Hope this helps.

    • Marked as answer by enlil Tuesday, March 25, 2014 8:49 AM
    Friday, March 21, 2014 1:35 AM
  • Hello,

    I wonder if the statement makes you clear. Do you have any further questions?

    Monday, March 24, 2014 7:19 AM
  • eveything fine, many thanks for the help
    Tuesday, March 25, 2014 8:49 AM