• March 29, 2024, 08:29:51 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Route website name to local IP  (Read 6757 times)

whitenexus

  • Level 1 Member
  • *
  • Posts: 4
Route website name to local IP
« on: October 07, 2011, 03:33:46 PM »

I'm trying to have a website name:  remote.test.com  route to a local IP address but can't seem to get it working with this router.  I don't want to use the windows hosts file as there are different Operating Systems that will connect and so routing though this D-Link is the only option. 

I have my wireless router connected to a separate network switch though it's WAN port where other computers sit as well as the target machine.  I can use the internet as normal like this so things are working fine.

I have gone into the Advanced > Routing of this D-Link and set the following but can't get it to work:
Name: remote.test.com
Destination IP: 192.168.1.2  (this is hard coded into the destination machine)
Netmask: 255.255.255.0
gateway: 192.168.1.2

The wireless gives out addresses from 192.168.0.100-150.  I can ping the destination machine from the command prompt. 


How do i get this working?
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Route website name to local IP
« Reply #1 on: October 08, 2011, 10:30:02 AM »

How is your network set up? It's preferred to use the following:
ISP Modem> DIR router> external switch<PCs and devices connected to switch for wired connections.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

whitenexus

  • Level 1 Member
  • *
  • Posts: 4
Re: Route website name to local IP
« Reply #2 on: October 10, 2011, 10:49:53 AM »

I have a setup where it's Modem > router with various switches for different groups of computers.  From this switch is where the 601 wireless is plugged in so it groups special wireless users that connect to it into a group.  This setup is what i have to use. 

So, back to my original question, how do i make this dlink 601 forward requests to a WAN IP address (up one level but still a local IP 192.x.x.x)?  I went into Advanced > Routing but after entering the website and IP it won't work.  Where should i be entering this?  Any examples?
Logged

Hard Harry

  • Guest
Re: Route website name to local IP
« Reply #3 on: October 11, 2011, 06:03:41 PM »

I am not understanding what you are trying to do. Routing is to assign a device on your LAN a IP which is obtained from the DHCP server on what ever network the WAN port on the 601 plugs into. It can't conflict with the range your router's own DHCP servers uses though.

But I need to know way more info then that to actually help you. What are you using for your DNS? Do you have the server on the 601 or outside of it? Is it a web server? Mail server? What ports? What OS? You asked for a 1000 dollar answer but only gave me 43 cents of information. :-)
Logged

Hard Harry

  • Guest
Re: Route website name to local IP
« Reply #4 on: October 12, 2011, 07:54:40 PM »

No reply  :'(

Now you have me curious. ??? ???
Logged

whitenexus

  • Level 1 Member
  • *
  • Posts: 4
Re: Route website name to local IP
« Reply #5 on: October 17, 2011, 07:55:07 AM »

Have been away so don't read anything into the "No reply"

Since I'm routing a website name to a local IP this is for a web server on port 80.  The server has a static 192.0.x.x IP.  DNS and DHCP are handled by another device for all of the computers; the 601 is assigned a static IP in that network and it's clients are assigned to a different IP block.

This networking concept is not hard as I have done this on several different networks with other routers.  The problem is the 601 won't forward the given request to a specific IP through it's WAN port OR I can't where to set this up at in the 601.  From the 601 interface, I can ping the destination IP address successfully so connection is not a problem. 

Is it possible for this device to route a website name to an IP?  If not, let me know and I'll return this product.
Logged

Hard Harry

  • Guest
Re: Route website name to local IP
« Reply #6 on: October 17, 2011, 06:06:38 PM »

Yea, I suggest you return this router. You are trying to use it in a way that is well beyond it's design.
Logged

whitenexus

  • Level 1 Member
  • *
  • Posts: 4
Re: Route website name to local IP
« Reply #7 on: October 18, 2011, 09:37:34 AM »

Thanks, will do.
Logged