networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: classfull routing table
PostPosted: Mon Aug 06, 2012 4:23 pm 
Offline
New Member
New Member

Joined: Mon Jul 30, 2012 7:37 am
Posts: 37
Certs: A+ N+ Apple Desktop Support
I have a quick question, in a class-full routing table, does this packet get dropped or gets forwarded to the static?

R 172.16.30.0/24 variably subnetted
C 172.16.0.0/24
C 172.16.0.0/25
C 192.168.10.0 is directly connected FA0/0
S* 0.0.0.0/0


Top
 Profile  
 
PostPosted: Mon Aug 06, 2012 5:30 pm 
Online
Post Whore
Post Whore

Joined: Sun May 15, 2011 4:16 pm
Posts: 1419
Location: Belgium
Certs: CCNA Security, CCNP
What packet?
Also, overlapping routes in the routing table? Not likely.

_________________
http://reggle.wordpress.com


Top
 Profile  
 
PostPosted: Wed Aug 08, 2012 12:15 pm 
Offline
Senior Member
Senior Member

Joined: Sat Oct 11, 2008 1:02 pm
Posts: 366
Location: Riga, Latvia
Certs: CCIP
Reggle wrote:
Also, overlapping routes in the routing table? Not likely.

It's perfectly valid- the most specific route wins.


Last edited by errtime on Wed Aug 08, 2012 12:22 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Wed Aug 08, 2012 12:18 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Jan 17, 2005 11:01 pm
Posts: 5148
Location: Canada eh
Certs: 350-001, CCNP, CXFF, ITILv3F
Not certification related. Moving to Routing and Switching.

_________________
blog.brokennetwork.ca


Top
 Profile  
 
PostPosted: Wed Aug 08, 2012 1:55 pm 
Online
Post Whore
Post Whore

Joined: Sun May 15, 2011 4:16 pm
Posts: 1419
Location: Belgium
Certs: CCNA Security, CCNP
errtime wrote:
Reggle wrote:
Also, overlapping routes in the routing table? Not likely.

It's perfectly valid- the most specific route wins.

Woops, yes. Brainfart.

_________________
http://reggle.wordpress.com


Top
 Profile  
 
PostPosted: Wed Aug 08, 2012 2:18 pm 
Online
Member
Member

Joined: Sun Mar 13, 2011 3:03 pm
Posts: 124
Certs: CCNA, CCNP
the question might be how to force a routing table to be classful

I tried with some recent 12.4T IOS and even though no ip classless was specified, default route was used
CCNP ROUTE FLG states that they tested is with some 12.2 IOS on Cisco 2500 router (pretty prehistoric stuff) and it behaved classfully with no ip classless


Top
 Profile  
 
PostPosted: Wed Aug 08, 2012 2:57 pm 
Offline
Senior Member
Senior Member
User avatar

Joined: Thu Oct 21, 2010 9:08 am
Posts: 330
Location: New Albany, Indiana
Certs: CCNA, CCENT, A+, Net+
I mean, you could just lower the AD of the route you need it to use over the classless route?
Or in this case, use RIPv1 or IGRP?

I'd say no, the packet wouldn't be dropped, as stated, the packet would just be sent via the more specific route. (It would be pushed to the /25 instead of the /24)

_________________
http://3rdlayer.wordpress.com/
See most people talk about the OSI model as having 7 layers but they don't mention layer 8 where a lot of the problems actually occur.


Top
 Profile  
 
PostPosted: Wed Aug 08, 2012 5:02 pm 
Online
Post Whore
Post Whore

Joined: Sun May 15, 2011 4:16 pm
Posts: 1419
Location: Belgium
Certs: CCNA Security, CCNP
errtime wrote:
Reggle wrote:
Also, overlapping routes in the routing table? Not likely.

It's perfectly valid- the most specific route wins.

Again I'm going to insist: not possible. The two routes are shown as 'C' - Connected. IOS would give an error message. Having overlapping routes from static or routing protocols would be fine though.

_________________
http://reggle.wordpress.com


Top
 Profile  
 
PostPosted: Thu Aug 09, 2012 12:04 am 
Offline
Senior Member
Senior Member

Joined: Sat Oct 11, 2008 1:02 pm
Posts: 366
Location: Riga, Latvia
Certs: CCIP
Reggle wrote:
errtime wrote:
Reggle wrote:
Also, overlapping routes in the routing table? Not likely.

It's perfectly valid- the most specific route wins.

Again I'm going to insist: not possible. The two routes are shown as 'C' - Connected. IOS would give an error message. Having overlapping routes from static or routing protocols would be fine though.

Maybe the IOS you've tried it indeed gives an error but in general Cisco IOS accepts such configuration. Few times been using this configuration when client needed to migrate to/from smaller/bigger subnet.
The only thing IOS does not allow is to configure both subnets with the same IP address- then it gives an error message. As long as the IP addresses are unique, you are fine.


