| Author |
Message |
Frederik
Guest
|
Posted:
Mon Dec 20, 2004 5:43 pm Post subject:
Computer Name To IP |
|
|
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 |
|
| Back to top |
|
 |
Niclas Lindblom
Guest
|
Posted:
Mon Dec 20, 2004 6:39 pm Post subject:
Re: Computer Name To IP |
|
|
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
"Frederik" <aerts_frederik@hotmail.com> wrote in message
news:uGnz8Fp5EHA.2012@TK2MSFTNGP15.phx.gbl...
| Quote: | 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
|
|
|
| Back to top |
|
 |
Frederik
Guest
|
Posted:
Mon Dec 20, 2004 8:21 pm Post subject:
Re: Computer Name To IP |
|
|
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
| Quote: | "Niclas Lindblom" <NOSPAMlindblom_niclas@hotmail.com> wrote
in message news:%23LyO6lp5EHA.1524@TK2MSFTNGP09.phx.gbl...
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 |
|
|
| Back to top |
|
 |
serge calderara
Guest
|
Posted:
Mon Dec 20, 2004 9:41 pm Post subject:
Re: Computer Name To IP |
|
|
Hi frederik,
Are you able to access default IIS wesite by typing the following:
http://cpuA/tsweb
http://cpuA/printers
Serge
MCP
"Frederik" wrote:
| Quote: | 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
"Niclas Lindblom" <NOSPAMlindblom_niclas@hotmail.com> wrote
in message news:%23LyO6lp5EHA.1524@TK2MSFTNGP09.phx.gbl...
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
|
|
|
| Back to top |
|
 |
Frederik
Guest
|
Posted:
Mon Dec 20, 2004 10:04 pm Post subject:
Re: Computer Name To IP |
|
|
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
|
|
| Back to top |
|
 |
Rulin Hong
Guest
|
|
| Back to top |
|
 |
Frederik
Guest
|
Posted:
Tue Dec 21, 2004 3:08 am Post subject:
Re: Computer Name To IP |
|
|
No success either :-(
"Rulin Hong" <RulinHong@discussions.microsoft.com> wrote in message
news:5BCE7796-5B49-43E9-AB02-A42C6D98D36D@microsoft.com...
> Try http://cpuA.workgroupName/<rest_of_address> |
|
| Back to top |
|
 |
serge calderara
Guest
|
Posted:
Tue Dec 21, 2004 12:23 pm Post subject:
Re: Computer Name To IP |
|
|
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:
| Quote: | 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
"serge calderara" wrote
Hi frederik,
Are you able to access default IIS wesite by typing the following:
http://cpuA/tsweb
http://cpuA/printers
Serge
MCP
|
|
|
| Back to top |
|
 |
Frederik
Guest
|
Posted:
Tue Dec 21, 2004 12:23 pm Post subject:
Re: Computer Name To IP |
|
|
| Quote: | "serge calderara" <sergecalderara@discussions.microsoft.com> wrote...
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 |
|
| Back to top |
|
 |
serge calderara
Guest
|
Posted:
Thu Dec 23, 2004 4:07 am Post subject:
Re: Computer Name To IP |
|
|
All rigth so you definitly needs dns server for name resolution.
sometime routers have this feature integrated but sound n ot your case
serge
"Frederik" wrote:
| Quote: | Hi Serge,
No, http://cpuA does not display the default site (error). Though \\cpuA
displays the shared folders on cpuA. Seems weird!
Regards,
Fre
"serge calderara" <serge calderara@discussions.microsoft.com> wrote
HI,
When you type from CPUB htp://cpuA does it display the default web site ?
|
|
|
| Back to top |
|
 |
|
|
|
|