Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

add IP route using a single ip address? 1

Status
Not open for further replies.

volleyman

MIS
Jun 12, 2002
183
US
All,

I have a unique situation. I am in the middle of a implementing new firewalls and new internet connections. for a dmz, I have a cisco switch that is plugged into the dmz ports on the old and the new firewalls. As such, we have 2 paths to get to the same dmz.

right now, I want all traffic headed for the dmz to go through the old firewall, which is working...except for traffic heading to a single host. Is there a way to add a route for a single address rather than an entire network on our core router?

would this be a job for policy-based routing?

Zane D.
Systems Admin
 
Can't remember the specific rules of overlapping routes, but It seems like you could just add a route for that one ip address. The router will match the most specific (longest subnet mask) for an IP. So could he just add a new static route like: ip route x.x.x.x 255.255.255.255 y.y.y.y

 
does that work? could it really be that simple? I just added the command and the router took it, so I'm testing some traceroutes now...gotta open ping since its on the dmz first though. results forthcoming.

Zane D.
Systems Admin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top