Quote:
It is an SMC GS24CSMART. Does that have a DHCP server?
|
No, it doesn't, and it doesn't need one.
As I understand it (and I
can be a complete simpleton!) it works something like this:
[And, Yes, TCPIP-gurus, it
is a little more complicated than this, but I'm not about to write a book / the definitive reference here!]
You plug your ethernet cable (from your modem / router / gateway / whatever) into your switch.
You plug your PCs into the switch. The switch will "learn them" (eg 192.168.2.5 is plugged into port 14 [Note, in this context "port" refers to the little, commonly black hole you plug an ethernet cable into]), if you move things around, the switch will adapt to the new addresses.
Suppose you now plug in a PC to port 15. This PC needs to get an address by dhcp. So it issues a dhcp request. The switch will send this request to all its connected ports. If the only dhcp server you have running is on your router, then your router will reply to the switch. The switch knows which port the dhcp request came in on, so it sends the router's reply to port 15, and that PC gets its IP address (let's say it gets address 192.168.2.200), and the switch remembers it.
Now suppose 192.168.2.5 wants to send a packet to 192.168.2.200
192.168.2.5 sends the packet to the switch. The switch looks at it, and sees that it is destined for 192.168.2.200, which it knows is connected to port 15, so it sends it out to that port, and 192.168.2.200 receives it. Your router/gateway never even sees this packet, because the switch already knew where to send it on your LAN.
Internet bound packets get sent by the switch to your router/gateway, which sends them off to the Big Bad Web, while cleverly remembering which LAN IP (192.168.2.200 in this example) made the request. The replies come back to the router/gateway with a header along the lines of "Router, this packet is for you". The router looks at the packet, and realises that 192.168.2.200 requested it, the router sends the packet to the switch, along with the information that 192.168.2.200 requested it. The switch looks at the packet, and sees it is destined for 192.168.2.200, so it sends it out on port 15, and the PC receives the reply it was waiting for.
So, the only time traffic goes to your router is when a dhcp request is made, or there are packets to, or from, somewhere outside your LAN. The rest, the switch handles. They are useful pieces of kit.
Yours looks smart. Here's its page:
http://www.smc.com/index.cfm?event=v...id=39&pid=1551
HTH