Networking Forums

Networking Forums > Computer Networking > Windows Networking > no ping through two-nic dc

Reply
Thread Tools Display Modes

no ping through two-nic dc

 
 
bill tie
Guest
Posts: n/a

 
      12-05-2005, 04:45 AM

I've a two-NIC Win2k3 domain controller with RRAS configured as LAN router.
I've followed every KB article on two-NIC DCs. I seem to have no errors in
the EventViewer. Dcdiag and Netdiag seem to pass with flying colors.

I'm unable to ping IP addresses in front of or behind the DC.

[NAT/Firewall]
IP: 192.168.1.1
|
|
IP: 192.168.1.2
DG: 192.168.1.1
[Win2k3 DC with Lan-router RRAS]
IP: 10.1.0.1
DG: blank
|
|
IP: 10.1.0.z
DG: 10.1.0.1
[client]

From the client, I can't ping the IP address of the NAT/Firewall.
From the NAT/Firewall, I can't ping the IP address of the client.

What am I missing?

Thank you.


 
Reply With Quote
 
 
 
 
Ace Fekay [MVP]
Guest
Posts: n/a

 
      12-05-2005, 05:18 AM
In news:95503814-737C-4BFE-B0D2-(E-Mail Removed),
bill tie <(E-Mail Removed)> made this post, which I then
commented about below:
> I've a two-NIC Win2k3 domain controller with RRAS configured as LAN
> router. I've followed every KB article on two-NIC DCs. I seem to
> have no errors in the EventViewer. Dcdiag and Netdiag seem to pass
> with flying colors.
>
> I'm unable to ping IP addresses in front of or behind the DC.
>
> [NAT/Firewall]
> IP: 192.168.1.1
> |
> |
> IP: 192.168.1.2
> DG: 192.168.1.1
> [Win2k3 DC with Lan-router RRAS]
> IP: 10.1.0.1
> DG: blank
> |
> |
> IP: 10.1.0.z
> DG: 10.1.0.1
> [client]
>
> From the client, I can't ping the IP address of the NAT/Firewall.
> From the NAT/Firewall, I can't ping the IP address of the client.
>
> What am I missing?
>
> Thank you.


What firewall software are you using? Windows ICF, ISA or third party?
Is this SBS or Windows Server?

