cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
579
Views
0
Helpful
2
Replies

Cannot ping to dummy internet 8.8.8.8 using vip 10.10.10.254.

deypuchka
Level 1
Level 1

I cannot ping from PC1 (IP-10.10.10.5 , DG- 10.10.10.254) to 8.8.8.8 even after configuring HSRP and Vlans also. Ospf routing also is used but I can't seem to find any problem with the routing part. Can anyone please help me?

1.PNG

Configurations

Switch A
=========
A#sh run
Building configuration...

Current configuration : 2469 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname A
!
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
!
ip cef
no ip domain-lookup
!
no ipv6 cef
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
!
!
!
!
!
interface Port-channel1
 no ip address
 shutdown
!
interface Ethernet0/0
 switchport
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 80
 switchport mode trunk
 duplex auto
!
interface Ethernet0/1
 no ip address
 duplex auto
 channel-group 1 mode on
!
interface Ethernet0/2
 no ip address
 duplex auto
 channel-group 1 mode on
!
interface Ethernet0/3
 no ip address
 duplex auto
!
interface Ethernet1/0
 no ip address
 duplex auto
!
interface Ethernet1/1
 no ip address
 duplex auto
!
interface Ethernet1/2
 no ip address
 duplex auto
!
interface Ethernet1/3
 no ip address
 duplex auto
!
interface Ethernet2/0
 switchport
 switchport access vlan 10
 switchport mode access
 duplex auto
!
interface Ethernet2/1
 switchport
 switchport access vlan 20
 switchport mode access
 duplex auto
!
interface Ethernet2/2
 no ip address
 duplex auto
!
interface Ethernet2/3
 no ip address
 duplex auto
!
interface Ethernet3/0
 no ip address
 duplex auto
!
interface Ethernet3/1
 no ip address
 duplex auto
!
interface Ethernet3/2
 no ip address
 duplex auto
!
interface Ethernet3/3
 ip address 192.1.1.2 255.255.255.0
 duplex auto
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan10
 ip address 10.10.10.2 255.255.255.0
 standby 10 ip 10.10.10.254
 standby 10 priority 150
 standby 10 preempt
!
interface Vlan20
 ip address 20.20.20.2 255.255.255.0
 standby 20 ip 20.20.20.254
 standby 20 priority 150
 standby 20 preempt
!
router ospf 1
 network 10.10.10.0 0.0.0.255 area 0
 network 20.20.20.0 0.0.0.255 area 0
 network 192.1.1.0 0.0.0.255 area 0
!
!
no ip http server
ip route 0.0.0.0 0.0.0.0 192.1.1.1
ip route 0.0.0.0 0.0.0.0 Vlan10
ip route 0.0.0.0 0.0.0.0 Vlan20
!
!
no cdp advertise-v2
!
!
!
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
 transport input all
!
end


Switch S
==========
s#sh run
Building configuration...

Current configuration : 2419 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname s
!
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
!
ip cef
no ip domain-lookup
!
no ipv6 cef
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
!
!
!
!
!
interface Port-channel1
 no ip address
 shutdown
!
interface Ethernet0/0
 switchport
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 80
 switchport mode trunk
 duplex auto
!
interface Ethernet0/1
 no ip address
 duplex auto
 channel-group 1 mode on
!
interface Ethernet0/2
 no ip address
 duplex auto
 channel-group 1 mode on
!
interface Ethernet0/3
 no ip address
 duplex auto
!
interface Ethernet1/0
 no ip address
 duplex auto
!
interface Ethernet1/1
 no ip address
 duplex auto
!
interface Ethernet1/2
 no ip address
 duplex auto
!
interface Ethernet1/3
 no ip address
 duplex auto
!
interface Ethernet2/0
 switchport
 switchport access vlan 10
 switchport mode access
 duplex auto
!
interface Ethernet2/1
 switchport
 switchport access vlan 20
 switchport mode access
 duplex auto
!
interface Ethernet2/2
 no ip address
 duplex auto
!
interface Ethernet2/3
 no ip address
 duplex auto
!
interface Ethernet3/0
 no ip address
 duplex auto
