cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
554
Views
0
Helpful
3
Replies

OSPF configuration

rouzbehta
Level 1
Level 1

Hello,

I have a switch between 2 routers I want to run a single area ospf on the network. I attached the pdf file which shows the network diagram.

Would some one please help me and if possible give me the coniguration, I screwed on the vlan settings on the switch.

Best Regards

1 Accepted Solution

Accepted Solutions

ofcourse yes, How will you configure IP and protocol is switch is not L-3

You need to configure switch same as router..like

int fa0/0

desc #Link to First Router#

no ip address

int fa0/0.10

encap dot1q 10

ip address <> <>

int fa0/1

desc #Link to Second Router#

no ip address

int fa0/1.11

encap dot1q 11

ip address <> <>

If you want to take switch as L2 functionality then all IP/protocol stuff will be on router but two ip subnet doesn't make any sense then.

Regards

mahesh

View solution in original post

3 Replies 3

Mahesh Gohil
Level 7
Level 7

Hi ,

creating single area ospf will be more easy.

minimum config will be

RTR2
router ospf 1
network 10.10.10.0 0.0.0.127 area 0

RTR1
router ospf 1
network 10.10.10.128 0.0.0.127 area 0

Switch:
router ospf 1
network 10.10.10.0 0.0.0.127 area 0
network 10.10.10.128 0.0.0.127 area 0

Regards

Mahesh

True, but wha about vlan configurations on the switch and the switch must be layer3 to be able to do this task?

Best Regards

ofcourse yes, How will you configure IP and protocol is switch is not L-3

You need to configure switch same as router..like

int fa0/0

desc #Link to First Router#

no ip address

int fa0/0.10

encap dot1q 10

ip address <> <>

int fa0/1

desc #Link to Second Router#

no ip address

int fa0/1.11

encap dot1q 11

ip address <> <>

If you want to take switch as L2 functionality then all IP/protocol stuff will be on router but two ip subnet doesn't make any sense then.

Regards

mahesh

Review Cisco Networking products for a $25 gift card