Solved

Add a route using a hostname in Windows XP

Posted on 2003-11-10
10
1,583 Views
Last Modified: 2008-01-09
I have two computers conected to the same hub but with dynamic IPs that have different subnets. I'd like to add a static route using the hostname of each computer but rute command in windows XP only allow IP. Is there any way to add a static route using a hostname in Windows XP?
Thanx.
0
Comment
Question by:yo0mismo
  • 3
  • 2
  • 2
  • +1
10 Comments
 
LVL 41

Accepted Solution

by:
stevenlewis earned 43 total points
ID: 9719251
In a word, No
0
 
LVL 18

Expert Comment

by:chicagoan
ID: 9720145


You can have more than 1 ip address on an interface.
If they're in the same collision domain, add a static private ip address to each from an unused subnet and add a host file entry for the other machine.

0
 

Author Comment

by:yo0mismo
ID: 9724687
Yes, they are in the same collision domain, but the problem is that my internet provider uses DHCP. Surprisingly, Windows XP doesn't allow multiple IPs if you obtain the IP fron a DHCP server. How can I solve that?
0
 
LVL 4

Expert Comment

by:zookeepa1
ID: 9724971
...Maybe I'm missing something but why not just add a secondary statement into the host file?
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 18

Assisted Solution

by:chicagoan
chicagoan earned 42 total points
ID: 9726010
Your internet provider is providing two world routable addresses on different subnets to two machines on your network?

Use dynamic dns.
dyndns.org
You CAN specify alternate dns under dhcp and use their tool for updating the dns when your dhcp addresses change.
0
 

Author Comment

by:yo0mismo
ID: 9726801
I do use a dinamic DNS client (www.no-ip.com) so I have a hostname for each computer. And yes, the addresses given by the DHCP server of my internet provider for each computer are not part of the same subnet.
So, how can I fake XP to route traffic to each other computer? I have two static hostnames.
0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 9726827
Get a router, will make your life simpler
d-link and linksys make good ones for about $50 USD
0
 
LVL 18

Expert Comment

by:chicagoan
ID: 9726962
If you have a DNS entry, you only need to use the hostnames.
Entering your dynamic DNS provider's DNS server will eliminate the latency in DNS propagation to your ISP's DNS when your address changes.

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Article by: IanTh
Hi Guys After a whole weekend getting wake on lan over the internet working, I thought I would share the experience. Your firewall has to have a port forward for port 9 udp to your local broadcast x.x.x.255 but if that doesnt work, do it to a …
Some time ago I was asked to set up a web portal PC to put at our entrance. When customers arrive, they could see a webpage 'promoting' our company. So I tried to set up a windows 7 PC as a kiosk PC.......... I will spare you all the annoyances I…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now