Computer Name To IP

F

Frederik

Hi all,

Situation:
- 2 computers behind router/switch;
- dhcp enabled on router;
- computer name 1 = cpuA (WinXP Pro);
- computer name 2 = cpuB (WinXP Home);
- cpuA and cpuB can access each other's resources;
- cpuA runs IIS with asp.net website;
- cpuA and cpuB are in the same workgroup and have
equal subnet masks.

Problem:
How can cpuB always get access to the asp.net
website 'being served' on cpuA without
knowing the IP of cpuA (which is always
changing). I tried: "http://cpuA/<rest_of_address>"
and "\\cpuA\<rest_of_address>" but both without
any luck. It does work when I use the IP address
instead (http://<IP>/<rest_of_address>).
Do I need to add some dns stuff to get it working?

Regards and thanks for your time,
Frederik
 
N

Niclas Lindblom

Hi,

Since both machines are on the same subnet, this is not related to name
resolution. Try the following:

On the "Web Site" tab in IIS on your website, click the advanced tab and add
cpuA. Then the site will respond to reuqests to http://cpuA

Regards

Niclas
 
F

Frederik

Hi Niclas,

Thanks for your answer, but it did not work.
Even worse, I can no longer access the website on cpuA from cpuB using the
ip address.
Pinging from both computers using ip or cpu name works still fine.
Seems like I messed it up, but I donno how :-(

Any help is appreciated,
Frederik
 
F

Frederik

Hi Serge,

"http://cpuA/printers/" works fine on cpuA (server), but not on cpuB
(client).
Could it have something to do with the fact that I use "Integrated Windows
Authentication" (although it did work in the past)?

Regards,
Frederik
 
G

Guest

hi,

Default settings for IIS on autentification works fine in the way you plan
to use it.
Anonymous access ON
Allow IIS to control password ON
Intergrated Windows authentification ON

Could you run an IPCONFIG /ALL on both machine and post the results

thnaks
Serge
 
F

Frederik

serge calderara said:
hi,
Default settings for IIS on autentification works fine in the way you plan
to use it.
Anonymous access ON
Allow IIS to control password ON
Intergrated Windows authentification ON
Could you run an IPCONFIG /ALL on both machine and post the results
thnaks
Serge
"Frederik" wrote:

Hi Serge,

Here follows is what you asked.

Regards,
Frederik


* IPCONFIG /ALL for cpuA: (server winxp pro) *

Windows IP Configuration
Host Name . . . . . . . . . . . . : cpuA
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter WWW:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast
Ethernet NIC #2
Physical Address. . . . . . . . . : 00-50-BF-DC-4A-14
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.2.92
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.1
DHCP Server . . . . . . . . . . . : 192.168.2.1
DNS Servers . . . . . . . . . . . : 192.168.2.1
Lease Obtained. . . . . . . . . . : dinsdag 21 december 2004 8:47:23
Lease Expires . . . . . . . . . . : dinsdag 28 december 2004 8:47:23

* IPCONFIG /ALL for cpuB: (client winxp home) *

Windows IP-configuratie
Host-naam . . . . . . . . . . . .: cpuB
Primair DNS-achtervoegsel. . . . .:
Knooppunttype . . . . . . . . . . : gemengd
IP-routering ingeschakeld. . . . .: nee
WINS-proxy ingeschakeld . . . . . : nee

Ethernet-adapter LAN-verbinding:
Verbindingsspec. DNS-achtervoegsel:
Beschrijving . . . . . . . . . . .:
Broadcom 440x 10/100 Integrated Controller
Fysiek adres. . . . . . . . . . . : 00-0F-1F-0E-72-5C
DHCP ingeshakeld. . . . . . . . . : ja
Autom. configuratie ingeschakeld. : ja
IP-adres. . . . . . . . . . . . . : 192.168.2.76
Subnetmasker. . . . . . . . . . . : 255.255.255.0
Standaardgateway. . . . . . . . . : 192.168.2.1
DHCP-server . . . . . . . . . . . : 192.168.2.1
DNS-servers . . . . . . . . . . . : 192.168.2.1
Lease verkregen . . . . . . . . . : dinsdag 21 december 2004
10:45:33
Lease verlopen . . . . . . . . . : maandag 27 december 2004
17:56:01
 
G

Guest

Hi,

You mentionned in your previous mail that it has work in the past ???
do u remember changes you may have made during that time, did you change
some protocole, some ip adressing, router settings ?

Your router is also set as DNS server, from CPUB are you able to ping CPUA
with its name instead of IP adress ?

try to run ipconfig /flushdns on your CPUB machine

serge
 
F

Frederik

Hi Serge,

In the past I used a static ip. But for some reasons I made a change to
dynamic ip. That's about the only thing I changed.

From the commandline of cpuB I did run "ping cpuA" with success. I also did
run "ipconfig /flushdns"; what gave me something like "resolved with
success".

Regards,
Frederik
 
G

Guest

Hi,

I would love to reproduce your problem from my side but I am not able to get
XP home edition;
By the way, does your browser return any error when you try to access from
CPUB ?
 
F

Frederik

Hi Serge,

No, http://cpuA does not display the default site (error). Though \\cpuA
displays the shared folders on cpuA. Seems weird!

Regards,
Fre
 
F

Frederik

Hi all,

The problem is solved, but 'created' a new problem.
It has something to do with my firewall (sorry :eek:) (Windows FW that comes
with WinXP SP2). Stopping my FW made the website accessible in my local
intranet. But since the firewall is a necessity, it should run. But how do I
configure 'Windows FireWall' so the other computers in my network can get
access to my asp.net pages?

Thanks,
Frederik
 
F

Frederik

Hi all,
The problem is solved, but 'created' a new problem.
It has something to do with my firewall (sorry :eek:) (Windows FW that comes
with WinXP SP2). Stopping my FW made the website accessible in my local
intranet. But since the firewall is a necessity, it should run. But how do
I configure 'Windows FireWall' so the other computers in my network can
get access to my asp.net pages?
Thanks,
Frederik

Me again,

Just to let you know I found the answer to my own question on the following
site:
http://www.windowsecurity.com/articles/Customizing-Windows-Firewall.html
[Scenario 2]

Thanks to the people trying to help solving my question.
I'm happy that it works fine now.
Frederik
 
G

Guest

All rigth so you definitly needs dns server for name resolution.
sometime routers have this feature integrated but sound n ot your case

serge
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,177
Latest member
OrderGlucea
Top