Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Cisco IOS Routing Syntax

Reply
Thread Tools

Cisco IOS Routing Syntax

 
 
PSX
Guest
Posts: n/a
 
      04-06-2006
Currently, I have a route set up like this on my 2600 running IOS 12.1:

ip route 69.242.89.0 255.255.255.0 69.242.89.254

However, I no longer want the entire Class C going to .254, just a part
of it. How can I do that so a range of IPs can be routed? I tried
something like this:

ip route 69.242.89.98-69.242.89.110 255.255.255.240 69.242.89.254

But ofcourse the syntax isn't correct. Is there a way to accomplish
this?

 
Reply With Quote
 
 
 
 
Martin Kiefer
Guest
Posts: n/a
 
      04-06-2006

"PSX" <(E-Mail Removed)> skrev i en meddelelse
news:(E-Mail Removed) ups.com...
> Currently, I have a route set up like this on my 2600 running IOS 12.1:
>
> ip route 69.242.89.0 255.255.255.0 69.242.89.254
>
> However, I no longer want the entire Class C going to .254, just a part
> of it. How can I do that so a range of IPs can be routed? I tried
> something like this:
>
> ip route 69.242.89.98-69.242.89.110 255.255.255.240 69.242.89.254
>


The syntax should be 69.242.89.96 255.255.255.240 69.242.89.next hop

The .96/28 will include ip-addresses ranging from .96 to .111

--
Best regards
Martin Kiefer
www.kiefer.dk/m/


 
Reply With Quote
 
 
 
 
PSX
Guest
Posts: n/a
 
      04-06-2006
Thanks for the info, but I'm afraid that didn't work for me:

2620(config)#ip route 69.242.89.96 255.255.255.240 69.242.89.next hop

^
% Invalid input detected at '^' marker.

This post doesn't accurately show this, but the ^ is pointing to the
"n" of next. Maybe it's because I'm running 12.1 and not a later IOS?
Without more memory, 12.1 is the latest I can run.

 
Reply With Quote
 
Brian V
Guest
Posts: n/a
 
      04-06-2006

"PSX" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Thanks for the info, but I'm afraid that didn't work for me:
>
> 2620(config)#ip route 69.242.89.96 255.255.255.240 69.242.89.next hop
>
> ^
> % Invalid input detected at '^' marker.
>
> This post doesn't accurately show this, but the ^ is pointing to the
> "n" of next. Maybe it's because I'm running 12.1 and not a later IOS?
> Without more memory, 12.1 is the latest I can run.
>


No, it's because you put the word "next hop" in there. You need to replace
that with the IP of the device you want to point it to, ie .254


 
Reply With Quote
 
PSX
Guest
Posts: n/a
 
      04-06-2006
Thanks for the explination, I understand now. I just thought .next hop
was some new syntax I had not seen before

 
Reply With Quote
 
Martin Kiefer
Guest
Posts: n/a
 
      04-06-2006

"PSX" <(E-Mail Removed)> skrev i en meddelelse
news:(E-Mail Removed) oups.com...
> Thanks for the explination, I understand now. I just thought .next hop
> was some new syntax I had not seen before
>


Sorry, should have been more clear

--
Best regards
Martin Kiefer
www.kiefer.dk/m/


 
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
Policy Based Routing on Cisco L3 Switch 3550 with IOS 12.1(22) Al Cisco 2 05-01-2008 04:56 PM
instructions on how to perform an IOS upgrade on a Catalyst 6500 switch (IOS to IOS) Mike Rahl Cisco 1 05-30-2007 05:22 PM
Replace a non IOS 350 Cisco Aironet bridge with IOS Mr Corbett Cisco 5 08-19-2005 09:40 PM
integrating new 3550 with routing into existing routing structure? joeblow Cisco 3 03-14-2005 08:50 AM
exchange routes between global IP routing table and VRF routing table zher Cisco 2 11-04-2004 11:28 PM



Advertisments