yccheok
asked on
why address refer to router and not private address of machine
i am running win xp behind a broadband->modem->router.
i setup up my IIS port TCP port to 1515.
my computer name is yccheok
when i type, "http://localhost:1515" in my web broswer, fine, it works!
when i type, "http://yccheok:1515" in my web broswer, fine, it works!
however, when i type, "http://10.0.0.9:1515" in my web broswer, OPPs, it does not works!
it will prompt out a dialog box requires me to enter username (with 10.0.0.9\admin as default) and password.
strange. it look like my broswer is dialing to the router. however, 10.0.0.9 is not my router address. (my router address is 10.0.0.2)
i run ipconfig and ping yccheok, they give me the result of following:
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 10.0.0.9
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.2
Pinging yccheok [10.0.0.9] with 32 bytes of data:
Reply from 10.0.0.9: bytes=32 time<1ms TTL=128
Reply from 10.0.0.9: bytes=32 time<1ms TTL=128
Reply from 10.0.0.9: bytes=32 time<1ms TTL=128
Reply from 10.0.0.9: bytes=32 time<1ms TTL=128
Ping statistics for 10.0.0.9:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
it seems that 10.0.0.9 is my private address. 10.0.0.2 is my router address.
please note that i didnt use any port forwarding in my router. ya, i do use NAT in my router.
may i know how can i solve this problem by enable me to take 10.0.0.9:1515 to refer to the IIS server. not router.
thank you.
regards
yan cheng
i setup up my IIS port TCP port to 1515.
my computer name is yccheok
when i type, "http://localhost:1515" in my web broswer, fine, it works!
when i type, "http://yccheok:1515" in my web broswer, fine, it works!
however, when i type, "http://10.0.0.9:1515" in my web broswer, OPPs, it does not works!
it will prompt out a dialog box requires me to enter username (with 10.0.0.9\admin as default) and password.
strange. it look like my broswer is dialing to the router. however, 10.0.0.9 is not my router address. (my router address is 10.0.0.2)
i run ipconfig and ping yccheok, they give me the result of following:
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 10.0.0.9
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.2
Pinging yccheok [10.0.0.9] with 32 bytes of data:
Reply from 10.0.0.9: bytes=32 time<1ms TTL=128
Reply from 10.0.0.9: bytes=32 time<1ms TTL=128
Reply from 10.0.0.9: bytes=32 time<1ms TTL=128
Reply from 10.0.0.9: bytes=32 time<1ms TTL=128
Ping statistics for 10.0.0.9:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
it seems that 10.0.0.9 is my private address. 10.0.0.2 is my router address.
please note that i didnt use any port forwarding in my router. ya, i do use NAT in my router.
may i know how can i solve this problem by enable me to take 10.0.0.9:1515 to refer to the IIS server. not router.
thank you.
regards
yan cheng
please post the results of tracert 10.0.0.9
sorry, also please post output of nslookup yccheok
ASKER
C:\Documents and Settings\Yan Cheng>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : yccheok
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 3Com Gigabit LOM (3C940)
Physical Address. . . . . . . . . : 00-0C-6E-61-94-86
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.0.0.9
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.2
DHCP Server . . . . . . . . . . . : 10.0.0.2
DNS Servers . . . . . . . . . . . : 10.0.0.2
Lease Obtained. . . . . . . . . . : Wednesday, March 24, 2004 9:56:10 AM
Lease Expires . . . . . . . . . . : Tuesday, March 30, 2004 9:31:10 PM
C:\Documents and Settings\Yan Cheng>nslookup yccheok
*** Can't find server name for address 10.0.0.2: Non-existent domain
*** Default servers are not available
Server: UnKnown
Address: 10.0.0.2
*** UnKnown can't find yccheok: Non-existent domain
C:\Documents and Settings\Yan Cheng>tracert 10.0.0.9
Tracing route to yccheok [10.0.0.9]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms yccheok [10.0.0.9]
Trace complete.
Windows IP Configuration
Host Name . . . . . . . . . . . . : yccheok
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 3Com Gigabit LOM (3C940)
Physical Address. . . . . . . . . : 00-0C-6E-61-94-86
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.0.0.9
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.2
DHCP Server . . . . . . . . . . . : 10.0.0.2
DNS Servers . . . . . . . . . . . : 10.0.0.2
Lease Obtained. . . . . . . . . . : Wednesday, March 24, 2004 9:56:10 AM
Lease Expires . . . . . . . . . . : Tuesday, March 30, 2004 9:31:10 PM
C:\Documents and Settings\Yan Cheng>nslookup yccheok
*** Can't find server name for address 10.0.0.2: Non-existent domain
*** Default servers are not available
Server: UnKnown
Address: 10.0.0.2
*** UnKnown can't find yccheok: Non-existent domain
C:\Documents and Settings\Yan Cheng>tracert 10.0.0.9
Tracing route to yccheok [10.0.0.9]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms yccheok [10.0.0.9]
Trace complete.
ASKER
additional information, i am using DHCP server with start address is 10.0.0.4 to 10.0.0.15. thx.
regards
yan cheng
regards
yan cheng
ASKER
oh, i had make some mistake in the 1st post, i am running win xp behind a broadband->modem(with built-in router)->switch. really sorry for tat.
thank you.
regards
yan cheng
thank you.
regards
yan cheng
Right, it seems that XP is trying to do an IP to name resolution, but as the Router is a caching only DNS system, that will not work.
The only way around this is to have a local DNS server, or to insert an entry in the arp cache.
arp -s <macaddress> <ipaddress> may work.
The only way around this is to have a local DNS server, or to insert an entry in the arp cache.
arp -s <macaddress> <ipaddress> may work.
ASKER
hi folks, i think i make a mistake. since there is a configuration on IIS/ default ASP page which it will prompt user for username and password when it detect the request are not from LAN :P the password prompt are from ASP page itself, not router :P
i solve the problem oledi
thank you.
regards
yan cheng
i solve the problem oledi
thank you.
regards
yan cheng
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
it may give you a clue.
also, try tracert 10.0.0.9