Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Setting up a route

Reply
Thread Tools

Setting up a route

 
 
Jim
Guest
Posts: n/a
 
      07-22-2004
I am trying to set up a static route on my router to my
firewall/gateway to an internal web server. The router lets say is
62.98.10.65 and the firewall inside the router is 62.98.10.67 and the
webserver behind the firewall is 10.0.0.22. I did an ip route command
62.98.10.70 (which is the external address for the webserver)
255.255.255.224 62.98.10.67 ( the gateway/firewall) before you get to
the inside. Which is 10.0.0.0. It is coming back with an error message
saying ip address and and mask are bad. Can someone please help! I am
new to this so any information will help
 
Reply With Quote
 
 
 
 
Scooby
Guest
Posts: n/a
 
      07-22-2004
"Jim" <> wrote in message
news: om...
> I am trying to set up a static route on my router to my
> firewall/gateway to an internal web server. The router lets say is
> 62.98.10.65 and the firewall inside the router is 62.98.10.67 and the
> webserver behind the firewall is 10.0.0.22. I did an ip route command
> 62.98.10.70 (which is the external address for the webserver)
> 255.255.255.224 62.98.10.67 ( the gateway/firewall) before you get to
> the inside. Which is 10.0.0.0. It is coming back with an error message
> saying ip address and and mask are bad. Can someone please help! I am
> new to this so any information will help


Jim,

First, you shouldn't need to add a route. The addresses 62.98.10.65,67,70
are all on the same network, based on the 27 bit mask you listed. The
router is fooled by NAT into thinking the webserver is sitting on the same
network. If you wanted to route to it directly without the firewall doing
NAT, then you should route to the 10 network, not 62... That said, the
format is wrong. When entering a route you need the first parameter to be
the network address, which is the first address in the subnet (not just any
address in the subnet). Your command would read:
ip route 62.98.70.64 255.255.255.224 <nexthop>

Hope that helps,

Jim



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the default precedence: local-route, static-route,OSPF-route? ilan.berco@gmail.com Cisco 9 08-07-2008 05:42 PM
pix no route to host, but there is a route Karnov Cisco 3 02-02-2006 09:03 PM
Can netwrok run static route and dynamic route the same time? Bruce Cao Cisco 3 12-06-2005 02:15 AM
route-map question (how to policy route for all destinations except few subnets?) binand@gmail.com Cisco 1 08-13-2005 08:52 PM
Using route-map to route packets coming from different networks. AM Cisco 3 07-25-2005 07:12 AM



Advertisments