Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

routing using win98 to another ip on lan

Posted on 2003-03-14
12
Medium Priority
?
310 Views
Last Modified: 2010-03-18
Have win98 machine connected to the net using dialup with fixed ip.

The IP of this machine is 192.168.0.200.
Want to route requests to another machine on lan which has webserver running.
The ip of this machine is 192.168.0.4.

The end requirement is to access website on machine with
ip 192.168.0.4 port 8080.

I believe i need to use route add etc. etc. and change key in regedit.
0
Comment
Question by:tyedog
  • 5
  • 2
  • 2
  • +1
10 Comments
 
LVL 6

Expert Comment

by:SlyDog
ID: 8139909
You don't need to route when you're on the same segment.
If I understand your question correctly, you're trying to access a webpage on the server, and you can't get to it because it can't find www.servername.com:8080 correct?
If so, the easiest way to do that is add the IP and server name to your hosts file on the Win98 box. That way, it can resolve www.servername.com:8080 to 192.168.0.4.
0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 8140142
what subnet mask are you using on your network(s)
0
 
LVL 3

Expert Comment

by:netnightmare
ID: 8140360
Surely you wont be able to route anyone to you webserver as it has a hidden internal IP and not a public one. The only way you would be able to do this is to have a static IP assigned by your ISP.

Steve, is this the case or am I mistaken?

Dave
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
LVL 41

Expert Comment

by:stevenlewis
ID: 8140396
Dave, you can route on/in an internal LAN
Now if the questioner wants external access to the server, and is using NAT, then they need to forward port 8080
but from what I read, they just want internal access, and if using custom subnets, then they need to route. If using the default subnet for class c (255.255.255.0) then they don't need to route, and should just be able to access by ip (and as stated by SlyDog to resolve the host name, use a hosts file)
0
 

Author Comment

by:tyedog
ID: 8142368
Thanks for your comments.
Sorry I did not provide enough info.

I do want to have extenal access to the webserver and the ISP has assigned a static ip.

Subnet masks are 255.255.255.0

Please expand on hosts file?

Thanks
0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 8142407
OK, if the subnet mask is 255.255.255.0 then for internal access by name (not ip address you need to add an entry tot he hosts file as advised
some info on the hosts file
NT
location
C:\WINNT\SYSTEM32\DRIVERS\ETC\hosts
also see here
http://www.smartin-designs.com/
here
http://www.smartin-designs.com/hosts_info_left.htm
and here
http://www.octopus.iastate.edu/files/11edit_hostfile.html
9x http://www.brother.com/european/networking/chapter18/chapter18_tcpip-hosts-file.html

Note: the file is named hosts not hosts.sam (this is a sample file that windows will not use)
and the entry will be something like this
192.168.0.4    www.whatever.com
where whatever.com is the name you have given

now external access will be trickier
you will have to have access to the router that connects your internal network to the internet and forward the port (usually 80) to 192.168.0.4
then there is the matter of registering your domain name and having your isp add it to it's dns server
or you could check out
www.dyndns.org
0
 

Author Comment

by:tyedog
ID: 8150348
Further to last comment.

The router is a win98 machine as mentioned in my question.
How do i route using win98 - do i use "route add"?

If so what entries do i need to make?

This machine is coonected to the web using proxy server software. 602 pro.

Accessing the machine both internally and externally by ip address is not a problem.
0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 8155392
Ah, I think I see, you want external access to the web server, and are using 602 pro to share the connection
YOu will have to read the documentation to find out how to forward the port(s) you need
http is port 80
I assume the web server is not the same machine that 602 is installed on.
0
 
LVL 41

Accepted Solution

by:
stevenlewis earned 1000 total points
ID: 8155421
0
 
LVL 6

Assisted Solution

by:SlyDog
SlyDog earned 1000 total points
ID: 8156932
I read through some of the 602pro docs (thanks for the leg work Steven), and the mapped links appear to be outbound only, not inbound. You should probably ask Software602 if their product allows inbound port mapping, I.E. port 80 on the win98 box to port 8080 on your web server (or whatever port you like).

As for the 'route add' question, this won't fix the problem. Routing is a way to tell a machine how to get to an IP that's not part of it's segment. Since the win98 and web server boxes are on the same segment, this isn't an routing issue.

You're on the right track with the 602 software though. Check Steven's references to the 'mapped links', hopefully I'm wrong, and 602 does do inbound redirection.

Good luck, keep slugging away!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

578 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