I have a scenario where I need responses on a certain range of addresses to go out through one default route and another to go out through another but don't know how to setup the route add commands to configure each range. Here is the scenario:
- Default gateway is 192.168.1.250
- 192.168.1.0-99 default route is 192.168.1.251
- 192.168.1.100-199 default route is 192.168.1.252
In basic terms I don't know how you define a range within a subnet using the subnet mask etc?
EDIT: To clarify purpose...
My implementation scenario is that basically traffic comes in from one of two firewalls to the same device, the traffic from firewall A goes to the lower range, and the traffic from firewall B goes to the upper range but the response needs to go back to the corresponding firewall through which the traffic was received. I have been told the way to achieve this is through route commands.
Firewall devices are Cisco, the servers where the route commands will be set are Windows 2003.