06-04-2015 01:25 PM - edited 03-08-2019 12:24 AM
I'm not sure what I'm doing wrong, but I am unable to ping any of my network device from the switch if I do not configure an interface Vlan on the switch. If I leave the interface Vlan XX out, I cannot ping any devices including the router from the switch, but I can ping all the way through to the ASA that is connected to the switch from the router. If I add the interface Vlan into the switch, I can ping router, ASA and any other devices from the switch. I was asked not to configure an interface Vlan in the switch as we want this Vlan to be a layer 2 Vlan. Below is the router and switch configuration, can anyone see where the problem is?
Router:
interface GigabitEthernet0/1
no ip address
no ip redirects
no ip proxy-arp
no ip route-cache
duplex auto
speed auto
!
interface GigabitEthernet0/1.1
description Office Subnet
encapsulation dot1Q 1 native
ip dhcp relay information trusted
ip dhcp relay information check-reply
ip dhcp relay information policy-action replace
ip address 10.200.255.1 255.255.255.0
ip access-group leaving_office in
ip helper-address 10.200.255.31
no ip redirects
no ip proxy-arp
ip pim sparse-mode
no ip route-cache
service-policy input pm-in-lan
!
interface GigabitEthernet0/1.10
description Office Subnet
encapsulation dot1Q 10
ip dhcp relay information trusted
ip dhcp relay information check-reply
ip dhcp relay information policy-action replace
ip address 10.210.255.1 255.255.255.0
ip helper-address 10.200.255.31
no ip redirects
no ip proxy-arp
ip pim sparse-mode
no ip route-cache
service-policy input pm-in-lan
!
ip route 0.0.0.0 0.0.0.0 63.148.30.189
ip route 63.148.30.189 255.255.255.255 Multilink1
Switch:
interface Vlan1
ip address 10.200.255.10 255.255.255.0
no ip route-cache
!
ip default-gateway 10.200.255.1
06-04-2015 02:23 PM
If you are trying to ping from the switch, the switch needs to have an IP address to use as the source.
So when you remove the IP for vlan 1, than there is no IP to source it from and that is why ping does not work. If you want to ping from the switch, than you need to have at least one IP address on the device.
HTH
06-04-2015 07:45 PM
An ip address is needed if the switch will be managed remotely.
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