10-21-2021 09:39 AM
Hi, Im new.
I got a problem with L3 Switch, one of my vlan cant ping when using 10.0.0.0/24 as network. It works just fine when I changed the network address to 30.0.0.0 and 192.168.2.0. I havent tried other address but im pretty sure its just doesnt work with 10.0.0.0 network.
Setup is 2 pc to 1 switch
PC1 - Vlan10 | 192.168.1.150
PC2 - Vlan20 | 10.0.0.4
Switch port :
Gi0/1 - 192.168.1.1
Gi0/0 - 10.0.0.1
Gi1/1 - 11.22.33.2 (to outside)
PC1 can ping with any of the switch interface and outside network but PC2 wont able to do unless i changed the network other than 10.0.0.0
Thanks !
! hostname Switch ! boot-start-marker boot-end-marker ! ! ! no aaa new-model ! ! ! ! ! ! ! ! ip cef no ipv6 cef ! ! ! spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface GigabitEthernet0/0 switchport access vlan 20 switchport mode access media-type rj45 negotiation auto ! interface GigabitEthernet0/1 switchport access vlan 10 switchport mode access media-type rj45 negotiation auto ! interface GigabitEthernet0/2 media-type rj45 negotiation auto ! interface GigabitEthernet0/3 media-type rj45 negotiation auto ! interface GigabitEthernet1/0 media-type rj45 negotiation auto ! interface GigabitEthernet1/1 no switchport ip address 11.22.33.2 255.255.255.252 negotiation auto ! interface GigabitEthernet1/2 media-type rj45 negotiation auto ! interface GigabitEthernet1/3 media-type rj45 negotiation auto ! interface Vlan10 ip address 192.168.1.1 255.255.255.0 ! interface Vlan20 ip address 10.0.0.1 255.255.255.0 ! router ospf 1 ! ip forward-protocol nd ! no ip http server no ip http secure-server ! ! ! ! ! ! control-plane ! banner exec ^C ************************************************************************** * IOSv is strictly limited to use for evaluation, demonstration and IOS * * education. IOSv is provided as-is and is not supported by Cisco's * * Technical Advisory Center. Any use or disclosure, in whole or in part, * * of the IOSv Software or Documentation to any third party for any * * purposes is expressly prohibited except as otherwise authorized by * * Cisco in writing. * **************************************************************************^C banner incoming ^C ************************************************************************** * IOSv is strictly limited to use for evaluation, demonstration and IOS * * education. IOSv is provided as-is and is not supported by Cisco's * * Technical Advisory Center. Any use or disclosure, in whole or in part, * * of the IOSv Software or Documentation to any third party for any * * purposes is expressly prohibited except as otherwise authorized by * * Cisco in writing. * **************************************************************************^C banner login ^C ************************************************************************** * IOSv is strictly limited to use for evaluation, demonstration and IOS * * education. IOSv is provided as-is and is not supported by Cisco's * * Technical Advisory Center. Any use or disclosure, in whole or in part, * * of the IOSv Software or Documentation to any third party for any * * purposes is expressly prohibited except as otherwise authorized by * * Cisco in writing. * **************************************************************************^C ! line con 0 line aux 0 line vty 0 4 ! ! end
(
10-21-2021 11:22 PM
Hello,
looks like you are doing this is GNS3 ?
10-22-2021 12:31 AM
Hello,
I just tested this on an IOSv switch, everything works fine on this one. Can you post the output of:
show ip route
show ip interface brief
and turn on 'debug ip icmp' then post the output when you ping from the 10.0.0.4 IP address ?
10-22-2021 12:40 AM
Hello
switch:
conf t
ip routng
vlan10,20
exit
test again
10-22-2021 12:56 AM
'ip routing' is enabled by default on the IOSvL2 switches, it doesn't show up in the running config, it only shows up when you disable it (no ip routing)...
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