01-29-2020 09:49 AM
Yesterday, I configured a 2960C switch to make part of my lab. Initially, I created a VLAN...an SVI for that VLAN and assigned it an IP Address...assigned an access port to that VLAN...and, configured a default gateway. I connected my laptop to the access port, after manually assigning it an IP Address. However, I wasn't able to ping my gateway or the IP Address of the SVI. Oh! I also configured a trunk port on my 2960C, and made the newly created VLAN native.
After that failed test, I removed the native VLAN configuration off the trunk port; and, configured the access port to access VLAN 1...instead of the newly created VLAN. At that point, I was able to successfully ping my gateway and the IP Address of the SVI 1 interface, from my laptop.
Any ideas, why this might be the case...before I lab it up and try figuring it out? :)
Thanks!
01-29-2020 10:03 AM
Hi,
If you are connecting your laptop to a port on the switch, the port needs to be configured as access port. Now, the port could be in default vlan (vlan1) or any other vlan e,g 10, 20 and so on. They only time you need a trunk is when you have multiple vlans on the same port.
HTH
01-29-2020 10:04 AM
Could you reconfigure the mentioned parameters and attach the entered settings?
In addition, you must verify the IP configured on your PC is within the segment of the IP configured in the SVI.
Regards
01-29-2020 10:20 AM
These, were part of the initial config (with the exception of the missing native VLAN config, on my trunk port). And, from my laptop; which, was part of the 10.0.0.0/24 network, I was unable to ping the gateway or the address of my SVI. But, after I removed the native VLAN (34) off of my trunk port and removed access to vlan 34 from fa0/34, I was able to ping the gateway and SVI address of vlan 1...after 10.0.0.88, was removed from vlan 34 and added to vlan 1.
interface FastEthernet0/34
switchport access vlan 34
switchport mode access
interface FastEthernet0/48
switchport mode trunk
interface Vlan34
ip address 10.0.0.88 255.255.255.0
01-29-2020 10:56 AM
01-29-2020 11:16 AM
Hello @Jaderson Pessoa .
I did configure an L2 VLAN, during that time. That's how I was able to configure fa0/34, to access it.
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