This time, i tray to clarification litle view about function from network device. this all about Router, Switch anf Hub. direct to my opinion.....
Router: Router, is use to join 2 diferent network. in example to continued betwen LAN with Internet, it's request exiting router as band from 2 this network.
in view router place have modem, in my think this picture
___________ ___________ ___________ ___________
| | | | | | | |
| Internet |----| Modem |----| Router |----| LAN |
|__________| |__________| |__________| |__________|
Router In Picture that above is function as gateway, and firewall.
Gateway:is a the waiting door go to internet. each client/ workstation in network come from gateway first, to internet conection. can picture as this:
___________ __________________ ___________
| | | | | |
| Internet |----| WS1 as Gateway1 |----| WS Lain |
|__________| |_________________| |__________|
|
|
_____|____
| |
| WS Lain |
|__________|
Firewall :
Usualy attched betwen internet and router. firewall can function as the wall security for network, in this scanario is [LAN]. In there, usually exiting more fasility like firewall, logging, snort and etc.
Switch:
Usualy attched betwen internet and router. firewall can function as the wall security for network, in this scanario is [LAN]. In there, usually exiting more fasility like firewall, logging, snort and etc.
example router Phisik Multifunction like this is Cisco Router. But i more usesing else namely is smothwall. Becouse Only computer in low spesification can be working best. only 300 mb and also 2 landcard.
Smothwall is a distro linux is spesialy design for take probelem about router, Firewall and gateway. Else it router can use for continued 2 LAN, has diferent subnetmask, more for intranet.
Switch:
Usualy many use for LAN token star.
and switch can use as repeater. this function for continued cable2 UTP ( Kategoru 5/5e) computer in 1 with computer 2. in switch usualy are routing, routing make fuction for stone to conection with differnt computer in LAN
In Picture like this
Hub : same as swtich, but the have a diferent, hub not fasility routing, so all information come has send to the all computer (broadcast)