Networking Forums

Networking Forums > Computer Networking > Windows Networking > pinging hostnames

Reply
Thread Tools Display Modes

pinging hostnames

 
 
bill tie
Guest
Posts: n/a

 
      07-02-2005, 11:39 AM

I'm a networking novice.

I've three machines. I can ping them by IP addresses. I can't ping them by
names.

This is the setup:

Win2k3-West ----- Win2k3-Router ----- Win2k3-East-DC

[1]
Machine name: Win2k3-West
IP address: 172.16.1.2
Mask: 255.255.255.0
Default gway: 172.16.1.1
Pref. DNS: 127.0.0.1

[2]
Machine name: Win2k3-Router
RRAS enabled

IP address: 172.16.1.1
Mask: 255.255.255.0
Default gway: blank
Pref. DNS: 127.0.0.1

IP address: 172.16.2.1
Mask: 255.255.255.0
Default gway: blank
Pref. DNS: 127.0.0.1

[3]
Machine name: Win2k3-East-DC
Domain controller

IP address: 172.16.2.2
Mask: 255.255.255.0
Default gway: 172.16.2.1
Pref. DNS: 127.0.0.1

From Win2k3-West, I can ping 172.16.2.2. I can't ping Win2k3-East-DC.
From Win2k3-East-DC, I can ping 172.16.1.2. I can't ping Win2k3-West.

I will appreciate your help.

Thank you.

 
Reply With Quote
 
 
 
 
Robert L [MS-MVP]
Guest
Posts: n/a

 
      07-02-2005, 04:49 PM
which one is your DNS server? use the real DNS server IP instead of 127.0.0.1. also you may try to enable NetBIOS over tcp/ip.

Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.
Don't send e-mail or reply to me except you need consulting services. Posting on MS newsgroup will benefit all readers and you may get more help.
"bill tie" <(E-Mail Removed)> wrote in message news:5CAC9644-EF90-42EE-8C86-(E-Mail Removed)...

I'm a networking novice.

I've three machines. I can ping them by IP addresses. I can't ping them by
names.

This is the setup:

Win2k3-West ----- Win2k3-Router ----- Win2k3-East-DC

[1]
Machine name: Win2k3-West
IP address: 172.16.1.2
Mask: 255.255.255.0
Default gway: 172.16.1.1
Pref. DNS: 127.0.0.1

[2]
Machine name: Win2k3-Router
RRAS enabled

IP address: 172.16.1.1
Mask: 255.255.255.0
Default gway: blank
Pref. DNS: 127.0.0.1

IP address: 172.16.2.1
Mask: 255.255.255.0
Default gway: blank
Pref. DNS: 127.0.0.1

[3]
Machine name: Win2k3-East-DC
Domain controller

IP address: 172.16.2.2
Mask: 255.255.255.0
Default gway: 172.16.2.1
Pref. DNS: 127.0.0.1

From Win2k3-West, I can ping 172.16.2.2. I can't ping Win2k3-East-DC.
From Win2k3-East-DC, I can ping 172.16.1.2. I can't ping Win2k3-West.

I will appreciate your help.

Thank you.

 
Reply With Quote
 
bill tie
Guest
Posts: n/a

 
      07-02-2005, 05:28 PM

Robert,

Thank you for your reply.

> which one is your DNS server?


I have DNS running on Win2k3-East-DC. Should there be something else in my
setup? Where?

> you may try to enable NetBIOS over tcp/ip


I investigated this before my first post. How do I enable NetBIOS? On
which machines?

 
Reply With Quote
 
Jonny
Guest
Posts: n/a

 
      07-02-2005, 09:01 PM
Hi Bill

Ensure the other machines have the DNS server IP address in the TCP/IP
settings. Also ensure that the other machines have A records in the DNS
server. If you're using DHCP then it is most likely (due to dynamic DHCP)
that the A record already exists.

If you enable Netbios on all of the machines it's a much easier protocol and
you don't have to go adding host names to DNS lists and the name resolution
works automatically

Good luck

Jonny

"bill tie" <(E-Mail Removed)> wrote in message
news:543D8CFB-8328-4CA5-AB6B-(E-Mail Removed)...
>
> Robert,
>
> Thank you for your reply.
>
>> which one is your DNS server?

>
> I have DNS running on Win2k3-East-DC. Should there be something else in
> my
> setup? Where?
>
>> you may try to enable NetBIOS over tcp/ip

>
> I investigated this before my first post. How do I enable NetBIOS? On
> which machines?
>



 
Reply With Quote
 
bill tie
Guest
Posts: n/a

 
      07-02-2005, 11:43 PM

