In the OSI hierarchy, routers work on level 3. Uses IP addresses for switching packets.Optimizing routing is done using routing tables.
These can be static (operator-created), or dynamic, learned from neighboring routers based on routing protocols.
Routers can be:
- individual, used to connect a home to the Internet. They are small, inexpensive, connect via DSL, coaxial cable or FO to the provider, they also have an integrated switch (multiple Ethernet ports) and have wireless access point (creating a wi-fi local network) .
They generally have their own operating system (depending on the manufacturer), and setup is easy using the Graphical User Interface (GUI).
- for companies that are big, robust and can interconnect many networks. The most used in telecommunication companies is the Cisco router (with IOS operating system).
The WAN interface to connect to the provider is GPON, using FO. The router includes an integrated switch that has 4 Ethernet ports. It can also create and manage a wi-fi local network.
- The connection is made by typing in the browser: 192.168.100.1 (default IP address).
Type user: root and password: admin and connect:
First configure the WAN interface to the IP provider and IP assignment mode (static or DHCP).
Then we configure the Local Area Network, the router's IP address being: 192.168.100.1 and a gateway to WAN for other PCs and devices in the LAN.
We enable and set up DHCP so that other network devices automatically take their IP from the router's access point.
From the WLAN menu we will configure the password and coding mode for wi-fi internet access to devices.
In the Security menus, we can set some filters to restrict access from the Internet (WAN) to the local area network (LAN). Thus, we can filter IPs, MAC addresses or URLs (websites) that can not access the devices in the LAN.
IP filters are set in the following menu:
In the Security DoS (Denial of Services) menu, filters are set for different types of external attacks:
In the Forward Rules menu, there are DMZ, Port Mapping and Port Trigger menus.
From the DMZ (Demilitarized Zone) menu, you can restrict some devices from LAN to WAN:
From port mapping (also known as Port Forwarding), port correspondence is set for different devices (IPs) and different applications.
Thus, from the Internet, we can access different applications from different PCs in the LAN, using the fixed IP of the router (on the WAN interface), but on different ports (for example: 22.214.171.124/8080).
In the Network Applications menu, we can configure different applications, such as: FTP client (for downloading files from the local network and saving to a USB stick), ARP, IGMP, QoS or DNS.
In the System Tools menu, we can reset the router, see the logs, make the default configuration restore, power management:
The Status menu is used for information about WAN, VoIP, WLAN, Ethernet port, Battery.
Also, information about the Optical Interface (GPON):
It is a dual-band router, equipped with 5th generation Wi-Fi (5G Wi-Fi) technology.
With 2.4 GHz, it reaches speeds of 300 Mbps, while the 5GHz band allows speeds of up to 433 Mbps.
Through the built-in USB port, external storage devices, printers and other electronic products can be connected and can be easily shared within the network.
To configure the router, type in the browser: 192.168.1.1. The login window opens.
Introduce user: admin and password: admin and connect us. In the first image are shown some of the menus:
And the rest of the menus:
First we set the WAN interface of the router (uplink from the provider).
Also in the WAN section we can set the DMZ (demilitarized zone), to restrict traffic to a local network (LAN) device.
Now we set up the local area network (LAN):
And we can set up DHCP (which automatically assigns IPs to devices connected to the LAN):
The local Wi-Fi network is set in the window:
We can set up a private network (VPN):
We can use parental control (to restrict certain sites):
We can set the USB interface:
We can set firewall:
IPv6 addresses can be set:
Can set Asus cloud:
Port forwarding can be done:
We can watch the network:
We can get information about visitors:
We can get traffic information:
We can look at logs:
We can use the tools offered by Asus: ping, netstat, etc .:
We also have a management window, where we can update the software, save, modify, load configurations, work with files:
For large telecommunication networks, for large routing capabilities, Cisco routers are used.
Cisco routers, although having their own operating system (IOS), do not have a graphical user interface (GUI).
Configuration is done through the console (on installation), after which the router can be accessed via SSH or Telnet.
So, if we connect via serial cable (RS232), we can use Putty to gain access to the console.
We set the initial parameters and connect.
The prompt will appear:
There are multiple access levels protected by passwords with different privileges.
Now we are in the: user exec mode.
To move to the next level (privileged mode), we will type: enable, and the prompt will change:
For: global configuration mode, type: configure terminal, and the prompt will change:
In: global configuration mode, the router is configured.
Examples of commands:
- All available commands are displayed.
- The current configuration file is displayed.
- Copy the current configuration file (from RAM) to non-volatile memory (NVRAM). It has the role of saving the configuration.
- Delete the configuration file (after reset, the router is as new).
- The parameters of the X interface are displayed.
- All the interfaces present on the router are displayed.
- Set the router's name as X.
- A new abc user with level 15 privileges and the xyz password is set.
- Configuring Telnet access. The prompt will change to: config-line #
Using the Tab key makes the completion of the command.
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Cisco has developed a program called Packet Tracer that once installed can test networks consisting of routers, PCs, access points, configurable interfaces, and simulate traffic.
Router(config)# line vty 0 5
Router(config-line)# privilege level 15
Router(config-line)# login local
Router(config-line)# transport input telnet
Router(config-line)# transport input telnet ssh