Solved

Add a route using a hostname in Windows XP

Posted on 2003-11-10
10
1,616 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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
 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

777 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