Jonny,

Thank you for your reply.

The setup:

Win2k3-West ----- Win2k3-Router ----- Win2k3-East-DC

[1]
Machine name: Win2k3-West
IP address: 172.16.1.2
Mask: 255.255.255.0
Default gway: 172.16.1.1
Pref. DNS: 172.16.1.1

- This machine is in a workgroup.

[2]
Machine name: Win2k3-East-DC

IP address: 172.16.2.2
Mask: 255.255.255.0
Default gway: 172.16.2.1
Pref. DNS: 172.16.2.1

- This machine has DHCP, DNS and Active Directory.
- The domain name is "company.local".

[3]
Machine name: Win2k3-Router

IP address: 172.16.1.1
Mask: 255.255.255.0
Default gway: blank
Pref. DNS: blank

IP address: 172.16.2.1
Mask: 255.255.255.0
Default gway: blank
Pref. DNS: blank

- I installed DNS on this machine.
- In Forward Lookup Zones, I created "company.local" zone of type secondary.
- In Forward Lookup Zones, I created "win2k3-west" zone of type standard
primary.

[4]
All four interfaces have under "Advanced TCP/IP Settings" > "WINS" > Enable
NetBIOS over TCP/IP checked.

[5]
From Win2k3-West, I can ping win2k3-east-dc.company.local. I can't ping
win2k3-east-dc.
From Win2k3-East-DC, I can't ping win2k3-west.

What am I missing?

 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      07-03-2005, 12:42 AM
The bit about Netbios isn't strictly true. It will not just work in this
case. Name resolution using Netbios relies on LAN broadcasts. These servers
are not all in the same IP subnet, so name resolution by broadcast will
fail. You would need a WINS server for it to work.

Jonny wrote:
> Hi Bill
>
> Ensure the other machines have the DNS server IP address in the TCP/IP
> settings. Also ensure that the other machines have A records in the
> DNS server. If you're using DHCP then it is most likely (due to
> dynamic DHCP) that the A record already exists.
>
> If you enable Netbios on all of the machines it's a much easier
> protocol and you don't have to go adding host names to DNS lists and
> the name resolution works automatically
>
> Good luck
>
> Jonny
>
> "bill tie" <(E-Mail Removed)> wrote in message
> news:543D8CFB-8328-4CA5-AB6B-(E-Mail Removed)...
>>
>> Robert,
>>
>> Thank you for your reply.
>>
>>> which one is your DNS server?

>>
>> I have DNS running on Win2k3-East-DC. Should there be something
>> else in my
>> setup? Where?
>>
>>> you may try to enable NetBIOS over tcp/ip

>>
>> I investigated this before my first post. How do I enable NetBIOS? On
>> which machines?



 
Reply With Quote
 
bill tie
Guest
Posts: n/a

 
      07-03-2005, 08:18 AM

Bill,

Thank you for joining in. I know you from the Virtual PC newsgroup. In
fact, the three machines are VMs.

[1]
> You would need a WINS server for it to work.


On which of the three machines should I install WINS?

[2]
- Win2k3-East is in a workgroup. Should I put it into a domain of its own?
- What's the best way/setup to get Win2k3-East and Win2k3-West-DC to talk to
one another?

 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      07-04-2005, 04:24 AM
I wouldn't use WINS at all. DNS should do what you want. And your setup
with a multihomed server connecting the two subnets is not a great idea with
Netbios names.

If you are running a domain you must already have DNS. Setting all
machines to use that DNS server and register with it should get you going.

bill tie wrote:
> Bill,
>
> Thank you for joining in. I know you from the Virtual PC newsgroup.
> In fact, the three machines are VMs.
>
> [1]
>> You would need a WINS server for it to work.

>
> On which of the three machines should I install WINS?
>
> [2]
> - Win2k3-East is in a workgroup. Should I put it into a domain of
> its own?
> - What's the best way/setup to get Win2k3-East and Win2k3-West-DC to
> talk to one another?



 
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
Re: hostnames Meinolf Weber [MVP-DS] Windows Networking 1 03-15-2010 05:25 AM
Re: hostnames Meinolf Weber [MVP-DS] Windows Networking 0 03-14-2010 06:51 PM
Using hostnames in iptables David Brown Linux Networking 4 03-18-2008 03:59 PM
Can I use hostnames with only DHCP, no DNS? Brian Kendig Linux Networking 4 11-23-2007 03:11 PM
can I have 1 box with 2 NICs and 2 hostnames? Kev Linux Networking 7 10-24-2003 12:27 PM



1 2 3 4 5 6 7 8 9 10 11