Originally posted by Cobraboy
I've never thought about that before...
I'm planning on building my own computer, I'll put in an Internal ADSL modem, I have to use a router don't I? If I want to have the ADSL on both pcs?
OK, the way it works is this:
You can only connect one machine to your cable/DSL modem, and this is usually done by running a network cable from the modem to your machine.
The way to hook more than one machine to a broadband connection is to buy a router, and as we've already seen, there are a variety of these about.
You can get a single-port router that has one WAN port (for the cable modem) and one LAN port (for your device). Typically, you would only buy one of these if you already had multiple devices connected to a hub: connect the router to the hub too, and hey-hey, internet on all machines.
You can do this another way, by setting up a PC as a router. You would put two network cards in the PC, one 'public' (connected to the modem) and one 'private' (connected to your hub). Your PC is the router.
In each case, you would configure local addressing (use 192.168.1.x) on each of the machines in your network, changing the x for each individual device. The router's (or PC's private address in the alternative suggestion) IP address will be defined as the gateway on the other networked machines.
You can also get routers that have multiple LAN ports, so they function as a router AND a hub. These are the best bet because they tend to look after the IP addressing for you. And finally, you can get routers which have hub ports and also wireless access points. This is what I've got, and I'm typing downstairs on the laptop at the moment. They're cool.
On the security issue, there are some simple things you can do to make sure that no scrote nicks your bandwidth:
Change the default address of your wireless router.
Wireless LANs use a Session ID, which can be broadcast or not. If you can get the lan to work with the Session ID not broadcast, then this is a good thing, but it's unlikely if you're using hardware from different manufacturers. My Session ID is being broadcast because my US Robotics WLAN card cannot see the Linksys Router.
Set the Session ID to a long string, with letters and numbers and something hard to guess.
Change the default Channel.
Set WEP (Wireless Encryption Protocol) to ON, and define a long key, different to the Session ID.
On your router (and this is the real killer for the bandwidth thief), set MAC Address Filtering to be on, then allow only the addresses that your WLAN cards have. All other addresses would not be able to associate with the WLAN.
Job done! This is all relatively simple stuff mind...