Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

static route

i have 2 class c remote network w/c am connected directly through a point-to-point. can i sum the network in single command??

e.g. 10.10.1.0 & 10.10.2.0 to be routed to my serial or remote next hop

ip route 10.10.10.1 255.255.254.0 serial1/0 or( A.B.C.D)

4 REPLIES
Purple

Re: static route

Hello,

With the two networks that you have, I'm afraid you can do no further summarisation without including other networks ...

For example, 10.10.0.0/255.255.252.0 will include both 10.10.0.0/24 and 10.10.3.0/24 which are outside the range you want summarised. Also, a mask of 255.255.254.0 cannot be used with 10.10.1.0...

Hope that helps - pls rate the post if it does.

Paresh.

New Member

Re: static route

Hi,

i just used 10.10.10.1 as example.

in fact both my network are 2 Consequent class c addresses w/s am tey to forward to again a third class c address. .

Purple

Re: static route

If you have consecutive class C (or/24, to be precise) addresses, then you can use a 255.255.254.0 mask to summarise them as long as the first (lower) address has a third octet that is an even number and the second address has a third octet that is an odd number one greater than the first address.

Hope that helps - pls rate the post if it does.

Paresh.

enc
New Member

Re: static route

If you want to sum 2 c networs, and use 255.255.254.0 you have to use the following netwoks in pairs - 10.10.0.0 10.10.1.0 and 10.10.2.0 10.10.3.0 - next time 4 and 5. If you want to mask 1 and 2 together, you have to take 0,1,2 and 3 which means an 255.255.252.0 mask. 10.10.0.0 255.255.252.0 next hop.

95
Views
0
Helpful
4
Replies