04-24-2023 01:06 PM - edited 05-09-2023 03:24 PM
04-24-2023 01:09 PM - edited 04-24-2023 01:10 PM
what issue here
try this way
in router1
router ospf 100
net 1.1.1.1 0.0.0.0 area 1
net 10.1.12.0 0.0.0.255 area 0
in router2
net 2.2.2.2 0.0.0.0 area 2
net 10.1.12.0 0.0.0.255 area 0
04-24-2023 01:09 PM - edited 04-24-2023 01:10 PM
what issue here
try this way
in router1
router ospf 100
net 1.1.1.1 0.0.0.0 area 1
net 10.1.12.0 0.0.0.255 area 0
in router2
net 2.2.2.2 0.0.0.0 area 2
net 10.1.12.0 0.0.0.255 area 0
04-24-2023 01:12 PM - edited 04-24-2023 01:13 PM
What would the configuration for setting up the switches and routers above? So how would I insert trunk to the vlans ect.
04-24-2023 01:19 PM
in SW's
interface <interface connect to router and interface interconnect the SW>
switchport access vlan 12
in router's
interface g0/0.12
encap do1q 12
ip add <as shown in your topology >
interface loopback 0
ip add <1.1.1.1 or 2.2.2.2> 255.255.255.255
ospf config as shown above
04-24-2023 01:27 PM
Hello
Ty the following config:
Rtr 1
conf t
router ospf 1
router-id 1.1.1.1
int lo0
ip address 1.1.1.1 255.255.255.255
ip ospf 1 area 1
int gig0/0
no shut
int gig0/0.12
encapsulation dot1q 12
ip address 10.1.12.1 255.255.255.0
ip ospf 1 area 0
sw1-2
conf t
vlan 12
int range e1/1-2
switchport trunk encapsulation dot1
switchport mode trunk
no shut
Rtr 2
conf t
router ospf 1
router-id 2.2.2.2
int lo0
ip address 2.2.2.2 255.255.255.255
ip ospf 1 area 2
int gig0/0
no shut
int gig0/0.12
encapsulation dot1q 12
ip address 10.1.12.1 255.255.255.0
ip ospf 1 area 0
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