cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
356
Views
0
Helpful
4
Replies

static route

jalak
Level 1
Level 1

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 4

pkhatri
Level 11
Level 11

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.

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. .

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
Level 1
Level 1

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.

Review Cisco Networking products for a $25 gift card