![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|||||||
| Notices |
|
Sign up for a free OCAU account and this ad will go away! Search our forums with Google: |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Member
Join Date: Jul 2010
Location: Melbourne
Posts: 261
|
hi guys
wanted to know a few things about 'layer 3 switches' and how they exactly work(call me old fashion) Switch im talking about is a Cisco SG300-10 (http://www.cisco.com/en/US/products/...omparison.html third one down) i wanted to know in layer 3, does the switch have to be connected to a router to have internet access or can the L3 Switch just be directly connected to the modem that supplies the internet (in this case DPQ3212 which has one ethernet port) to supply internet to the clients attached to the switch since its layer 3/ 2 i assume this will work? since a router does the same working in the same layers thanks!
__________________
X V Rig: i7 2700k 4.6Ghz @ 1.31 24/7 | Asus Maximus IV Extreme ROG! | Ripjaws X 16GB 2133mhz | H100 | WD Blacks 4TB Vertex 3 240GB SSD | Thermaltake Level 10 GT | 1.2kW StriderGold | GTX590
Gear: G9X | G15 | G35 | SCARAB /X V Never Give Up Last edited by Virtuoso X; 1st May 2012 at 1:58 AM. |
|
|
|
| Join OCAU to remove this ad! |
|
|
#2 | ||
|
Member
Join Date: Aug 2010
Location: Australia
Posts: 41
|
Taken from:
https://learningnetwork.cisco.com/thread/10642 Quote:
Someone can correct me if I am wrong. EDIT: CEF = Cisco Express Forwarding
__________________
Quote:
Last edited by cacaw; 1st May 2012 at 4:17 AM. |
||
|
|
|
|
|
#3 | |
|
Member
Join Date: Jun 2002
Location: North Brisbane
Posts: 1,687
|
Quote:
Unless the DPQ3212 has some router functionality but a quick google suggested that it's a straight modem.
__________________
I have the ability of single-minded determination and focu... Hey, look! A horse! |
|
|
|
|
|
|
#4 |
|
Member
Join Date: Apr 2005
Posts: 1,724
|
[note: i 'make' switches for a living]
a L2 switch switches on ethernet frames - forwarding on destination mac-address and flooding any unknowns. L3 is where IP is at. a L3 switch forwards based on IP addresses, i.e. the same as what a 'router' does. the differences between a 'L3 switch' and a 'router' are that the latter is typically forwarding in software, so its much much slower, typically orders of magnitude more limited in performance. A L3 switch is superior in performance but that comes at a price. The 'price' is not the $$$ it costs but rather that its likely its logic for forwarding is baked into silicon and can never be changed or upgraded. It can never do more than what the underlying logic can do. To give you an example, lets say you bought your L3 switch in 1990, well before L3 switching of IPv6 existed. Lets say you bought a crappy cisco c2501 router at the same time. The c2501 could have been upgraded in the meantime with software to make it capable of routing IPv6. The L3 switch could not. 2nd post is not correct in terms of "CEF", thats just marketing from a certain vendor. ultimately what is going on is something that obeys the rules of IP forwarding, i.e. longest-prefix-match first. |
|
|
|
|
|
#5 |
|
Member
Join Date: Jul 2010
Location: Melbourne
Posts: 261
|
thanks for all the info! very informative.
__________________
X V Rig: i7 2700k 4.6Ghz @ 1.31 24/7 | Asus Maximus IV Extreme ROG! | Ripjaws X 16GB 2133mhz | H100 | WD Blacks 4TB Vertex 3 240GB SSD | Thermaltake Level 10 GT | 1.2kW StriderGold | GTX590
Gear: G9X | G15 | G35 | SCARAB /X V Never Give Up |
|
|
|
|
|
#6 |
|
Member
Join Date: Jul 2001
Location: Hillcrest, Logan
Posts: 2,878
|
A layer 3 switch will do quite complicated routing; but probably won't do PPPOE or NAT which would be required for most consumer Internet connections.
__________________
"The best thing about the internet is you can make up anything." - Ghandi "Mit der Dummheit kämpfen Götter selbst vergebens" (Against stupidity the gods themselves struggle in vain.) - Friedrich Schiller |
|
|
|
|
|
#7 | |
|
Member
Join Date: Jul 2010
Location: Melbourne
Posts: 261
|
Quote:
Nonetheless a L3 switch would be great replacement to experiment with in my lab.
__________________
X V Rig: i7 2700k 4.6Ghz @ 1.31 24/7 | Asus Maximus IV Extreme ROG! | Ripjaws X 16GB 2133mhz | H100 | WD Blacks 4TB Vertex 3 240GB SSD | Thermaltake Level 10 GT | 1.2kW StriderGold | GTX590
Gear: G9X | G15 | G35 | SCARAB /X V Never Give Up |
|
|
|
|
|
|
#8 |
|
Member
Join Date: Aug 2001
Posts: 7,630
|
I want a switch that makes coffee, ltd get to it.
|
|
|
|
|
|
#9 | |
|
Member
Join Date: Jul 2001
Location: Hillcrest, Logan
Posts: 2,878
|
Quote:
It's just the mostly "consumery" stuff they don't handle (and generally aren't priced for).
__________________
"The best thing about the internet is you can make up anything." - Ghandi "Mit der Dummheit kämpfen Götter selbst vergebens" (Against stupidity the gods themselves struggle in vain.) - Friedrich Schiller |
|
|
|
|
|
|
#10 |
|
Member
Join Date: Jul 2010
Location: Melbourne
Posts: 261
|
thanks shift!
__________________
X V Rig: i7 2700k 4.6Ghz @ 1.31 24/7 | Asus Maximus IV Extreme ROG! | Ripjaws X 16GB 2133mhz | H100 | WD Blacks 4TB Vertex 3 240GB SSD | Thermaltake Level 10 GT | 1.2kW StriderGold | GTX590
Gear: G9X | G15 | G35 | SCARAB /X V Never Give Up |
|
|
|
|
|
#11 |
|
Member
Join Date: Apr 2005
Posts: 1,724
|
ok!
Code:
$ ssh ltd@203.9.111.10 Password: Last login: Tue May 1 05:05:09 2012 from 203.9.111.27 switch>en switch#copy ? boot-extensions Copy boot extensions configuration extension: Source file path file: Source file path flash: Source file path ftp: Source file path http: Source file path https: Source file path installed-extensions Copy installed extensions status running-config Copy from current system configuration scp: Source file path sftp: Source file path startup-config Copy from startup configuration system: Source file path tftp: Source file path switch#copy ftp://ftp.pbone.net/mirror/archive.f....fc14.i686.rpm ? boot-extensions Copy to boot extensions configuration extension: Destination file path file: Destination file path flash: Destination file path ftp: Destination file path http: Destination file path https: Destination file path running-config Update (merge with) current system configuration scp: Destination file path sftp: Destination file path startup-config Copy to startup configuration system: Destination file path tftp: Destination file path switch#copy ftp://ftp.pbone.net/mirror/archive.f....fc14.i686.rpm extension: switch# switch#show extensions Name Version/Release Status RPMs ------------------------------------------ ------------------------- ------ ---- kaffeine-1.2.2-1.fc14.i686.rpm 1.2.2/1.fc14 A, NI 1 A: available | NA: not available | I: installed | NI: not installed | F: forced switch#exte switch#extension ? kaffeine-1.2.2-1.fc14.i686.rpm NI switch#extension kaffeine-1.2.2-1.fc14.i686.rpm % Error installing kaffeine-1.2.2-1.fc14.i686.rpm: RPM install error: Transaction check failed: kdebase-runtime is needed by kaffeine-1.2.2-1.fc14.i686 kdelibs4 >= 4.6.3 is needed by kaffeine-1.2.2-1.fc14.i686 libQtCore.so.4 is needed by kaffeine-1.2.2-1.fc14.i686 libQtDBus.so.4 is needed by kaffeine-1.2.2-1.fc14.i686 libQtGui.so.4 is needed by kaffeine-1.2.2-1.fc14.i686 libQtNetwork.so.4 is needed by kaffeine-1.2.2-1.fc14.i686 libQtSql.so.4 is needed by kaffeine-1.2.2-1.fc14.i686 libQtSvg.so.4 is needed by kaffeine-1.2.2-1.fc14.i686 libQtXml.so.4 is needed by kaffeine-1.2.2-1.fc14.i686 libX11.so.6 is needed by kaffeine-1.2.2-1.fc14.i686 libXss.so.1 is needed by kaffeine-1.2.2-1.fc14.i686 libkdecore.so.5 is needed by kaffeine-1.2.2-1.fc14.i686 libkdeui.so.5 is needed by kaffeine-1.2.2-1.fc14.i686 libkfile.so.4 is needed by kaffeine-1.2.2-1.fc14.i686 libkio.so.5 is needed by kaffeine-1.2.2-1.fc14.i686 libsolid.so.4 is needed by kaffeine-1.2.2-1.fc14.i686 libxine.so.1 is needed by kaffeine-1.2.2-1.fc14.i686 switch#extension kaffeine-1.2.2-1.fc14.i686.rpm force switch# switch#show extensions Name Version/Release Status RPMs ------------------------------------------ ------------------------- ------ ---- kaffeine-1.2.2-1.fc14.i686.rpm 1.2.2/1.fc14 A, F 1 A: available | NA: not available | I: installed | NI: not installed | F: forced switch#bash sudo rpm -qa | grep kaf kaffeine-1.2.2-1.fc14.i686 switch#bash sudo su bash-4.1# kaffeine kaffeine: error while loading shared libraries: libQtSql.so.4: cannot open shared object file: No such file or directory |
|
|
|
|
|
#12 |
|
Member
Join Date: Aug 2001
Posts: 7,630
|
Much better... and to think people wonder why you pay so much for support contracts.
|
|
|
|
|
|
#13 | |
|
Member
Join Date: Jul 2010
Location: Melbourne
Posts: 261
|
Quote:
__________________
X V Rig: i7 2700k 4.6Ghz @ 1.31 24/7 | Asus Maximus IV Extreme ROG! | Ripjaws X 16GB 2133mhz | H100 | WD Blacks 4TB Vertex 3 240GB SSD | Thermaltake Level 10 GT | 1.2kW StriderGold | GTX590
Gear: G9X | G15 | G35 | SCARAB /X V Never Give Up |
|
|
|
|
|
|
#14 |
|
Member
Join Date: Apr 2003
Location: Canberra
Posts: 8,421
|
why do people keep bring up NAT as a thing L3 switches cant do, NAT's just a table, inside local, outside local, inside global, outside global. Infact NAT is one thing that would quite easily fit into a hardware table, much like ACL's.
__________________
OCAU Guitar Players Club #22 xp2500 @2310 210x11 stock hsf |asus a7n8x deluxe | 1024mb ddr400 | X800 445/515 Get a grip adolf, you lost the war, and you can't kill any more jews. Rhythm in jump. dancing close to you |
|
|
|
|
|
#15 |
|
Member
Join Date: Jul 2010
Location: Melbourne
Posts: 261
|
i believe the L3 switch is capable of doing NAT within a VLAN environment correct me if im wrong.
__________________
X V Rig: i7 2700k 4.6Ghz @ 1.31 24/7 | Asus Maximus IV Extreme ROG! | Ripjaws X 16GB 2133mhz | H100 | WD Blacks 4TB Vertex 3 240GB SSD | Thermaltake Level 10 GT | 1.2kW StriderGold | GTX590
Gear: G9X | G15 | G35 | SCARAB /X V Never Give Up |
|
|
|
![]() |
| Bookmarks |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|