12-19-2019 01:54 PM
For a learning purpose I am creating a VLAN using an old switch: catalyst c2950.
I used the suggested commands found on this community below :
Switch(config)#vlan 10 Switch(config-vlan)#name Restricted LAN Switch(config-vlan)#exit Switch(config)#int fa1/0 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 10 Switch(config-if)#end
I assigned the the VLAN 10 to the port 1 to port 8. I connected the port 1 (fa0/1) to a general switch where is connected some PCs a DHCP server and a cisco Router. At port 2 (fa0/2) i connected a PC to test if it was joining the LAN getting for example the IP from the DHCP server.
1) It didn't work.
2) On the port 1 I am receive the error: duplex mismatch discovered. How can I set the "auto negotiating" in between the switches?
I am sure I am missing something fundamental .....
Thanks
12-19-2019 02:06 PM
12-19-2019 02:07 PM
12-19-2019 02:44 PM
I solved the "auto negotiating " issue using the commands below:
Switch>en Switch#conf t Switch(config)#interface f0/1 Marco(config-if)#speed 100 Switch(config-if)#duplex auto
The other switch is a normal NETGEAR GS108 8-Port. In that case do I need a crossover cable to solve the issue?
Thanks
12-20-2019 05:56 AM - edited 12-23-2019 09:40 AM
Duplex auto makes sense, but speed 100 should work with speed auto.
Unsure whether your NetGear supports auto-MDI. I recall (?) the 2950 does not.
If the link comes up at all, likely your cable is okay interconnecting the two switches.
12-19-2019 03:00 PM
here is my commnets :
1) It didn't work.
BB - what is not work ? explain more
2) On the port 1 I am receive the error: duplex mismatch discovered. How can I set the "auto negotiating" in between the switches?
BB - by default switch set to auto mode, can you post complete log on both the switches.
you may required to set duplex full or half based on the error.
try below commands - one at a time both the sides and see if this fix the issue ?
duplex auto
or
duplex full
Note: I hope these are physical switches right ? not simulated?
12-22-2019 05:08 PM - edited 12-22-2019 05:10 PM
1) It didn't work. => the PC connected to the f0/2 was not part of the LAN (connected to the f0/1)
2) error: duplex mismatch discovered => When I used "speed auto" it didn't solve the problem. When I used "duplex full" appear a warning message saying the "speed couldn't be auto". I tried setting the speed at 100 and it seems the error is solved, the error message didn't appear again.
12-23-2019 12:57 AM
1) It didn't work. => the PC connected to the f0/2 was not part of the LAN (connected to the f0/1)
So do you 2 VLAN in the network? original posting may not have that information.
If you still having an issue, post the full config and also what is the PC IP address, what IP address you try to ping?
12-23-2019 02:40 PM
For a learning purpose I have created a VLAN 10 associated to the first 8 Cisco switch ports. The second VLAN is the default one "VLAN1". All the equipment are real not virtual (PCs included).
The PC "VLAN10 test" fa0/2 (in the picture) should get the IP address from the DHCP server as part of the VLAN10 but it doesn't, it is out of the LAN (192.168.1.xx).
12-24-2019 10:44 AM
12-26-2019 06:47 PM - edited 12-26-2019 06:48 PM
After the Cisco router there is only a 192.168.1.0 network LAN. The DHCP server and all PCs are part of this network.
The switch 1 (picture) has the default VLAN 1. The switch 2 has two VLANs: the default VLAN1 and the VLAN 10 with the setting below:
Switch(config)#vlan 10 Switch(config-vlan)#name Restricted LAN Switch(config-vlan)#exit Switch(config)#int fa1/0 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 10 Switch(config-if)#end
Do I need to change some setting on the switch 1?
12-27-2019 03:03 AM
can you post complete config of Both switch and Rouer to look.
Also confirm below actions.
1. in the path you have mentioned netgear switch (is this managed or unmanaged switch)
2. The devices connected to netgear get DHCP IP address ? what IP address they get ?
3. Cisco switch you like to be just Layer2 ?
Once we have above information, we can able to suggest you best
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