cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
909
Views
20
Helpful
7
Replies

help connecting vlans with 3 routers

NinjaTurtle2021
Level 1
Level 1

hi I tried so many things like router rip, ip route etc but I cannot connect my vlans altogether 

it seems only vlans 10,20,30,40,50 communicate but not 60 70 80

 

 

my architecture looks like this

 

SW1 (with vlans 10,20) ---- R1 ---- SW3 (with vlans 40,50) ---- R2 ---- R3 ---- SW4(with vlans 60,70,80)

  |

  |

 SW2 (with vlan 30)

 

can someone please help me

 

 

 

1 Accepted Solution

Accepted Solutions

Hello,

 

basically, you had the wrong IP addresses on some of the interfaces connecting the routers to each other. You also had all subinterfaces for all Vlans configured on both routers, Router0 and Router2. Find attached the revised version. I have saved this in PT version 7.3.0, if you cannot open it, below are the router configs:

 

Router0#sh run
Building configuration...

Current configuration : 1346 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router0
!
ip cef
no ipv6 cef
!
spanning-tree mode pvst
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.10
description vlan 10
encapsulation dot1Q 10
ip address 10.0.10.14 255.255.255.240
!
interface FastEthernet0/0.20
description vlan 20
encapsulation dot1Q 20
ip address 172.16.20.6 255.255.255.248
!
interface FastEthernet0/0.30
description vlan 30
encapsulation dot1Q 30
ip address 192.168.30.30 255.255.255.224
!
interface FastEthernet0/1
ip address 128.0.0.3 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1.40
description vlan 40
encapsulation dot1Q 40
ip address 10.0.40.14 255.255.255.240
!
interface FastEthernet0/1.50
description vlan 50
encapsulation dot1Q 50
ip address 172.16.50.6 255.255.255.248
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 10.0.0.0
network 128.0.0.0
network 172.16.0.0
network 192.168.30.0
network 192.168.60.0
default-information originate
no auto-summary
!
ip classless
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end

 

Router1#sh run
Building configuration...

Current configuration : 655 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router1
!
ip cef
no ipv6 cef
!
spanning-tree mode pvst
!
interface FastEthernet0/0
ip address 128.0.0.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 129.0.0.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 128.0.0.0
network 129.0.0.0
no auto-summary
!
ip classless
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end

 

Router2#sh run
Building configuration...

Current configuration : 1116 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router2
!
no ip cef
no ipv6 cef
!
spanning-tree mode pvst
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.60
description vlan 60
encapsulation dot1Q 60
ip address 192.168.60.6 255.255.255.248
!
interface FastEthernet0/0.70
description vlan 70
encapsulation dot1Q 70
ip address 10.0.70.6 255.255.255.248
!
interface FastEthernet0/0.80
description vlan 80
encapsulation dot1Q 80
ip address 172.16.80.6 255.255.255.248
!
interface FastEthernet0/1
ip address 129.0.0.2 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 10.0.0.0
network 129.0.0.0
network 172.16.0.0
network 192.168.60.0
default-information originate
no auto-summary
!
ip classless
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end

View solution in original post

7 Replies 7

Hello,

 

post the running configuration of switch 4...

Richard Burts
Hall of Fame
Hall of Fame

You give a brief description of the topology, which vlans communicate and which do not, and a diagram. But there is no detail of what you have configured and no other information to help us identify the issue. As a start can you post the output of show ip route from SW4, R3, R2, and SW3. Also please give us the IP subnet associated with each one of the vlans.

 

HTH

 

Rick

HTH

Rick

hi sirs thanks for replying

I'd like to give you my .pkt file to show you the configuration but it seems I cannot attach it to my reply.

 

anyway thanks a lot for replying 

 

 

 

Hello,

 

you need to zip the .pkt file, then you can attach and upload it...

thanks sir

 

here you are

 

 

 

 

Hello,

 

basically, you had the wrong IP addresses on some of the interfaces connecting the routers to each other. You also had all subinterfaces for all Vlans configured on both routers, Router0 and Router2. Find attached the revised version. I have saved this in PT version 7.3.0, if you cannot open it, below are the router configs:

 

Router0#sh run
Building configuration...

Current configuration : 1346 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router0
!
ip cef
no ipv6 cef
!
spanning-tree mode pvst
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.10
description vlan 10
encapsulation dot1Q 10
ip address 10.0.10.14 255.255.255.240
!
interface FastEthernet0/0.20
description vlan 20
encapsulation dot1Q 20
ip address 172.16.20.6 255.255.255.248
!
interface FastEthernet0/0.30
description vlan 30
encapsulation dot1Q 30
ip address 192.168.30.30 255.255.255.224
!
interface FastEthernet0/1
ip address 128.0.0.3 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1.40
description vlan 40
encapsulation dot1Q 40
ip address 10.0.40.14 255.255.255.240
!
interface FastEthernet0/1.50
description vlan 50
encapsulation dot1Q 50
ip address 172.16.50.6 255.255.255.248
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 10.0.0.0
network 128.0.0.0
network 172.16.0.0
network 192.168.30.0
network 192.168.60.0
default-information originate
no auto-summary
!
ip classless
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end

 

Router1#sh run
Building configuration...

Current configuration : 655 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router1
!
ip cef
no ipv6 cef
!
spanning-tree mode pvst
!
interface FastEthernet0/0
ip address 128.0.0.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 129.0.0.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 128.0.0.0
network 129.0.0.0
no auto-summary
!
ip classless
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end

 

Router2#sh run
Building configuration...

Current configuration : 1116 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router2
!
no ip cef
no ipv6 cef
!
spanning-tree mode pvst
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.60
description vlan 60
encapsulation dot1Q 60
ip address 192.168.60.6 255.255.255.248
!
interface FastEthernet0/0.70
description vlan 70
encapsulation dot1Q 70
ip address 10.0.70.6 255.255.255.248
!
interface FastEthernet0/0.80
description vlan 80
encapsulation dot1Q 80
ip address 172.16.80.6 255.255.255.248
!
interface FastEthernet0/1
ip address 129.0.0.2 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 10.0.0.0
network 129.0.0.0
network 172.16.0.0
network 192.168.60.0
default-information originate
no auto-summary
!
ip classless
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end

Hi sir it eventually works

thank you so much sir and have a nice day :)
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card