cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1333
Views
10
Helpful
6
Replies

VLAN truncking and Inter-VLAN configuration.

mirko mohammed
Level 1
Level 1

Hello Cisco,

I am new to networking and VLANs, and I have a project now that I am stuck with.

I have a router-on-a-stick connected to 4 huge networks. the topology is like the below image. I have also uploaded the topology.TopologyTopology I know it may be my VLANs that are messed up. the HQ router can ping some nodes but not others.

e.g. it can ping 2 PCs in VLANs at the bottom left network, but not the third one. and no other nodes. keeping in mind that the top right network is running OSPF configuration and the top left is running EIGRP.

 

Please tell me what do I need to provide for you to understand better?

below is #show run of the HQ router.

HQ#show run
Building configuration...

Current configuration : 2714 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname HQ
!
!
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX15247QY1-
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
 description connect to local network below.
 no ip address
 duplex auto
 speed auto
!
interface GigabitEthernet0/0.1
 description VLAN 1 Trunk
 encapsulation dot1Q 1 native
 ip address 172.16.0.1 255.255.255.0
!
interface GigabitEthernet0/0.5
 description VLAN 5 Trunk
 encapsulation dot1Q 5
 ip address 192.168.2.1 255.255.255.0
!
interface GigabitEthernet0/1
 no ip address
 duplex auto
 speed auto
!
interface GigabitEthernet0/1.10
 encapsulation dot1Q 10
 ip address 172.32.1.129 255.255.255.248
!
interface GigabitEthernet0/1.20
 encapsulation dot1Q 20
 ip address 172.32.1.137 255.255.255.248
!
interface GigabitEthernet0/1.30
 encapsulation dot1Q 30
 ip address 172.32.1.145 255.255.255.248
!
interface GigabitEthernet0/2
 no ip address
 duplex auto
 speed auto
!
interface GigabitEthernet0/2.10
 encapsulation dot1Q 10
 ip address 172.18.1.129 255.255.255.248
!
interface GigabitEthernet0/2.20
 encapsulation dot1Q 20
 ip address 172.18.1.137 255.255.255.248
!
interface GigabitEthernet0/2.30
 encapsulation dot1Q 30
 ip address 172.18.1.145 255.255.255.248
!
interface Serial0/0/0
 description Connects to OSPF WAN
 ip address 10.10.10.1 255.255.255.252
 clock rate 128000
!
interface Serial0/0/1
 description Connects to EIGRP WAN
 ip address 10.10.10.5 255.255.255.252
 clock rate 128000
!
interface Vlan1
 no ip address
 shutdown
!
router eigrp 1
 network 172.16.0.0 0.0.0.255
 network 192.168.2.0
 network 172.32.1.128 0.0.0.7
 network 172.32.1.136 0.0.0.7
 network 172.32.1.144 0.0.0.7
 network 172.18.1.128 0.0.0.7
 network 172.18.1.136 0.0.0.7
 network 172.18.1.144 0.0.0.7
 network 10.10.10.0 0.0.0.3
 network 10.10.10.4 0.0.0.3
 
!
router ospf 1
 log-adjacency-changes
 network 172.16.0.0 0.0.0.255 area 0
 network 192.168.2.0 0.0.0.255 area 0
 network 172.32.1.128 0.0.0.7 area 0
 network 172.32.1.136 0.0.0.7 area 0
 network 172.32.1.144 0.0.0.7 area 0
 network 172.18.1.128 0.0.0.7 area 0
 network 172.18.1.136 0.0.0.7 area 0
 network 172.18.1.144 0.0.0.7 area 0
 network 10.10.10.0 0.0.0.3 area 0
 network 10.10.10.4 0.0.0.3 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
banner motd ^C
------------------------------
      Router HQ can only be
  ACCESSED WITH AUTHORIZATION
------------------------------
^C
!
!
!
!
!
line con 0
 password cisco
 login
!
line aux 0
!
line vty 0 4
 password cisco
 login
!
!
!
end

Thank  you very much for your help. I am new to this.

Best Regards,

Mirko.

2 Accepted Solutions

Accepted Solutions

Hello,

 

the problem seems to be that some of your PCs are configured in the wrong Vlans on their switches. The PC with IP 172.32.1.130 on FastEthernet0/2 was configured for default Vlan 1, but needed to be in Vlan 10 (file attached).

 

Check the other non-reachable PCs for similar problems.

View solution in original post

Hello,

 

I checked your network again. You had missing EIGRP routes and duplicate Vlans on the HQ router. I corrected all errors, review the configurations. You now have full end-to-end connectivity.

 

 

View solution in original post

6 Replies 6

Hello,

 

post the zipped Packet Tracer project (.pkt) file.

Hi George,

I uploaded it, thank you for your interest.

M

Thanks, I'll have a look.

Hello,

 

the problem seems to be that some of your PCs are configured in the wrong Vlans on their switches. The PC with IP 172.32.1.130 on FastEthernet0/2 was configured for default Vlan 1, but needed to be in Vlan 10 (file attached).

 

Check the other non-reachable PCs for similar problems.

Hello,

 

I checked your network again. You had missing EIGRP routes and duplicate Vlans on the HQ router. I corrected all errors, review the configurations. You now have full end-to-end connectivity.

 

 

THank you very much, Mr. Georg,

it is highly appreciated. I will go over it and ask you again if I had more questions.

 

thank you again for your help.