cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
593
Views
10
Helpful
9
Replies

ping

vinish milton
Level 1
Level 1

Hi,

  i have cisco 3750x switch, the below configuration has been done. i would like to ping switch to local host( 192.168.4.X) but it not happen,but host can ping to switch. pl let me which command or configuration need to be done?

interface GigabitEthernet1/0/43

switchport access vlan 8

switchport mode access

load-interval 30

!

interface GigabitEthernet1/0/44

switchport access vlan 8

switchport mode access

load-interval 30

!

interface GigabitEthernet1/0/45

switchport access vlan 8

switchport mode access

load-interval 30

!

interface GigabitEthernet1/0/46

switchport access vlan 8

switchport mode access

load-interval 30

!

interface GigabitEthernet1/0/47

switchport access vlan 8

switchport mode access

load-interval 30

!

interface GigabitEthernet1/0/48

switchport access vlan 8

switchport mode access

load-interval 30

speed auto 100

!

interface GigabitEthernet1/1/1

!

interface GigabitEthernet1/1/2

!

interface GigabitEthernet1/1/3

!

interface GigabitEthernet1/1/4

!

interface TenGigabitEthernet1/1/1

!

interface TenGigabitEthernet1/1/2

!

interface Vlan1

no ip address

!

interface Vlan8

ip address 192.168.4.1 255.255.255.0 secondary

ip address 97.208.97.33 255.255.255.252

9 Replies 9

Martin Carr
Level 4
Level 4

The firewall will be blocking ICMP...

Martin

there is no firewall between switch and host, all hosts directly connected to switch gig ports. host to host can ping., but only switch to host not pinging.

The client will have a firewall itself (assuming it's Windows) although that does not explain why the hosts can ping one another.

client firewals are disabled.

Jon Marshall
Hall of Fame
Hall of Fame

Does the 3750 have ip routing enabled ie. is it acting as L3 switch or a L2 switch ?

Is the client IP 192.168.4.x  ?

What is the client's default gateway ?

From the switch can you do an extended ping with the source IP as 192.168.4.1 ?

Jon

i forget mention source ip as 192.168.4.1. now i am able to ping from switch to host,

CISCO#ping 192.168.4.60 source 192.168.4.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.4.60, timeout is 2 seconds:

Packet sent with a source address of 192.168.4.1

!!!!!

Thanks Jon.

Ok, with the above perhaps it's because it's trying to use the 97.x.x.x subnet to ping, rather than the secondary, given it works when you specify the source?

Martin

Vinish,

When you have multiple addresses on an interface, the primary address will always be default. You would need to source the address as you have in order to ping anything from the switch on that subnet.

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***

Correct John, thanks for your valuable comments.

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