Solved

Connecting to a default gateway on a different subnet

Posted on 2013-06-13
4
1,029 Views
Last Modified: 2013-06-13
I am setting up a test domain at my office. I have an old Windows server with 2008 as a new domain and new forest. We use a B Class subnet for our main network. I would like to configure this test domain to use a straight C network (/24).

I set up the new server to use 192.168.240.5/24. Obviously, it cannot reach our default gateway: 172.16.0.1/16.

I was told that I could list the test server's ip as the default gateway (in the server's TCP/IP connection settings) and manually add a route from the server to the default gateway. This would, theorectically, enable connectivity to the default gateway.

I've tried "route add 0.0.0.0 mask 0.0.0.0 172.16.0.1", "route add 0.0.0.0 mask 255.255.255.0", and "route add 0.0.0.0 mask 255.255.0.0 172.16.0.1". No luck.

I have verified internet connectivity when the server is on the standard (B class) subnet.

Is what I am attempting possible? Any help would be appreciated. Thanks in advance.
0
Comment
Question by:ecshelpdesk
  • 2
  • 2
4 Comments
 
LVL 24

Accepted Solution

by:
Ken Boone earned 500 total points
ID: 39245441
The default gateway and any other routes default or not that you configure must have a next hop ip address of something on THAT devices network.   There are special cases where you could do recursive routing, which is what it sounds like you were told to do.  But even so at some point in the recursion it must resolve to a route that has a next hop of something on your network.  That is why its called a gateway.  It is a gateway that lets you go to another network.  So at some point you must have a layer 3 interface on the new network that can route to the existing network.
0
 
LVL 1

Author Closing Comment

by:ecshelpdesk
ID: 39245647
Thanks! That got me started on the right path:

I found an old router, disabled DHCP, plugged in the server and a test computer into two of the ports, and plugged a cable from our main network into the "Modem" slot. The router picked up a dhcp address for the WAN and I statically set the two terminals to use the new router as a default gateway. It's working fine.

Follow up, though:

I disabled DHCP because I was concerned the router would start assigning addresses over the WAN. But, thinking about, that does not seem likely. The router's DHCP service (I believe) would only be applied "downstream". It would only apply to the wireless broadcast and to client ports. It would not try to assign dhcp through the wire connected to its "Modem" port (the WAN). Does that seem correct?
0
 
LVL 24

Expert Comment

by:Ken Boone
ID: 39245667
Not sure what the router is but that sounds right.  It typically would only act as a dhcp server for the local lan and local wireless clients.
0
 
LVL 1

Author Comment

by:ecshelpdesk
ID: 39245751
Great, thanks!
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

912 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now