For a DC, it would be wise for a couple of rules (or guidelines) to be
followed, if possible:
1. Never use a Firewall on a DC (complicates domain communication with the
29 ports DC/client communications require.
2. Never multihome it.

If the need to multihome it is necessary, here is a repost of a post I made
long ago for another person that required a mutlihomed DC with DNS and RRAS
on it. Honestly, it is better to use a member server for this role.

========================
++++++++++++++++++++
Honestly, multi-homed DCs are not recommended because of the associated
issues that can occur, as you've encountered. We usually recommend
purchasing an inexpensive Linksys, DLink, etc, Cable/DSL router to perform
NAT for you, take out the extra NIC off the DC, but still let the DC handle
DHCP (and not the router).

Since this DC is multi-homed, it requires additional configuration to
prevent the public interface addresses from being registered in DNS. This
creates a problem for internal clients locating AD to authenticate and find
other services and resources such as the Global Catalog, file sharing and
the SYSVOL DFS share and can cause GPO errors with Userenv 1000 events to be
logged, authenticating to shares and printers, logging on takes forever,
among numerous other issues.

But if you like, there are some registry changes to eliminate the
registration of the external NIC. Here's the whole list of manual steps to
follow (this inculdes some of the stuff I already gave you):

But believe me, it's much easier to just get a separate NAT device or
multihome a non-DC then having to alter the DC. - Good luck!

1. In the DNS management console, on the properties of the DNS server,
Interfaces tab, set DNS to only listen on the private IP you want in DNS for
the server. This is the interface that your AD network is on and that the
clients use.


2. Add this registry entry with regedt32 to stop the (same as parent folder)
records and the GC record, also called the LdapIpAddress and GcIpAddress.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Netlogon\Parameters
On the Edit menu, point to New, and then click REG_MULTI_SZ as the data
type:

Registry value: DnsAvoidRegisterRecords
Data type: REG_MULTI_SZ

(and in the box, you would type in the following to stop their
registration):

LdapIpAddress
GcIpAddress

3. Then you will need to manually create the LdapIpAddress and GcIpAddress
records in DNS.
The LdapIpAddress resolves to the domain controllers in the domain. The
GcIpAddress resolves
to the Global Catalogs in the forest as gc._msdcs.forestroot.com.

To manually create the LdapIpAddress, create a new host but leave the name
field blank,
give it the IP of the internal interface. Windows 2k barks at you saying
(same as parent folder) is not a valid host name,click OK to create the
record anyway.
Windows 2003 won't bark. It's house-broken out of the box.

To manually create the GcIpAddress, navigate to the _msdcs folder, under it
click the gc
folder, then rt-click, create new host, leave the name field blank, give it
the IP of the
internal interface. Windows 2k barks at you saying (same as parent folder)
is not a valid
host name,click OK to create the record anyway. Windows 2003 won't bark here
either.


4. To stop registration of both NICs, add (if it exists) or alter this reg
entry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Netlogon\Parameters

On the Edit menu, point to New, and then click DWORD Value to add the
following registry value:
Value name: RegisterDnsARecords
Data type: REG_DWORD
Value data: 0

Then manually create a new host record for the server name in DNS and give
it the IP of the internal interface


5. Right click on Network places, choose properties, in the Advanced menu
item
select Advanced settings. Make sure the internal interface is at the top of
the connections pane and File sharing is enabled on the internal interface.


6. On the outer NIC, disable File and Print Services, Microsoft Client
Service,
then go into IP properties, click on Advanced, choose the WINS tab and
disable NetBIOS.


7. On the outer NIC, only put in the internal IP address of the DNS server
(this machine).


8. If you haven't done so, configure a forwarder. You can use 4.2.2.2 if not
sure which
DNS to forward to until you've got the DNS address of your ISP. How to set a
forwarder?
Depending on your operating system,choose one of the following articles:

300202 - HOW TO: Configure DNS for Internet Access in Windows 2000
http://support.microsoft.com/?id=300202&FR=1

323380 - HOW TO: Configure DNS for Internet Access in Windows Server 2003
(How to configure a forwarder):
http://support.microsoft.com/d/id?=323380



<==*** Some additional reading ***==>

246804 - How to enable or disable DNS updates in Windows 2000 and in Windows
Server 2003
http://support.microsoft.com/?id=246804

295328 - Private Network Interfaces on a Domain Controller Are Registered in
DNS
[also shows DnsAvoidRegisterRecords LdapIpAddress to avoid reg sameasparent
private IP]:
http://support.microsoft.com/?id=295328

306602 - How to Optimize the Location of a DC or GC That Resides Outside of
a Client's
Site [Includes info LdapIpAddress and GcIpAddress information and the SRV
mnemonic values]:
http://support.microsoft.com/?id=306602

825036 - Best practices for DNS client settings in Windows 2000 Server and
in Windows Server 2003 (including how-to configure a forwarder):
http://support.microsoft.com/default...b;en-us;825036

291382 - Frequently asked questions about Windows 2000 DNS and Windows
Server 2003 DNS
http://support.microsoft.com/default...b;en-us;291382

296379 - How to Disable NetBIOS on an Incoming Remote Access Interface
[Registry Entry]:
http://support.microsoft.com/?id=296379

292822 - Name Resolution and Connectivity Issues on Windows 2000 Domain
Controller with Routing and Remote Access and DNS Insta {DNS and RRAS and
unwanted IPs registering]:
http://support.microsoft.com/?id=292822
_________________________

--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

If this post is viewed at a non-Microsoft community website, and you were to
respond to it through that community's website, I may not see your reply
unless that website posts replies back to the original Microsoft forum.
Therefore, please direct all replies ONLY to the Microsoft public newsgroup
this thread originated in so all can benefit or ensure the web community
posts it back to the original forum.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft MVP - Windows Server Directory Services
Microsoft Certified Trainer
Infinite Diversities in Infinite Combinations.
=================================


 
Reply With Quote
 
bill tie
Guest
Posts: n/a

 
      12-05-2005, 08:15 AM

Ace,

Thank you for your reply.

Your recipe seems to facilitate name resolution. Alas, I'm still unable to
ping IP addresses from/to either side of the two-nic DC.

Any other suggestions?


> What firewall software are you using?


On my virtual machine, I'm emulating some Linux beast with Win2k3
NAT/Firewall.

> 1. ...set DNS to only listen on the private IP...


Had done so.

> 2. ...DnsAvoidRegisterRecords...


This is new to me, but OK.

> 3. ...LdapIpAddress and GcIpAddress...


Had done so.

> 4. ...RegisterDnsARecords...


Had done so.

> 5. ...Make sure the internal interface is at the top...


Had done so.

> 6. ...outer NIC, disable... WINS tab and disable NetBIOS.


Had done so. WINS not installed, hence ignored.

> 7. On the outer NIC, only put in the internal IP address
> of the DNS server (this machine).


I opt for "Use the following DNS addresses" blank. In DNS, machine name >
Properties > Forwarders...

> 8. ...configure a forwarder...


Had done so.


 
Reply With Quote
 
Ace Fekay [MVP]
Guest
Posts: n/a

 
      12-05-2005, 11:41 AM
In news:38268DCE-8D1B-4D32-B436-(E-Mail Removed),
bill tie <(E-Mail Removed)> made this post, which I then
commented about below:
> Ace,
>
> Thank you for your reply.
>
> Your recipe seems to facilitate name resolution.


Glad I was *somewhat* helpful.

> Alas, I'm still
> unable to ping IP addresses from/to either side of the two-nic DC.
>
> Any other suggestions?
>
>
>> What firewall software are you using?

>
> On my virtual machine, I'm emulating some Linux beast with Win2k3
> NAT/Firewall.


By "Virtual" you mean this installation or the host operating system?

Is this VPC VS or VMW?



>
>> 6. ...outer NIC, disable... WINS tab and disable NetBIOS.

>
> Had done so. WINS not installed, hence ignored.


I just m entioned the WINS tab becaues that is where you would disable
NetBIOS, and didnt mean any reference to WINS. This stops duplicate name
errors coming from itself.


>
>> 7. On the outer NIC, only put in the internal IP address
>> of the DNS server (this machine).

>
> I opt for "Use the following DNS addresses" blank. In DNS, machine
> name > Properties > Forwarders...


You mean the DNS entry is blank? Why?
I understand it will hit the internal NIC first,m then go here, so it's just
best practice to put the internal IP of the DNS server in it.

Since you are doing this with VPC, I guess we'll have to look at that factor
and ask how did you setup the interfaces in VPC, unless of course this is
VCW. I assume under the VPC settings you selected the actual NICs for the
interfaces?

If none of the stuff I mentioned helps, I would suggest to post into the
VirtualPC or VirtualServer group for specific VPC help, unless of course
this is VMWare.

Ace



 
Reply With Quote
 
bill tie
Guest
Posts: n/a

 
      12-06-2005, 11:56 AM

Ace,

Thank you for your post.

1. The ping problem is solved.

2. NetBIOS, as you would have it, is disabled.

3.
> You mean the DNS entry is blank? Why?
> I understand it will hit the internal NIC first,m then go here,
> so it's just best practice to put the internal IP of the DNS
> server in it.


I'm afraid I don't understand. Please, take a gander at the following:

[NAT/Firewall]
IP: 192.168.1.1
|
|
IP: 192.168.1.2
DG: 192.168.1.1
DNS: w.x.y.z <---- What exactly should be here?
[Win2k3 DC DNS]
IP: 10.1.0.1
DG: blank
DNS: 10.1.0.1
|
|
IP: 10.1.0.z
DG: 10.1.0.1
DNS: 10.1.0.1
[workstation]


 
Reply With Quote
 
Ace Fekay [MVP]
Guest
Posts: n/a

 
      12-06-2005, 11:50 PM
In news:77D80F59-C0B6-4B67-9227-(E-Mail Removed),
bill tie <(E-Mail Removed)> made this post, which I then
commented about below:
> Ace,
>
> Thank you for your post.
>
> 1. The ping problem is solved.
>
> 2. NetBIOS, as you would have it, is disabled.
>
> 3.
>> You mean the DNS entry is blank? Why?
>> I understand it will hit the internal NIC first,m then go here,
>> so it's just best practice to put the internal IP of the DNS
>> server in it.

>
> I'm afraid I don't understand. Please, take a gander at the
> following:
>
> [NAT/Firewall]
> IP: 192.168.1.1
> |
> |
> IP: 192.168.1.2
> DG: 192.168.1.1
> DNS: w.x.y.z <---- What exactly should be here?



The internal NIC's IP: 10.1.0.1

:-)

