09-27-2024 10:46 AM - edited 09-27-2024 10:48 AM
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
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
Solved! Go to Solution.
09-27-2024 11:11 AM
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
09-27-2024 10:56 AM
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
09-27-2024 11:01 AM
it's not working because i can't ping, routers can't see each other
09-27-2024 11:05 AM
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
09-27-2024 11:08 AM
appreciate your support didn't understand you
09-27-2024 11:11 AM
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
09-27-2024 11:16 AM
thanks it's working
09-27-2024 11:02 AM
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
09-27-2024 11:10 AM - edited 09-27-2024 11:11 AM
this step i done already don't working if you want i can share configure
ip routing enable on switch
09-27-2024 11:14 AM
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.
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