Router – it may have a built-in switch and/or Wi-Fi, a switch (commutator), Wi-Fi (access point / hotspot) FTP or UTP cable, RJ-45 connectors.
We will discuss a case, in which we want to give Internet access to a few neighbors and share the bill.
The Internet supplier has done their job and has delivered services to our device, in this case – a TP-Link router with renewed DD-WRT firmware. Here begins our work:
Setting up the router. IP addresses:
WAN – this is the address that the supplier has given us and it is usually adjusted automatically by DHCP, so there is nothing to do here.
LAN – this is the address of the router which we will use as a Gateway, in other words –it directs the Internet traffic.
DNS – this is the address of the server that converts IP addresses into names. We can use the LAN address of the router, but it is not a good practice. It is more correct to set the address of the DNS server of the Internet supplier.
DHCP – this is the protocol that automatically distributes IP addresses to the computers and devices in our network.
A good practice is to define all devices by describing which IP address corresponds to which MAC address (the MAC address is the hardware address of the devices and is unique). This saves us the configuring of each machine individually!
In most cases, this is a passive device and its only task is to concentrate all LAN cables and to distribute the traffic to our internal network. More complex cases require intelligent switches that support VLAN, Spanning tree and other protocols for segmenting and network management.
The easiest and most popular method is a star or a mixed star – all cables enter from one place – usually a switch, and then are distributed to the end user – usually a computer. We use Category 5 LAN cables and RJ-45 connectors. You can find termination of the connectors to the cable HERE.
Setting up the wireless devices (WI-FI access point).
SSID – this is the name that will be visible when we look for a wireless network
WPA2 – here we type the password that will be entered when we want to connect to a wireless access point (there are other security protocols, but this is the most reliable one, maintained by amateur devices)
Additional functions of DD-WRT:
Since we replaced the firmware of our router, we can create a VPN server that will allow us to connect to our private network wherever we are. We are able to restrict the traffic of the network subscribers. This is very useful especially if there are people who download movies and files, thus limiting the traffic of others.
by Dimo Dimov