02-10-2014 02:41 AM - edited 03-07-2019 06:06 PM
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
02-10-2014 02:46 AM
The firewall will be blocking ICMP...
Martin
02-10-2014 02:57 AM
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.
02-10-2014 03:07 AM
The client will have a firewall itself (assuming it's Windows) although that does not explain why the hosts can ping one another.
02-10-2014 03:18 AM
client firewals are disabled.
02-10-2014 03:23 AM
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
02-10-2014 03:39 AM
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.
02-10-2014 03:43 AM
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
02-10-2014 04:20 AM
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 ***
02-10-2014 04:23 AM
Correct John, thanks for your valuable comments.
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