Hello and welcome to CertForums.co.uk, here we host free active certification forums with links to the best free resources for Microsoft's MCSA MCSE MCDBA Cisco's CCNA CCDA and CCNP, and CompTIA's A+ Network+ i-NET+ and Security+ certifications in the UK. If you wish to post or use other advanced features you will need to register first. Registration is absolutely free and takes only a few minutes to complete so sign up today!

If you have any problems with the registration process or your account login, please contact support

Go Back   CertForums > Certification Forums > Cisco Certification Forums > Routing & Switching
Home Forums Register Search Today's Posts Mark Forums Read

Switching Query

Post New ThreadReply
 
Thread Tools Display Modes
  #1  
Old 01-Oct-2008, 08:34 PM
kammodo's Avatar
kammodo kammodo is offline
New Member
Posts: 34
Points: 0 kammodo has no points
Power: 2
None
Join Date: 04 Jan 2008
Location: Inside a whale
Certifications: CCNA
WIP: CCNP
Switching Query

I am configuring a cisco switch at the moment. Its just a layer 2 switch, 2960. I have been told that it is good practice to configure a default gateway on the switch to route packets outside the network. The great mystery to me is, ip addresses are a layer 3 issue. How is the switch able to check the layer 3 destination address? Same goes for the management VLAN. Do layer 2 switches have limited layer 3 capabilites? Im sure Im missing something obvious here!

 
Reply With Quote
  #2  
Old 02-Oct-2008, 11:54 AM
r.h.lee r.h.lee is offline
Longterm Member
Posts: 943
Points: 1322 r.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 points
Power: 27
None
Join Date: 18 Mar 2006
Certifications: MCSE, MCP+I, MCP, CCNA, A+
WIP: CCDA
kammodo,

Quote:
“
Originally Posted by kammodo View Post
I am configuring a cisco switch at the moment. Its just a layer 2 switch, 2960. I have been told that it is good practice to configure a default gateway on the switch to route packets outside the network. The great mystery to me is, ip addresses are a layer 3 issue. How is the switch able to check the layer 3 destination address?
”
The purpose of the IP address that you can configure on a Cisco Catalyst 2960 switch is for management purposes for the management VLAN.

Quote:
“
Originally Posted by kammodo View Post
Same goes for the management VLAN. Do layer 2 switches have limited layer 3 capabilites?
”
No.

Quote:
“
Originally Posted by kammodo View Post
Im sure Im missing something obvious here!
”
In order to manage (think configure) the 2960 switch you can:
  1. Use a computer and console cable to physically manage the switch.
  2. Configure an IP address on the switch so that you can use either telnet or ssh to connect to the switch in order to manage it from another computer within the LAN.
  3. Configure an IP address and default gateway on the switch so you can manage it from a computer located across a WAN link from the managed switch.

So in review, the IP address and default gateways are ONLY for management purposes only and NOT to give the Layer 2 switch "...limited layer 3 capabilities..." as you mentioned.

Did I answer your questions and hopefully clarified the situation?


MCSE, MCP+I, MCP, A+, CCNA certified
 
Reply With Quote
  #3  
Old 27-Oct-2008, 05:29 PM
kammodo's Avatar
kammodo kammodo is offline
New Member
Posts: 34
Points: 0 kammodo has no points
Power: 2
None
Join Date: 04 Jan 2008
Location: Inside a whale
Certifications: CCNA
WIP: CCNP
Layer3 limited?

Sort of answers my question. If a switch has no layer 3 capability, then when you configure an IP address on it and the switch recieves a layer 3 IP addressed packet destined for the management VLAN then how does it know its for the switch? In order to check the destination packet and send a reply, in my understanding, would need limited Layer 3 processing capability.

 
Reply With Quote
  #4  
