Solved

Cisco 2960

Posted on 2011-09-08
5
602 Views
Last Modified: 2012-08-14
Just got a cisco 2960 layer 2 switch at work.  I configured the switch with 2 additional VLANs, but I kept 22 of the 24 ports assigned to the default VLAN1. Since this is a layer 2 switch is there any type of DHCP settings on this switch that needs to be enabled, so that the ports on VLAN1 will recieve IP addresses. I know this isn't a switch that does any type of routing, so I'm trying to figure out how to get an IP addresses from a DHCP server. I'm new to cisco switches so I don't know much about them.
0
Comment
Question by:timgreen7077
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 13

Accepted Solution

by:
luc_roy earned 250 total points
ID: 36507685
you will need to connect it to a router so you can get routing and DHCP.  To make it work you can do one of two things.

1) Connect the router to a switchport vla 1, then DHCP will work on vlan 1
2) Create a trunk port and connect it to your router.  If you do this will will need something better than a dump router. You will need to progam that router to work with the cisco switch.
0
 

Author Comment

by:timgreen7077
ID: 36507711
do i need to give VLAN1 an IP and subnet mask also, or by default will it get this from the router.
0
 
LVL 79

Assisted Solution

by:lrmoore
lrmoore earned 250 total points
ID: 36507805
By default, vlan1 will be assigned an IP address from DHCP.
Since the 2960 is a pure Layer2 device, there is no capability for it to forward DHCP requests from one vlan to the other. That is a Layer3 function and you would need a layer3 switch or another router.
You can have 2 separate DHCp servers, one on vlan1 and one on vlan2
0
 

Author Comment

by:timgreen7077
ID: 36507826
ok, that was my question. So just to be clear: VLAN1 and all the ethernet ports assigned to VLAN1 will be issued IP addresses from the DHCP server. No configuration of any kind is needed for VLAN1. I don't need to assign it an ip address, default gateway or subnet mask. Is that correct?
0
 
LVL 13

Expert Comment

by:luc_roy
ID: 36509300
you do not need to but you can it you want to remote into it and make changes.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question