!
interface Ethernet3/1
 no ip address
 duplex auto
!
interface Ethernet3/2
 no ip address
 duplex auto
!
interface Ethernet3/3
 ip address 193.1.1.2 255.255.255.0
 duplex auto
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan10
 ip address 10.10.10.1 255.255.255.0
 standby 10 ip 10.10.10.254
 standby 10 preempt
!
interface Vlan20
 ip address 20.20.20.1 255.255.255.0
 standby 20 ip 20.20.20.254
 standby 20 preempt
!
router ospf 1
 network 10.10.10.0 0.0.0.255 area 0
 network 20.20.20.0 0.0.0.255 area 0
 network 193.1.1.0 0.0.0.255 area 0
!
!
no ip http server
ip route 0.0.0.0 0.0.0.0 193.1.1.1
ip route 0.0.0.0 0.0.0.0 Vlan10
ip route 0.0.0.0 0.0.0.0 Vlan20
!
!
no cdp advertise-v2
!
!
!
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
 transport input all
!
end


Internet 
=========

Internet(config)#do sh run
Building configuration...

Current configuration : 1749 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Internet
!
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 Loopback0
 ip address 8.8.8.8 255.255.255.0
!
interface Ethernet0/0
 ip address 192.1.1.1 255.255.255.0
 half-duplex
!
interface FastEthernet1/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial2/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/3
 no ip address
 shutdown
 serial restart-delay 0
!
interface Ethernet3/0
 no ip address
 shutdown
 half-duplex
!
interface Ethernet3/1
 no ip address
 shutdown
 half-duplex
!
interface Ethernet3/2
 no ip address
 shutdown
 half-duplex
!
interface Ethernet3/3
 ip address 193.1.1.1 255.255.255.0
 half-duplex
!
router ospf 1
 log-adjacency-changes
 network 8.8.8.0 0.0.0.255 area 0
 network 192.1.1.0 0.0.0.255 area 0
 network 193.1.1.0 0.0.0.255 area 0
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 192.1.1.2
ip route 0.0.0.0 0.0.0.0 193.1.1.2
ip route 0.0.0.0 0.0.0.0 10.10.10.1
ip route 0.0.0.0 0.0.0.0 10.10.10.2
ip route 0.0.0.0 0.0.0.0 20.20.20.1
ip route 0.0.0.0 0.0.0.0 20.20.20.2
!
!
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

 

2 Replies 2

deypuchka
Level 1
Level 1

I did the same configuration in packet tracer and Eve-ng its working. I dont know what is wrong with gns3.

balaji.bandi
Hall of Fame
Hall of Fame

Remove all static Route if you running  OSPF all Routers

 

SWTICH A

no ip route 0.0.0.0 0.0.0.0 192.1.1.1
no ip route 0.0.0.0 0.0.0.0 Vlan10
no ip route 0.0.0.0 0.0.0.0 Vlan20

 

Switch S

========

no ip route 0.0.0.0 0.0.0.0 193.1.1.1
no ip route 0.0.0.0 0.0.0.0 Vlan10
no ip route 0.0.0.0 0.0.0.0 Vlan20

 

Internet
=========

 

no ip route 0.0.0.0 0.0.0.0 192.1.1.2
no ip route 0.0.0.0 0.0.0.0 193.1.1.2
no ip route 0.0.0.0 0.0.0.0 10.10.10.1
no ip route 0.0.0.0 0.0.0.0 10.10.10.2
no ip route 0.0.0.0 0.0.0.0 20.20.20.1
no ip route 0.0.0.0 0.0.0.0 20.20.20.2

 

configture p2p interface on the below example :

Both the switches :

 

interface Ethernet3/3

ip ospf network point-to-point

 

Internet router :

 

interface Ethernet0/0

ip ospf network point-to-point

!

interface Ethernet3/3

ip ospf network point-to-point

 

with this above you should see route in all 3 switches

 

show ip ospf neigh (config you have

show ip route confirm you see all the routes

 

still issue :

 

post below information : (updated latest show run config)

 

show ip route

show ip interface brief

show ip ospf neigh

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help