cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
903
Views
2
Helpful
4
Replies

Routing and switching config

calebstepp25
Level 1
Level 1
1 Accepted Solution

Accepted Solutions

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

 

View solution in original post

4 Replies 4

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

 

What would the configuration for setting up the switches and routers above? So how would I insert trunk to the vlans ect.

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 

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


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul