cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
227
Views
0
Helpful
4
Replies
Highlighted
Beginner

OSPF routing issue

Screenshot 2021-02-22 145642.png

NOTWORKING:                                                                                           

WORKING

SWITCH 1

SWITCH 1

conf t

conf t

hostname switch 1

hostname switch 1

int GI1/1/1

int GI1/1/1

no switchport

no switchport

no shut

no shut

ip address 10.10.30.2 255.255.255.0

ip address 10.10.30.2 255.255.255.0

int vlan 10

int vlan 10

ip address 10.10.10.1 255.255.255.0

ip address 10.10.10.1 255.255.255.0

ip routing

ip routing

router ospf 1

router ospf 1

network 10.10.10.1 0.0.0.0 area 1

network 10.10.10.1 0.0.0.0 area 1

network 10.10.30.2 0.0.0.0 area 1

network 10.10.30.2 0.0.0.0 area 0

  

SWITCH 2

SWITCH 2

conf t

conf t

hostname switch 2

hostname switch 2

int GI1/1/1

int GI1/1/1

no switchport

no switchport

no shut

no shut

ip address 10.10.40.2 255.255.255.0

ip address 10.10.40.2 255.255.255.0

int vlan 11

int vlan 11

ip address 10.10.20.1 255.255.255.0

ip address 10.10.20.1 255.255.255.0

ip routing

ip routing

router ospf 1

router ospf 1

network 10.10.20.1 0.0.0.0 area 2

network 10.10.20.1 0.0.0.0 area 2

network 10.10.40.2 0.0.0.0 area 2

network 10.10.40.2 0.0.0.0 area 0

  

ROUTER

ROUTER

conf t

conf t

int gig0/0

int gig0/0

no shut

no shut

ip address 10.10.30.1 255.255.255.0

ip address 10.10.30.1 255.255.255.0

int gig1/0

int gig1/0

no shut

no shut

ip address 10.10.40.1 255.255.255.0

ip address 10.10.40.1 255.255.255.0

router ospf 1

router ospf 1

network 10.10.30.0 0.0.0.3 area 1

network 10.10.30.0 0.0.0.3 area 0

network 10.10.40.0 0.0.0.3 area 2

network 10.10.40.0 0.0.0.3 area 0

network 10.10.50.0 0.0.0.255 area 0

network 10.10.50.0 0.0.0.255 area 0

 

When the uplinks between router and l3 switch is area o intervlan routing works, others areas it doesnt work

4 REPLIES 4
Highlighted
Rising star

There is no area 0 link up so the router never exchange route,

Do

Inter loopback 0

Ip 1.1.1.1 255.255.255.255

Ip opsf x area 0

Do this in router and see effect 

Highlighted

I added those configs. Still its not pinging, am able to ping  from S2 10.10.30.1 not 30.2 and also not able to ping anything from s1 to s2.

Highlighted
VIP Engager

you can attach PT file in a zip format here for us to test it.

 

Regards, ML
**Please Rate All Helpful Responses **

Highlighted
Hall of Fame Master

Hello @nirak8833 ,

OSPF multi area design requires area 0 to be in the center of the routing domain with working links ( state up).

Each non backbone area needs to be connected to area 0 via an OSPF device taking part in both areas that is called an ABR Area Border Router.

For forming OSPF adjacencies the routers must agree on the area ID primary IP address and subnet mask and timers.

 

What you see is normal with LEFT config you are violating OSPF design rules for multi area.

 

Hope to help

Giuseppe