04-28-2012 01:34 AM - edited 03-07-2019 06:23 AM
Hi,
I just picked up a 24 port Catalyst 2950 to expand my home network and learn a bit more about networking. Having just upgraded the IOS software 'm now trying to get this to work as required on my network but I'm having a few issues.
My intentions are to plug my cable router/modem wan connection which is set up as the dhcp server to fa 0/1, then use fa 0/2 - 24 for the rest of my wired network. So essentially all on the same subnet interfacing with the router 192.168.0.1.
So far I have set up all of the security on the switch, and have all switch ports assigned to vlan1 with no IPs. My laptop connected to fa0/2 however is not assigned an ip address. Looking at a few posts I ahve rightly or wrongly played about with dhcp snooping.
Config
Current configuration : 2205 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Cisco2950
!
enable secret 5 $1$1EA5$w0rV3F7kdfZ6sCwVQR4/H.
!
ip subnet-zero
!
ip dhcp snooping vlan 1
ip dhcp snooping information option allow-untrusted
ip ssh time-out 120
ip ssh authentication-retries 3
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
What am I doing wrong?
Solved! Go to Solution.
04-28-2012 01:38 AM
My laptop connected to fa0/2 however is not assigned an ip address.
Maybe because portfast isn't enabled on each port?
Honestly, now. DHCP snooping on a home network? Who's going to hack into your home network?
04-28-2012 01:38 AM
My laptop connected to fa0/2 however is not assigned an ip address.
Maybe because portfast isn't enabled on each port?
Honestly, now. DHCP snooping on a home network? Who's going to hack into your home network?
04-28-2012 02:06 AM
Portfast on fa 0/2 - 24 worked a treat. Thanks.
As for DHCP snooping - you don't know my neighbours! In all seriousness I was just playing around with the settings.
Now looking at getting a bit more complicated, how do I set up a management vlan with a dhcp assigned ip address (from the router) so I can telnet/ssh in to the switch? I'm scared of setting up a vlan 2 with an ip and breaking everything now it's working.
04-28-2012 03:08 AM
Ok. Thanks. Didn't know the portfast worked as I just took a guess.
How complicated is the DHCP? You can set the 2950 as a DHCP server.
Management IP address: you can only have ONE management ip address on a 2950.
If your neighbors are "good" then I'd recommend you stay away from using Vlan 1
Sent from Cisco Technical Support iPhone App
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