cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1743
Views
5
Helpful
5
Replies

can not ping some loopback interfaces

njconnect
Level 1
Level 1

I am using packet tracer to prepare for my CCNA exam

I created the following network environment

 

I have (2) 3560 multilayer switches.  I have created a port channel trunk interconnecting the 2 switches using ports Gi0/1 - Gi0/2.

I created 2 VLAN and assigned them ip address

VLAN 2: ip address 192.168.2.1/24

VLAN 3: ip address 192.168.3.1/24

On Switch 1 I've created interface Loopback 0 with ip address 10.0.0.1 255.255.255.255

On Switch 2 I've created interface Loopback 0 with ip address 10.0.0.2 255.255.255.255

I've enabled IP routing on both switches

i Have one server connected to port fa0/2 which is vlan 2.  I can ping both 

VLAN and pcs in those vlan as well as the loopback interface of Switch1 from the switches and computers.  I can not ping the switch2 loopback interface from Switch one or any of the computers.

 

I don't understand why.  Essentially what i would like to be able to do is assign each switch a loopback interface that i can ping from the all the computers.

 

I've included the config for both switches below.  I've also included paketTracer file.  switch logon is username superman password krypton

 

Switch 1 config 

----------------------------------------------------------------

 

!

version 12.2(37)SE1

no service timestamps log datetime msec

no service timestamps debug datetime msec

service password-encryption

!

hostname Switch1

!

ip routing

!

!

!

 

ip ssh version 2

ip domain-name nina.com

!

!

spanning-tree mode pvst

!

 

interface Loopback0

ip address 10.0.0.1 255.255.255.255

!

interface Port-channel1

switchport trunk encapsulation dot1q

switchport mode trunk

!

interface FastEthernet0/1

switchport access vlan 2

switchport mode access

switchport nonegotiate

spanning-tree portfast

!

interface FastEthernet0/2

switchport access vlan 3

switchport mode access

switchport nonegotiate

spanning-tree portfast

!

interface GigabitEthernet0/1

switchport trunk encapsulation dot1q

switchport mode trunk

channel-group 1 mode active

!

interface GigabitEthernet0/2

switchport trunk encapsulation dot1q

switchport mode trunk

channel-group 1 mode active

!

interface Vlan1

no ip address

shutdown

!

interface Vlan2

mac-address 0001.97b3.ee01

ip address 192.168.2.1 255.255.255.0

!

interface Vlan3

mac-address 0001.97b3.ee02

ip address 192.168.3.1 255.255.255.0

ip helper-address 192.168.2.10

!

ip classless

!

ip flow-export version 9

!

!

 

!

end

 

 

Switch 2 config

--------------------------------------------------------------------

!
version 12.2(37)SE1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch2
!
!
ip routing
!
!
!
ip ssh version 2
ip domain-name nina.com
!
!
spanning-tree mode pvst
!
interface Loopback0
ip address 10.0.0.2 255.255.255.255
!
interface Port-channel1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/1
!
interface FastEthernet0/2
switchport access vlan 3
switchport mode access
switchport nonegotiate
spanning-tree portfast
!
interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode active
!
interface GigabitEthernet0/2
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode active
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!

end

 

cisco.PNG

 

 

 

 

5 Replies 5

Hello,

 

the easiest way would probably be to run RIP on both switches:

 

router rip

version 2

network 0.0.0.0

 

Can you give that a try ? Otherwise, post the Packet Tracer project file (zip it first before uploading)...

I've gone ahead and added the packettracer file.  switch username superman password krypton

 

Hello,

 

what are your requirements ? Since both 3560 switches are L3 switches, and you have IP Routing enabled, you need to configure the default gateway for each PC on the directly connected switch. I can completely rebuild your network to get it to work, but what requirements is this based on ?

I've disabled ip routing on Switch2 and set the default-gateway 192.168.2.1 as per your suggestion. 

 

The basic requirements are

1. 2 switches interconnected with a trunk port 

2. at least 2 vlans configured 

3. vtp enabled

4. loopback interface on each switch should be reachable from computers or other devices.

5.  I should be able to ping all computers, vlans and loopback interfaces

The packet tracer file has already been uploaded in the original post
along with with the configuration of both switches
Review Cisco Networking products for a $25 gift card