• October 14, 2019, 08:14:45 AM
  • 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 5762 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: 47834
  • 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:200mb/10Mb>NetGear C7800>DIR-882>DGS-1100>HP 24pt Gb Switch. COVR-3902/2202/1203,DIR-2680,890L,882,880L,868L,DNR-202L,DNS-345x2,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting

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