Ace


 
Reply With Quote
 
bill tie
Guest
Posts: n/a

 
      12-07-2005, 07:45 AM

I figured so, but I wanted to make sure you didn't mean 127.0.0.1.

Thank you, Ace.




 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      12-07-2005, 10:25 PM
Either of those will work. All that is important is that it uses the
local machine.

bill tie wrote:
> I figured so, but I wanted to make sure you didn't mean 127.0.0.1.
>
> Thank you, Ace.



 
Reply With Quote
 
Ace Fekay [MVP]
Guest
Posts: n/a

 
      12-08-2005, 12:03 AM
In news:%23G70Vb4%(E-Mail Removed),
Bill Grant <not.available@online> made this post, which I then commented
about below:
> Either of those will work. All that is important is that it uses
> the local machine.


Either will work for client-side resolution to the local machine, but it is
best practice to not use the local loopback. That was more than likely
configured by dcpromo since the machine was not configured to use itself
(assuming DNS was installed prior to dcpromo). If DNS not installed, dcpromo
when installing DNS will set the loopback in IP properties, along with any
thing else that was in there.

Also, using the actual IP and assuming a reverse zone was created, will
eliminate possible 40961 (SPNEGO) errors and the nslookup message that many
believe is an error saying it cannot reverse the name for the IP of your
DNS.

I set it to the actual IP as a best practice.

Ace



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
When Client Ping DC not respond,but when DC ping clients they resp ahmad Windows Networking 3 07-17-2007 07:44 PM
Ping 224.0.0.2 ping: sendmsg: Operation not permitted interessato@gmail.com Linux Networking 4 01-24-2006 02:47 AM
Ping from cron not having same effect as ping from console Dean Schulze Linux Networking 2 02-24-2004 08:10 PM
Some services working but can't ping (not ping-able) Micah Elliott Linux Networking 1 12-05-2003 09:47 AM
Windows ping and Linux ping command? tom Linux Networking 5 11-10-2003 08:52 PM



1 2 3 4 5 6 7 8 9 10 11