OSPF over a Layer 2 Switch

10 pts.
Tags:
Cisco
Layer 2 switches
OSPF
Hi I have a really stupid question. I have 2 xLayer 2 switches (Cisco) and two routers connected to those switches. One routing to another network and the other to the internet. I want to setup OSPF to enter routes dynamically. They don't want to pick-up neighbors unless they are directly connected. Any help will be highly appreciated. It must be something small I am missing. Thanx

Software/Hardware used:
Switches 2960 Routers 2621XM

Answer Wiki

Thanks. We'll let you know when a new response is added.

OSPF works at Layer 3, whereas your switches arent. I feel youre confusing the two.
A great solution is to enable the OSPF “passive-interface” command globally – this will not send/receive any OSPF info on any interface, then use the “no passive interface” command on the ports to directly connected neighbors (which should be routers, as L2 switches dont work with routing protocols)

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • plizz
    Maybe vlan issue? The ports of switches are in different vlan? All port is default one vlan 1. You can see which port is a member of a vlan with " show vlan brief" To ensure that all port is in vlan is a member of vlan 1, use "interface range fast 0/1 - 24" in config mode then "switchport access vlan 1". I hope it solve the problem.
    125 pointsBadges:
    report
  • fdsouwn97
    Hi,

    it´s a bit late now I guess but if I understood what you tried to say, I think you want to create a route-map with "match source-protocol connected" ?
    10 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following