Old 27-Oct-2008, 06:31 PM
sunn's Avatar
sunn sunn is offline
Lifetime Member
Posts: 1,371
Points: 1057 sunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 points
Power: 25
None
Join Date: 15 Jan 2008
Location: Canada
Quote:
“
Originally Posted by kammodo View Post
Sort of answers my question. If a switch has no layer 3 capability, then when you configure an IP address on it and the switch recieves a layer 3 IP addressed packet destined for the management VLAN then how does it know its for the switch? In order to check the destination packet and send a reply, in my understanding, would need limited Layer 3 processing capability.
”

Think of the layer-2 switch like this, the functionatlity or purpose of the switch is Layer 2. Assuming the entire switch is one big vlan, it gets packets in one interface, and retransmits those packets through another (or multiple) interfaces.

Now if the switch has management capabilities and you want to manage the switch remotely (you're in the UK and switch is in Australia) you can connect to it (SSH/Telnet). So it does have layer-3 capabilities for itself, just like a PC-workstation. But it doesn't offer layer-3 functionality for hosts connected to the device.

So the default gateway if for itself when it needs to communicate (syslogs, return path for telnet session, etc...). This is for managing the device itself, it's not necessary.

Does this help?


____
Sunn
 
Reply With Quote
  #5  
Old 28-Oct-2008, 11:55 AM
r.h.lee r.h.lee is offline
Longterm Member
Posts: 943
Points: 1322 r.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 pointsr.h.lee has over 1000 points
Power: 27
None
Join Date: 18 Mar 2006
Certifications: MCSE, MCP+I, MCP, CCNA, A+
WIP: CCDA
Quote:
“
Originally Posted by kammodo View Post
Sort of answers my question. If a switch has no layer 3 capability, then when you configure an IP address on it and the switch recieves a layer 3 IP addressed packet destined for the management VLAN then how does it know its for the switch? In order to check the destination packet and send a reply, in my understanding, would need limited Layer 3 processing capability.
”
kammodo,

Imagine the following network topology...
Code:
[PC1]------[Switch]
Let's say we have the following IP address assignments:
  1. PC1 = 192.168.1.1 255.255.255.0
  2. Switch = 192.168.1.2 255.255.255.0

So when PC1 sends an IP packet to the switch, PC1 sends it to destination IP address of 192.168.1.2. That IP packet is encapsulated into an Ethernet frame with a destination MAC address of the switch. So when the switch receives the Ethernet frame, it notices that it is addressed to itself so it further decapsulates the Ethernet frame to reveal the IP packet inside. The switch notices that the destination IP address for the IP packet is 192.168.1.2 which is it's own IP address so it decides that this IP packet is for itself. That's how the switch determines that certain Layer 3 traffic is meant for itself. Does this answer your question?


MCSE, MCP+I, MCP, A+, CCNA certified
 
Reply With Quote
  #6  
Old 29-Oct-2008, 11:00 AM
kammodo's Avatar
kammodo kammodo is offline
New Member
Posts: 34
Points: 0 kammodo has no points
Power: 2
None
Join Date: 04 Jan 2008
Location: Inside a whale
Certifications: CCNA
WIP: CCNP
Thumbs up Thanks

Thanks for explaining that one a bit clearer guys. In another words switches do have limited Layer 3 capabilites but for itself. This makes a lot more sense.

 
Reply With Quote
Post New ThreadReply Spread this thread: Submit this thread to digg Submit this thread to del.icio.us


Go Back   CertForums > Certification Forums > Cisco Certification Forums > Routing & Switching


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB query misanthrope Hardware & Upgrading 3 09-Sep-2008 09:28 AM
Working on Helpdesk query – tech answers calls or an operator? jo74 Employment & Jobs 8 20-Aug-2008 09:08 PM
Query Jay_7 General 10 15-Jul-2008 11:30 AM
Exam query re: CPU spec's Steven A+ 3 13-Apr-2008 04:56 AM
(hopefully easy) Office 2K3 Query Arroryn Software 10 10-Feb-2008 05:34 PM


All times are GMT +1. The time now is 09:02 PM.

Powered by vBulletin® Version 3.6.11
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
CertForums.co.uk (C) copyright 2003-2007 All Rights Reserved. Content published on CertForums.co.uk requires permission for reprint.
Hosted by Lunarpages