Cisco 2960 configuration

5 pts.
Tags:
Cisco 2960
IP configuration
VLAN configuration
VLAN management
Windows 7 in 2010
Hi all- I need help with a new 2960 that i configured a second vlan. the default vlan1 im able to access the network and internet but the PCs connected to the ports on vlan2 i dont get any connection in the switch i did the #ip add 10.0.2.1 to vlan2 and when i do a ipconfig in the pc i see a 169.254.210 address Question where is this ip coming from and how do i configure vlan2 for ip 10.0.1.xx ,vlan1 is configure as 10.0.0.xx

Software/Hardware used:
windos 7, telnet
ASKED: July 13, 2010  7:12 PM
UPDATED: February 14, 2011  7:48 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

The 169.254.210 address is the default address microsoft assigns when there is no DHCP server to grab an IP address from.

If you want to run two VLANs on your 2960 switch and have them both reach the internet you are going to have to setup a trunk port from the switch to the router. On the port that connects to your router you will need a setup close to this
switch(config)# int g0/24
desc uplink to router
switchport mode trunk

Make sure you have initiated the vlan on the switch with a command:
switch(config)# vlan 2
state active

Now on your router is where you will create the Interface vlan2.
router(config)# int vlan2
ip address 10.0.1.1 255.255.255.255.

Now, you can setup a DHCP server to give out ips or setup your computer with a static ip address.

Ryan Gunther

http://www.onlinetech.com

————————————

Sounds like you’re not trunking ALL of your VLANs to your router/L3 device. Set up a trunk port on your switch and router and traffic will flow…

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • shanekearney
    On the switch this is the configuration enable config t vlan 2 name *******input the name of the vlan here******** exit vlan 3 name ******input the name of the vlan here****** exit next go to the interfaces you want in those vlans lets say int fa 0/1 switchport mode access switchport mode vlan 2 no shut exit do the same for every interface you want in vlan 2 and vlan 3 now the port that goes to the router has to be a trunking port so input this config t int g 0/1 switchport mode trunk no shut exit now onto the router on the interface connected to the switch input config t int g 0/1.1 encapsulation dot1Q 1 *****dot1 Q is the encapsulation type and the 1 at the end is for vlan 1 ip address 10.0.0.1 255.255.255.0 no shut exit int g 0/1.2 encapsulation dot1Q 2 ip address 10.12.12.12 255.255.255.0 no shut exit now your question doesn't say you want to use DHCP so if not assign your two computers their respective IP address as per the vlan they are connected to then from one of the computers ping the other and if you input the configuration correctly it will work. First palce the interfaces you want into their vlas
    810 pointsBadges:
    report
  • Snapper70
    If you are using a cisco router, it can farm out IP addresses on it's subinterfaces as well. IP dhcp pool P1 network 10.0.0.0 255.255.255.0 default-router 10.0.0.1 ip dhcp pool P2 network 10.12.12.0 255.255.255.0 default-router 10.12.12.12
    920 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following