• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Switch and Router Contents?

Eagle710

OSNN Senior Addict
#1
I cant find a good example/diagram of the contents of a switch or a router.... would like to know i got a major test coming up and google just isnt being my friend for this.
 

fitz

Woah.. I'm still here?
Staff member
Political User
#4
are you looking for information on what the switch and/or router keeps in it's memory to process packets?

If you don't have access to some real equipment or can't afford to purchase some on your own, I'd advise you to go pull down a router and/or switch simulator and a good book to learn/practice with. There is NO substitute to actually sitting on the console and learning/testing/breaking/fixing.

No offense, but I don't think your school is doing a very good job of teaching you this if you are getting ready to take a test and don't yet understand the basic differences between what a switch does and what a router does.

A basic layer 2 switch keeps a table of MAC addresses and which port the address resides on. They take a packet, read the header up to the point where they read the destination MAC address (note: a layer 2 switch never reads the IP address info) and forwards the packet to the correct port. If the dest MAC address is not in the table, it will perform an ARP broadcast across all the ports to find it.

A Router doesn't care about the MAC addresses as it works at layer 3 level. It keeps a table of "routes" where it knows certain IP addresses/ranges go out which particular interface to get there. It takes a packet, reads the destination IP address and sends the packet down the correct interface to get there.

Hmm... you do know what we are talking about when we talk about layer 2 and layer 3 right? (hint: google the OSI model)

edit:
I'm sure LordOfLA will chime in with more info and/or correct me as necessary :) :p

edit2: If I was rude in anyway, I apologize. I'm tired and cranky from a crappy day at work..
 
Last edited:

Eagle710

OSNN Senior Addict
#5
If the dest MAC address is not in the table, it will perform an ARP broadcast across all the ports to find it.--- > All ports except the source port right?


Hmm... you do know what we are talking about when we talk about layer 2 and layer 3 right? (hint: google the OSI model)---> Yes i know the model



edit2: If I was rude in anyway, I apologize. I'm tired and cranky from a crappy day at work-->> no not too bad
I was hoping i could find an actual diagram of the contents.....any help?
 

fitz

Woah.. I'm still here?
Staff member
Political User
#6
just jump on a cisco switch and type "show mac-address-table"

edit: "show ip route" on a cisco router
 

fitz

Woah.. I'm still here?
Staff member
Political User
#8
found these (I don't like the show ip route picture, but it was the best I could find):

show ip route


show mac-address-table
 

fitz

Woah.. I'm still here?
Staff member
Political User
#10
like I said, not the best picture of the router table.. best I could find right now.

On most managed cisco switches, there is a default vlan (id 1) so it would show a VLAN ID of 1 if you didn't setup any other VLAN's.
 

Eagle710

OSNN Senior Addict
#16
Actually its not a CISCO CCNA exam... my college offers a course that covers CCNA 1 + 2 ... we do cisco chapter quizzes and tests on the internet at cisco site. But this is his midterm test for CCNA 1. So its not the easy MC questions like the actual tests. Its all stupid essay questions on how this that and the other thing work. I will probably get my mark after my reading week. Believe it or not im having a this big term test before my reading week holiday. Crazy the way some teachers think. I will let you all know though when i get my mark back. Thanks for your support
 

Eagle710

OSNN Senior Addict
#18
I got this table example here and i got a question... i just want to make sure i know the answer so me please if you dont mind helping me out.

R1's routing table there is two Learned Rs for the interface it states S0 does that means that it is R1's S0????(thats what i think so i hope so)
 

Attachments

Last edited:

fitz

Woah.. I'm still here?
Staff member
Political User
#19
it means in order to get to those address, the proper path is to send those packets out the S0 (Serial) interface
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,962
Messages
673,247
Members
89,017
Latest member
Seggar