Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

VLSM question

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

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: VLSM question

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

3 REPLIES
Hall of Fame Super Silver

Re: VLSM question

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

New Member

Re: VLSM question

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

Purple

Re: VLSM question

    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 .

323
Views
0
Helpful
3
Replies
CreatePlease to create content