Solved

Cisco 2960

Posted on 2011-09-08
5
601 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
BGP Local Preference 5 49
AS-Path BGP Attribute 7 30
question about opening Non-profit website for organization in another country.. 5 49
IP Jumping 6 24
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
For months I had no idea how to 'discover' the IP address of the other end of a link (without asking someone who knows), and it drove me batty. Think about it. You can't use Cisco Discovery Protocol (CDP) because it's not implemented on the ASAs.…
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…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

726 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