cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
25180
Views
3
Helpful
20
Replies

Router does not see Switch via sh CDP Neighbors

Shahzad Ayub
Level 1
Level 1

Router A ------------ Switch A -------------- Access Point 1 ------------ Access Point 2 -------------- Switch B ------------ Router B

Above is my topology design, two branches are connected through access points.Router A is able to ping Router B but they are not able to form neighbourship if I run any protocol and before that Router B even does not show switch B through CDP neigbour command.

Following is the configuration of Router B's interface connected to Switch B, access list on the router & nat commands.

interface FastEthernet0/1

ip address 78.93.41.217 255.255.255.248 secondary

ip address 192.168.17.10 255.255.255.0 secondary

ip address 192.168.1.10 255.255.255.0

ip nat inside

ip virtual-reassembly

ip route-cache flow

duplex auto

speed auto

access-list 10 permit 192.168.1.0 0.0.0.255

access-list 10 permit 192.168.17.0 0.0.0.255

ip nat inside source list 10 pool no-overload overload

ip nat inside source static tcp 192.168.1.240 22 78.93.41.220 22 extendable

ip nat inside source static tcp 192.168.1.240 1300 78.93.41.220 1300 extendable

ip nat inside source static 192.168.1.2 78.93.41.221

configuration of Router A's interface connected to Switch A

interface FastEthernet0/1

ip address 192.168.1.229 255.255.255.0

duplex auto

speed auto

Can anybody please get me out of this problem.Thanks

20 Replies 20

mfurnival
Level 4
Level 4

I would not get too bogged down with CDP - you have said that the switches are managed so you can't definitely say that CDP is enabled on switch B. Bear in mind that when you form a routing protocol adjacency you may use either broadcast or multicast packets - so a ping may work but if you don't control the bit in the middle you can not be sure that all packets are passed. You could try creating a BGP relationship between the routers as this uses directed unicast. If that works then the issue is in the bit in the middle.

Switches on both sides are ESW 520 and cdp is enable by default on this switch and the access points model is RDL-2000.

I take it that he meant that he does not have management access to the switches rather than they *can't* be managed. Did you try what I suggested regarding BGP Shahzad?

not yet, i will try in the evening and update you.thanks

thanks mfunival

routers are exchanging routes via bgp.

rgds

shahzad

Review Cisco Networking for a $25 gift card