09-02-2023 01:49 AM
I used below ospf routing (multi layer ports are no shutdown state)
roue
#multi-1
int gig1/0/1
ip address 172.1.6.129 255.255.255.252
no sh
exit
do wr
#multi-2
int gig1/0/1
ip address 172.1.6.133 255.255.255.252
no sh
exit
do wr
#router
int gig0/0
ip address 172.1.6.130 255.255.255.252
no sh
exit
int gig0/1
ip address 172.1.6.134 255.255.255.252
no sh
exit
###########OSPF IP routing
#multi(1)
ip routing
router ospf 10
router-id 1.1.1.1
network 172.1.1.0 0.0.0.127 area 0
network 172.1.1.128 0.0.0.127 area 0
network 172.1.6.132 0.0.0.3 area 0
do wr
exit
do reload
#multi(2)
ip routing
router ospf 10
router-id 2.2.2.2
network 172.1.1.0 0.0.0.127 area 0
network 172.1.1.128 0.0.0.127 area 0
network 172.1.6.128 0.0.0.3 area 0
do wr
exit
do reload
#router
router ospf 10
router-id 3.3.3.3
network 172.1.6.128 0.0.0.3 area 0
network 172.1.6.132 0.0.0.3 area 0
network 172.1.6.136 0.0.0.3 area 0
network 195.136.17.0 0.0.0.3 area 0
do wr
exit
Solved! Go to Solution.
09-03-2023 03:42 AM
there are many configuration attached in the post, which one correct.
Rather confusing and getting round and round
the P2P address should be same subnet to form OSPF neighborship - so make necessary changes
I would expect show run (full from all devices ( Router, Switch, Multi-layer Switch 1 and 2)
09-02-2023 02:18 AM
If the Router need to have 2 OSPF peers with Multi Layer Switch 1 and 2
you need to use Trunk port G0/0 with sub-interfaces ? and you need to configure switch also Trunk port.
09-02-2023 02:24 AM
09-02-2023 02:35 AM
on the Router side you need to use sub-interface with dot1q (i can provide the config) but you learning i would like to read below document and understand the concept it will help in real environment when you deploying it.
https://www.ciscopress.com/articles/article.asp?p=2990405&seqNum=2
09-02-2023 02:59 AM
I got the general idea about it but i cant figure which ip and vlan should assign to this (i already assign vlan 10-60 is it okay?)
09-02-2023 03:42 AM
Sure you can any VLAN number as long all are able to communicate to establish OSPF neighborship.
you will be able to make it - still stuck post all show run here so we can provide what to be fix to meet the requirement.
09-02-2023 05:43 PM - edited 09-02-2023 05:47 PM
int gig0/0
no sh
exit
int gig0/0.10
encapsulation dot1Q 10
ip address 172.1.1.1 255.255.255.128
exit
int gig0/0.20
encapsulation dot1Q 20
ip address 172.1.1.129 255.255.255.128
exit
when i enter this already config one ospf router going to down. can u send me the ip routing config?
my all configs below
09-03-2023 03:42 AM
there are many configuration attached in the post, which one correct.
Rather confusing and getting round and round
the P2P address should be same subnet to form OSPF neighborship - so make necessary changes
I would expect show run (full from all devices ( Router, Switch, Multi-layer Switch 1 and 2)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide