04-18-2020 03:55 PM
Hello. I have been practicing in interVLAN routing and faced trouble.
I have GNS3 and my topology looks like this:
Device MY_PC is cloud connected to virtual interface on my PC. I can ping gateway subinterface of all subnets. Although I can ping PC2 from PC1. Can ping VLAN 10 from my pc (using CMD) and gateway but not other devices or even router subinterfaces.
Here are configurations:
Router:
Current configuration : 1331 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface FastEthernet0/1.10
encapsulation dot1Q 10
ip address 192.168.10.254 255.255.255.0
!
interface FastEthernet0/1.20
encapsulation dot1Q 20
ip address 192.168.20.254 255.255.255.0
ip helper-address 192.168.40.1
!
interface FastEthernet0/1.30
encapsulation dot1Q 30
ip address 192.168.30.254 255.255.255.0
ip helper-address 192.168.40.1
!
interface FastEthernet0/1.40
encapsulation dot1Q 40
ip address 192.168.40.254 255.255.255.0
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
no cdp log mismatch duplex
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
!
end
Switch:
Current configuration : 1795 bytes
!
! Last configuration change at 22:40:09 UTC Sat Apr 18 2020
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname SW1
!
boot-start-marker
boot-end-marker
!
!
logging discriminator EXCESS severity drops 6 msg-body drops EXCESSCOLL
logging buffered 50000
logging console discriminator EXCESS
!
no aaa new-model
!
!
!
!
!
no ip icmp rate-limit unreachable
!
!
!
no ip domain-lookup
ip cef
no ipv6 cef
!
!
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
switchport trunk allowed vlan 10,20,30,40
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport mode trunk
!
interface Ethernet0/1
switchport access vlan 10
switchport mode access
!
interface Ethernet0/2
switchport access vlan 20
switchport mode access
!
interface Ethernet0/3
switchport access vlan 30
switchport mode access
!
interface Ethernet1/0
switchport access vlan 40
switchport mode access
!
interface Ethernet1/1
!
interface Ethernet1/2
!
interface Ethernet1/3
!
interface Ethernet2/0
!
interface Ethernet2/1
!
interface Ethernet2/2
!
interface Ethernet2/3
!
interface Ethernet3/0
!
interface Ethernet3/1
!
interface Ethernet3/2
!
interface Ethernet3/3
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
ip address 192.168.10.253 255.255.255.0
!
ip default-gateway 192.168.10.254
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
!
end
04-18-2020 04:06 PM
04-18-2020 04:52 PM
Here is output of ipconfig and pinging default gateway of MY_PCs subnet and default gateway of another subnet.
04-18-2020 05:22 PM
Occasionally, PC firewalls block pinging of external networks.
Check that the firewall of your S.O. it is not blocking the ping.
Regards
04-18-2020 06:01 PM
04-19-2020 03:35 AM - edited 04-19-2020 03:36 AM
That are results with disabled firewall.
04-19-2020 03:36 AM - edited 04-19-2020 03:37 AM
That are results with disabled firewall.
04-18-2020 05:55 PM - edited 04-18-2020 05:59 PM
I see you are using VMNet10 as a connection to your GNS3 Cloud but not Microsoft Loopback interface. In the past, I always use MS Loopback interface to connect to GNS3 and were able to ping GNS3 device via CMD of my Host PC.
Please check GNS3 doc or forums which way you should use it. I think only way is via MS Loop and not via VMnet.
Regards, ML
**Please Rate All Helpful Responses **
04-18-2020 06:12 PM
Can you share route print from your machine? And try doing capture on your pc and start a ping from router.
04-19-2020 04:50 AM - edited 04-19-2020 04:52 AM
Hello
You a missing the native vlan on the router, by default the physical interface of the subinterfaces would be it (vlan 1) but as you have stated a native vlan 99 you need to create this on your router
RTR
conf t
int fa0/1.99
encapsulation dot1Q 99 native
04-19-2020 09:44 AM - edited 04-19-2020 09:44 AM
Changed VMware virtual interface to MS loopback and have same issue. can ping router;s subinterface in my subnet but not another one. When I change it to VPC I can ping everything. Guess something is wrong with interaction between MS and GNS3
04-19-2020 11:21 AM - edited 04-19-2020 11:44 AM
did you disable Firewall on Host PC for testing? if still fails; save and exit. Create new project with MS Loop to Cloud to GNS3 Router without IOU switch.
Check GNS3 forums for help. Things might be different if you use GNS3 Server.
Regards, ML
**Please Rate All Helpful Responses **
04-20-2020 06:10 PM
04-19-2020 10:20 AM
Try using a normal PC instead of cloud and check if the ping works.
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