cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
440
Views
15
Helpful
3
Replies

why can I only define a prefix in 64

hfakoor222
Spotlight
Spotlight

2.pngRouting

 

 

for example why can't I do 100.68.3.96  255.255.255.252?

1 Accepted Solution

Accepted Solutions

show ip route 100.68.3.96 longest

 
then check which prefix will appear 
check this prefix mask with subnet mask you enter are it same if it same then this subnet you enter is conflict with other subnet in router.

View solution in original post

3 Replies 3

Harold Ritter
Level 12
Level 12

Hi @hfakoor222 ,

 

You can certainly do 100.68.3.96  255.255.255.252, as shown below.

 

R1#sh runn | s ip route
ip route 100.68.3.96 255.255.255.252 Null0


R1#sh ip route sta

Gateway of last resort is not set

100.0.0.0/30 is subnetted, 1 subnets
S 100.68.3.96 is directly connected, Null0


Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Hello
Because the network is defined by the subnet mask:

100.68.3.0/26 =
0

64

128

192

224

 

100.68.3.x/30  =
O

4

8

12

etc….

96

100

etc..

252


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

show ip route 100.68.3.96 longest

 
then check which prefix will appear 
check this prefix mask with subnet mask you enter are it same if it same then this subnet you enter is conflict with other subnet in router.

Review Cisco Networking for a $25 gift card