Manual Routing for specific Internet IP ranges
Hi,I have a handful of servers in a location where all access is done through a router that connects them to a WAN where many other servers are located. The servers in location A are in subnet 10.1.1.0, with the default gateway currently set to 10.1.1.254. I'll refer to the network on the other side of the router as location B. There are many subnets and even a proxy server for Internet access at location B. However, I need to run 2 applications on the servers at location A and have them access only a specific range of IP addresses on the Internet and they can't go through the proxy server. Therefore, we have a broadband connection at location A with a broadband router set to 10.1.1.250. The default route of 0.0.0.0 MASK 0.0.0.0 10.1.1.254 METRIC 20 is set on all servers in location A. I want to have all traffic going to destination 208.65.130.0 to go out the DSL router to the Internet, but everything else go through the default gateway.I tried to do:ROUTE ADD 208.65.130.0 MASK 255.255.255.0 10.1.1.250 METRIC 10When I did a tracert, though, for 208.65.130.x, it still showed it trying to go through 10.1.1.254 instead of 10.1.1.250. Am I way off for what I'm trying to to, or is this not even possible?Thank you for any help you can provide for this!--Kent
October 17th, 2008 7:57am

That is a good start. What have you done at the other end? Routing is a two-way process. You also need to add static routes at the other end so that the return traffic comes back over the same link.Bill
Free Windows Admin Tool Kit Click here and download it now
October 18th, 2008 3:38am

Hi ,can you provide a "route print" and your arp table. Maybe that makes things more clear. ByeThorstenWujek
November 3rd, 2008 4:37pm

How it the route table setup for the router at 10.1.1.250 ?James Goodwin - Senior Technical Instructor & Network Infrastructure Expert MCT, MCP+ I, MCTS:Server 2008, MCTS: SCCM, MCTS:Vista MCSA:S, MCSE:S, MCITP:SA, MCITP:EA , MCITP:ES, CCNA, CCSI(# 32018),C|EH, C|HFI, C|EI, HDSA, A+, Network+, i-Net+, Server+, Security+ My Blog:http://thattrainerguy.blogspot.com/
Free Windows Admin Tool Kit Click here and download it now
November 3rd, 2008 6:58pm

If you could provide the output of "Print Route" and "IPConfig/ALL" this would be helpful to determine the problem.Michael O'Donnell, Sr. Support Engineer, Microsoft, Commercial Technical Support, Platforms Networking Team
November 4th, 2008 6:14pm

The other router is just a broadband router (netgear prosafe). Most traffic that isn't on our LAN needs to go through the current default router(10.1.1.254). Only a certain range of IPs needs to go to 10.1.1.250 (certain sites on the Internet).Here is the route print:IPv4 Route Table===========================================================================Interface List0x1 ........................... MS TCP Loopback interface0x10003 ...00 12 79 39 6e 31 ...... HP NC7781 Gigabit Server Adapter #2 - PacketScheduler Miniport======================================================================================================================================================Active Routes:Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 10.1.1.254 10.1.1.2 20 10.1.1.0 255.255.255.128 10.1.1.2 10.1.1.2 20 10.1.1.2 255.255.255.255 127.0.0.1 127.0.0.1 20 10.255.255.255 255.255.255.255 10.1.1.2 10.1.1.2 20 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 224.0.0.0 240.0.0.0 10.1.1.2 10.1.1.2 20 255.255.255.255 255.255.255.255 10.1.1.2 10.1.1.2 1Default Gateway: 10.1.1.254===========================================================================Persistent Routes: NoneWe also tried a ROUTE ADD 0.0.0.0 MASK 0.0.0.0 10.1.1.250 METRIC 20 which basically duplicated the default route. We were able to see both networks, but I'm assuming the traffic was not optimized.Thanks!--Kent
Free Windows Admin Tool Kit Click here and download it now
November 7th, 2008 12:00am

Kent, The netmask on your 10.1.1.0 network is only picking up 10.1.1.0 to 10.1.1.127 and since you put a route in for 10.1.1.250 it has no choice but to got to the default route. Is there a reason for the netmask to be 255.255.255.128 or should it be 255.255.255.0. Otherwise add a new route for the 10.1.1.128 network with a mask of 255.255.255.128 and a gateway of 10.1.1.250.James Goodwin - Senior Technical Instructor & Network Infrastructure Expert MCT, MCP+ I, MCTS:Server 2008, MCTS: SCCM, MCTS:Vista MCSA:S, MCSE:S, MCITP:SA, MCITP:EA , MCITP:ES, CCNA, CCSI(# 32018),C|EH, C|HFI, C|EI, HDSA, A+, Network+, i-Net+, Server+, Security+ My Blog:http://thattrainerguy.blogspot.com/
November 7th, 2008 5:46am

James is right,you have no route for 10.1.1.250 with a 25 bit mask. So the DG is choosen. The process is:go to208.65.130.x -> my network ? -> No !Do I have a route for it ->yes choose 10.1.1.250 -> my network ? -> No ! (because of 255.255.255.128) Do I have a route for it -> No !Choose default GatewayHope that clears things up.ByeThorstenWujek
Free Windows Admin Tool Kit Click here and download it now
November 7th, 2008 11:01am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics