cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
606
Views
0
Helpful
3
Replies

VLSM question

zouzounos
Level 1
Level 1

hello

i would like to ask if i can use the 10.2.0.0/16 and the 10.2.130.0/24 subnets in the same router using only static routes. Im not so sure because the second network seems to be subnet from the first network which is subnet from the 10.0.0.0 network .

thanks

1 Accepted Solution

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Cooman,

if we speak of static routes, this is possible.

Example:

ip route 10.2.130.0 255.255.255.0 ser0/0

ip route 10.2.0.0 255.255.0.0 ser0/1

a packet with IP destination = 10.2.130.25 will be sent out ser0/0

a packet with IP destination = 10.2..131.25 will be sent out ser0/1

Most specific  route is used first this is a general rule valid also for routes learned by routing protocols.

It is not possible to assign overlapping IP addresses to different interfaces.

Hope to help

Giuseppe

View solution in original post

3 Replies 3

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Cooman,

if we speak of static routes, this is possible.

Example:

ip route 10.2.130.0 255.255.255.0 ser0/0

ip route 10.2.0.0 255.255.0.0 ser0/1

a packet with IP destination = 10.2.130.25 will be sent out ser0/0

a packet with IP destination = 10.2..131.25 will be sent out ser0/1

Most specific  route is used first this is a general rule valid also for routes learned by routing protocols.

It is not possible to assign overlapping IP addresses to different interfaces.

Hope to help

Giuseppe

thanks for the reply but how i can be sure if a network is overlapping another?

    Learn subnetting and masking .   If you are working on networks you will need to know this  otherwise download a subnet calculator and use that to figure it out .

Review Cisco Networking products for a $25 gift card