cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
199
Views
4
Helpful
9
Replies

Routuing

Mlex1
Spotlight
Spotlight

Hello every one i want configure this three router, every router in different subnet, how i achieve connectivity. thank in advance 

i know one solution VRF but i don't need currently use vrf, i want only connectivity

Mlex1_0-1727459158377.png

 

config from R2

interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
media-type rj45
!
interface GigabitEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.10.2 255.255.255.0

!

config from R3

interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
media-type rj45
!
interface GigabitEthernet0/0.30
encapsulation dot1Q 30
ip address 192.168.30.3 255.255.255.0

!

config from R1

interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
media-type rj45
!
interface GigabitEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.10.1 255.255.255.0
!
interface GigabitEthernet0/0.30
encapsulation dot1Q 30
ip address 192.168.30.1 255.255.255.0

config from SW

vlan 10

vlan 30

interface GigabitEthernet0/0
switchport trunk allowed vlan 10-30
switchport trunk encapsulation dot1q
switchport mode trunk
negotiation auto
!
interface GigabitEthernet0/1
switchport access vlan 10
switchport mode access
negotiation auto
!
interface GigabitEthernet0/2
switchport access vlan 30
switchport mode access
negotiation auto

 

Спрашивай все что хочешь
1 Accepted Solution

Accepted Solutions

You use subinterface in R3 and R2 but use access port in SW 

This mismatch 

Router send tag with vlan and sw send untag frame 

So ypu need to make Sw to R2 and R3 trunk not access port 

MHM

View solution in original post

9 Replies 9

Using ospf IGP

Perfix connect to R1 put it in ospf area 0

Vlan connect R1 to R2 put it into area 1

Vlan connect R1 to R3 put it into area 2

prefix connect to R2 in area1

Prefix connect to R3 in area2

MHM

it's not working because i can't ping, routers can't see each other 

Спрашивай все что хочешь

Do below change in SW 

interface GigabitEthernet0/1
switchport trunk allow  vlan 10
switchport mode trunk
negotiation auto
!
interface GigabitEthernet0/2
switchport trunk allow vlan 30
switchport mode trunk
negotiation auto

MHM

appreciate your support didn't understand you

Спрашивай все что хочешь

You use subinterface in R3 and R2 but use access port in SW 

This mismatch 

Router send tag with vlan and sw send untag frame 

So ypu need to make Sw to R2 and R3 trunk not access port 

MHM

thanks it's working

Спрашивай все что хочешь

Hello,

You should be able to configure a routing protocol to meet your needs. YOU can use OSPF o EIGRP for simplicity.

If you just need basic connectivity, you can use the below commands on all 4 devices. Make sure ip routing is enabled on the switch.

 

router eigrp 1

network 0.0.0.0 255.255.255.255

or

router ospf 1

network 0.0.0.0 255.255.255.255 area 0

 

-David

this step i done already don't working if you want i can share configure

ip routing enable on switch 

Спрашивай все что хочешь

Make sure you also create VLAN 20 on the switch. If you want, you can share configuration of all 4 devices here to help us troubleshoot better.

Review Cisco Networking for a $25 gift card