ODR to HWIC-ESW

Dieg0MDieg0M Member Posts: 861
Hey, I was reading on ODR yesterday and attempted to make it work and ran into some problems and was wondering if you guys can explain why this is happening. I used a hub and 2 spokes to test first in GNS3 and then with real gear. I first tried using VLAN routing to connect them. Here's the topology:



I attached a picture of the original router configs (without ODR activated) in case you want to have a look

.

HUB

HUB#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/32 is subnetted, 1 subnets
C 10.1.1.1 is directly connected, Loopback0
C 192.168.0.0/24 is directly connected, Vlan101
C 192.168.1.0/24 is directly connected, Vlan100
HUB#sh cdp nei det
Device ID: SPOKE2
Entry address(es):
IP address: 192.168.0.2
Platform: Cisco 3725, Capabilities: Router Switch IGMP
Interface: FastEthernet1/1, Port ID (outgoing port): FastEthernet0/0
Holdtime : 135 sec

Version :
Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(15)T8, RELEASE SOFTWARE (fc3)
Technical Support: Support and Documentation - Cisco Systems
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Mon 01-Dec-08 19:46 by prod_rel_team

advertisement version: 2
VTP Management Domain: ''
Duplex: full

Device ID: SPOKE1
Entry address(es):
IP address: 192.168.1.2
Platform: Cisco 3725, Capabilities: Router Switch IGMP
Interface: FastEthernet1/0, Port ID (outgoing port): FastEthernet0/0
Holdtime : 144 sec

Version :
Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(15)T8, RELEASE SOFTWARE (fc3)
Technical Support: Support and Documentation - Cisco Systems
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Mon 01-Dec-08 19:46 by prod_rel_team

advertisement version: 2
VTP Management Domain: ''
Duplex: full

SPOKE1

SPOKE1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/32 is subnetted, 1 subnets
C 10.1.1.2 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
SPOKE1#sh cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater

Device ID Local Intrfce Holdtme Capability Platform Port ID
HUB Fas 0/0 130 R S I 3725 Fas 1/0
SPOKE1#sh cdp nei det
Device ID: HUB
Entry address(es):
IP address: 192.168.0.1
Platform: Cisco 3725, Capabilities: Router Switch IGMP
Interface: FastEthernet0/0, Port ID (outgoing port): FastEthernet1/0
Holdtime : 128 sec

Version :
Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(15)T8, RELEASE SOFTWARE (fc3)
Technical Support: Support and Documentation - Cisco Systems
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Mon 01-Dec-08 19:46 by prod_rel_team

advertisement version: 2
VTP Management Domain: ''
Native VLAN: 101
Duplex: full

SPOKE1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/32 is subnetted, 1 subnets
C 10.1.1.2 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
SPOKE1#sh cdp nei det
Device ID: HUB
Entry address(es):
IP address: 192.168.0.1
Platform: Cisco 3725, Capabilities: Router Switch IGMP
Interface: FastEthernet0/0, Port ID (outgoing port): FastEthernet1/0
Holdtime : 137 sec

Version :
Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(15)T8, RELEASE SOFTWARE (fc3)
Technical Support: Support and Documentation - Cisco Systems
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Mon 01-Dec-08 19:46 by prod_rel_team

advertisement version: 2
VTP Management Domain: ''
Native VLAN: 101
Duplex: full

SPOKE2

SPOKE2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/32 is subnetted, 1 subnets
C 10.1.1.3 is directly connected, Loopback0
C 192.168.0.0/24 is directly connected, FastEthernet0/0
SPOKE2#sh cdp nei det
Device ID: HUB
Entry address(es):
IP address: 192.168.1.1
Platform: Cisco 3725, Capabilities: Router Switch IGMP
Interface: FastEthernet0/0, Port ID (outgoing port): FastEthernet1/1
Holdtime : 147 sec

Version :
Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(15)T8, RELEASE SOFTWARE (fc3)
Technical Support: Support and Documentation - Cisco Systems
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Mon 01-Dec-08 19:46 by prod_rel_team

advertisement version: 2
VTP Management Domain: ''
Native VLAN: 100
Duplex: full

CDP is working and PINGS are successful from HUB to SPOKE from interface to interface.
Now I turn on ODR

HUB#conf t
Enter configuration commands, one per line. End with CNTL/Z.
HUB(config)#router odr
HUB(config-router)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/32 is subnetted, 2 subnets
o 10.1.1.3 [160/1] via 192.168.0.2, 00:00:08, FastEthernet1/1
C 10.1.1.1 is directly connected, Loopback0
C 192.168.0.0/24 is directly connected, Vlan101
C 192.168.1.0/24 is directly connected, Vlan100
HUB(config-router)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/32 is subnetted, 3 subnets
o 10.1.1.2 [160/1] via 192.168.1.2, 00:00:03, FastEthernet1/0
o 10.1.1.3 [160/1] via 192.168.0.2, 00:00:13, FastEthernet1/1
C 10.1.1.1 is directly connected, Loopback0
C 192.168.0.0/24 is directly connected, Vlan101
C 192.168.1.0/24 is directly connected, Vlan100
ALL IS GOOD in the routing tables
Now I test the routing...

HUB(config-router)#do ping 10.1.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

I check SPOKE1 for a route back

SPOKE1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/32 is subnetted, 1 subnets
C 10.1.1.2 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, FastEthernet0/0

NO DEFAULT ROUTE BACK by ODR
So i'm thinking it has something to do with using VLAN routing. I test it using a router interface on HUB...


UB(config)#no int vlan 100
HUB(config)#
*Mar 1 00:17:14.155: %LINK-5-CHANGED: Interface Vlan100, changed state to administratively down
*Mar 1 00:17:15.155: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan100, changed state to down
HUB(config)#int f0/0
HUB(config-if)#ip add 192.168.1.1 255.255.255.0
HUB(config-if)#no shut
HUB(config-if)#duplex full
HUB(config-if)#speed 100
HUB(config-if)#
*Mar 1 00:17:29.963: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 00:17:30.963: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

I CHANGE THE CONNECTED INTERFACE CONNECTED FROM F1/0(HWIC PORT) to F0/0 (ROUTER PORT)

HUB(config-if)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/32 is subnetted, 3 subnets
o 10.1.1.2 [160/1] via 192.168.1.2, 00:01:52, FastEthernet1/0
[160/1] via 192.168.1.2, 00:00:52, FastEthernet0/0
o 10.1.1.3 [160/1] via 192.168.0.2, 00:00:01, FastEthernet1/1
C 10.1.1.1 is directly connected, Loopback0
C 192.168.0.0/24 is directly connected, Vlan101
C 192.168.1.0/24 is directly connected, FastEthernet0/0
HUB(config-if)#do ping 10.1.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
..!!!
Success rate is 60 percent (3/5), round-trip min/avg/max = 4/14/28 ms


SPOKE1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.1.1 to network 0.0.0.0

10.0.0.0/32 is subnetted, 1 subnets
C 10.1.1.2 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
o* 0.0.0.0/0 [160/1] via 192.168.1.1, 00:00:51, FastEthernet0/0

SPOKE1 now has a route back from ODR

meanwhile Spoke2 connected to a HWIC-ESW still has no ODR route back

SPOKE2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/32 is subnetted, 1 subnets
C 10.1.1.3 is directly connected, Loopback0
C 192.168.0.0/24 is directly connected, FastEthernet0/0

So my question is why is this happening?

Thank you.
Follow my CCDE journey at www.routingnull0.com

Comments

  • Dieg0MDieg0M Member Posts: 861
    For reference, even if not documented, ODR does not support SVI's. The reason is that ODR uses CDP to transport routing using an IP Prefix field in the CDP frame and that this IP Prefix field is overwritten at the same address space by the Native VLAN field in an SVI CDP frame. Routing interfaces do not contain a Native VLAN field in the CDP frame and that is why it can allocate an ODR IP Prefix/Gateway field.
    Follow my CCDE journey at www.routingnull0.com
  • networker050184networker050184 Mod Posts: 11,962 Mod
    Awesome follow up. I had a feeling that was the issue, but the undocumented part must be why I couldn't find anything. Thanks!
    An expert is a man who has made all the mistakes which can be made.
Sign In or Register to comment.