Options

Summarize routes

txn41655txn41655 Member Posts: 53 ■■□□□□□□□□
hi, I am new. Could any one tell me if is possible to summarize the following routes? :

172.30.0.0/26
172.30.0.64/26
172.30.0.128/26
172.30.0.192/26


172.20.0.0/27
172.20.0.32/27
172.20.0.64/27
172.20.0.96/27

Comments

  • Options
    dontstopdontstop Member Posts: 579 ■■■■□□□□□□
    txn41655 wrote: »
    hi, I am new. Could any one tell me if is possible to summarize the following routes? :

    172.30.0.0/26
    172.30.0.64/26
    172.30.0.128/26
    172.30.0.192/26

    Answer: 172.30.0.0/24

    /25 wouldn't work because that mask would give you ranges 172.30.0.0 - 127 or 172.30.0.128 - 255
    txn41655 wrote: »
    172.20.0.0/27
    172.20.0.32/27
    172.20.0.64/27
    172.20.0.96/27

    Answer: 172.20.0.0/25

    /26 wouldn't work because because that mask gives you 172.20.0.0 - 63, 64 - 127, 128 - 191, 192 - 255
  • Options
    txn41655txn41655 Member Posts: 53 ■■□□□□□□□□
    thanks, could you tell me in which case we cannot summarize?
  • Options
    dontstopdontstop Member Posts: 579 ■■■■□□□□□□
    I'm not sure I follow. Are you talking about in regards to the above question or in general? Is this homework?
  • Options
    txn41655txn41655 Member Posts: 53 ■■□□□□□□□□
    thanks i am studying, never mind my last post....i did not read what you edited after... :D
  • Options
    txn41655txn41655 Member Posts: 53 ■■□□□□□□□□
    dontstop wrote: »
    Answer: 172.30.0.0/24

    /25 wouldn't work because that mask would give you ranges 172.30.0.0 - 127 or 172.30.0.128 - 255



    Answer: 172.20.0.0/25

    /26 wouldn't work because because that mask gives you 172.20.0.0 - 63, 64 - 127, 128 - 191, 192 - 255



    If we summary 172.30.0.0/24 this would include network and broadcast addresses. Will the router route correctly ? what if someone pings the network address or the broadcast address? thanks. icon_wink.gif
  • Options
    dontstopdontstop Member Posts: 579 ■■■■□□□□□□
    Think about how routes are normally stored in a router routing table. Think of 192.168.0.0/24 for instance, it's the Class C network 192.168.0.0/24, the route includes all addresses in the subnet.
Sign In or Register to comment.