Top
 Profile  
 
PostPosted: Thu Aug 09, 2012 3:18 am 
Online
Post Whore
Post Whore

Joined: Sun May 15, 2011 4:16 pm
Posts: 1419
Location: Belgium
Certs: CCNA Security, CCNP
Code:
SW3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW3(config)#int vlan10
SW3(config-if)#ip addr
*Mar  1 13:11:09.328: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed stat               
SW3(config-if)#ip addr 172.16.0.1 255.255.255.0
SW3(config-if)#exi
SW3(config)#int vlan20
SW3(config-if)#ip addr
*Mar  1 13:11:41.196: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed sta               
SW3(config-if)#ip addr 172.16.0.2 255.255.255.128
172.16.0.0 overlaps with Vlan10
SW3(config-if)#end
SW3#show ver
*Mar  1 13:12:15.912: %SYS-5-CONFIG_I: Configured from console by consoleer
Cisco IOS Software, C3550 Software (C3550-IPSERVICESK9-M), Version 12.2(44)SE6, RELEASE SOFTWARE (fc1)

_________________
http://reggle.wordpress.com


Top
 Profile  
 
PostPosted: Thu Aug 09, 2012 3:19 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12425
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
You can do overlapping subnets with serial links

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
PostPosted: Thu Aug 09, 2012 4:02 am 
Offline
Senior Member
Senior Member

Joined: Sat Oct 11, 2008 1:02 pm
Posts: 366
Location: Riga, Latvia
Certs: CCIP
Reggle wrote:
Code:
SW3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW3(config)#int vlan10
SW3(config-if)#ip addr
*Mar  1 13:11:09.328: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed stat               
SW3(config-if)#ip addr 172.16.0.1 255.255.255.0
SW3(config-if)#exi
SW3(config)#int vlan20
SW3(config-if)#ip addr
*Mar  1 13:11:41.196: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed sta               
SW3(config-if)#ip addr 172.16.0.2 255.255.255.128
172.16.0.0 overlaps with Vlan10
SW3(config-if)#end
SW3#show ver
*Mar  1 13:12:15.912: %SYS-5-CONFIG_I: Configured from console by consoleer
Cisco IOS Software, C3550 Software (C3550-IPSERVICESK9-M), Version 12.2(44)SE6, RELEASE SOFTWARE (fc1)

Try it under the same L3 interface with one of the subnets as a secondary.


Top
 Profile  
 
PostPosted: Thu Aug 09, 2012 5:55 am 
Online
Post Whore
Post Whore

Joined: Sun May 15, 2011 4:16 pm
Posts: 1419
Location: Belgium
Certs: CCNA Security, CCNP
errtime wrote:
Try it under the same L3 interface with one of the subnets as a secondary.

Hey, I learned something today! Thanks!

_________________
http://reggle.wordpress.com


Top
 Profile  
 
PostPosted: Thu Aug 09, 2012 12:37 pm 
Offline
Junior Member
Junior Member

Joined: Mon Jul 16, 2012 12:53 pm
Posts: 95
Certs: Network+ | CCNA | CCNP(Switch)
errtime wrote:
Reggle wrote:
Code:
SW3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW3(config)#int vlan10
SW3(config-if)#ip addr
*Mar  1 13:11:09.328: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed stat               
SW3(config-if)#ip addr 172.16.0.1 255.255.255.0
SW3(config-if)#exi
SW3(config)#int vlan20
SW3(config-if)#ip addr
*Mar  1 13:11:41.196: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed sta               
SW3(config-if)#ip addr 172.16.0.2 255.255.255.128
172.16.0.0 overlaps with Vlan10
SW3(config-if)#end
SW3#show ver
*Mar  1 13:12:15.912: %SYS-5-CONFIG_I: Configured from console by consoleer
Cisco IOS Software, C3550 Software (C3550-IPSERVICESK9-M), Version 12.2(44)SE6, RELEASE SOFTWARE (fc1)

Try it under the same L3 interface with one of the subnets as a secondary.

what does that mean ? can u explain more ?


Top
 Profile  
 
PostPosted: Fri Aug 10, 2012 1:06 am 
Offline
Senior Member
Senior Member

Joined: Sat Oct 11, 2008 1:02 pm
Posts: 366
Location: Riga, Latvia
Certs: CCIP
you can configure multiple subnets under the interface with one of them being a primary and the rest of them being a secondary.

in example,
Code:
int vlan 10
  ip addr 10.1.1.1 255.255.255.0
  ip addr 10.1.2.1 255.255.255.0 secondary
  ip addr 10.1.1.2 255.255.255.128 secondary


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: javin, Majestic-12 [Bot], Reggle, Steven King, totaluser, TravisT, williamtyrell78 and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group