Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Add a route using a hostname in Windows XP

Posted on 2003-11-10
10
Medium Priority
?
1,698 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
10 Comments
 
LVL 41

Accepted Solution

by:
stevenlewis earned 172 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

704 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