- Click IP > DHCP-Server , and then click the DHCP Setup button.
- Be sure to choose the correct name for the adapter and the network interface to connect to your local network, then click Next .
- Specify a range or range of addresses, for example 192.168.1.0/24, and then click Next .
- Enter the IP address of the Default Gateway IP - for example 192.168.1.1 (the router's IP address) - and click Next .
- Skip the DHCP forwarding setting (DHCP relay) and click Next .
- Enter the DHCP address range. If you want to be able to change to an address within 192.168.1.100-192.168.1.199, you can use the first 100 addresses for the router and access points (APs) or servers loaded with Static IP address. By doing so you can distinguish well between the addresses of the server or AP and the user.
- Specify the DNS server used by the ISP and click Next . It can be detected automatically; otherwise you can only use OpenDNSs: 208.67.222.222 and 208.67.220.220.
- The default contract time (every three days) is OK; though if you like to change, click Next .
- Click OK to close the dialog box.
Turn an old PC into a LAN Server with RouterOS - Part 2
In this article, I will show you how to configure. When you're done, you'll have a basic router and you can experience advanced features.
Turn an old PC into a LAN Server with RouterOS - Part 1
In this article, I will show you how to use RouterOS software to make use of an old computer as a LAN server, which can save a lot of costs compared to buying a new Cisco router.
In Part 1 of this two-part series, we showed you how to load RouterOS software into an old PC to get advanced enterprise router features at a low cost.
In this article, I will show you how to configure. When you're done, you'll have a basic router and can experience its advanced features.
Configure DHCP to manage IP addresses
If you don't have to manually set up an IP address on every computer connected to the network, you will definitely want to enable the DHCP server on RouterOS.
This server will manage IP addresses on the network. Here's how to enable and configure the DHCP server using WinBox:
Enable DNS Relay to easily configure the client
Next, you should enable the DNS Relay feature so that clients can be configured with the router's IP for their DNS server settings, then the router forwards DNS requests to the real server.
By default, DHCP provides clients with real DNS server addresses, and requests are sent directly. However, if you want to manually configure a static IP, you must manually enter the DNS information.
Remembering the router's IP address is always easier than remembering the DNS address provided by the ISP.
Here's how to enable this feature with WinBox:
- Click IP > DNS , then click the Settings button.
- Check to make sure you have entered ISP DNS server addresses into Primary and Secondary fields.
- Integrate the Allow Remote Requests option to enable DNS relay.
- Click OK .
Enable NAT to share the Internet
The final step in creating a basic shared router is to enable Network Address Translation (NAT). This process ensures that sharing an Internet connection is possible.
It should be noted that each computer or device must have an IP address for communication on the network or on the Internet. However, usually you only get one IP address for your Internet connection. Thus, it is necessary to use NAT to "fool" the Internet into thinking that communication from any computer or device on your local network comes from your router.
In other words, it makes your router become a point of contact or transition between your network and the Internet.
This is how to enable NAT on RouterOS using WinBox:
- Click IP > Firewall and select the NAT tab .
- Click the Plus button to add a new firewall rule.
- With Chain , select " srcnat ".
- With the Src Address , enter the address range of the local network. For example, if the router's IP address is 192.168.1.1, you type 192.168.1.0/24 .
- With Out Interface , select the interface name that will be connected to the Internet.
- Click the Action tab.
- With Action , select " Masquerade ".
- Click OK to save the changes.
Wireless interface configuration for Wi-Fi access
If your computer has a wireless card, you can set up wireless access on the router.
Here's how to do it:
- Click the Wireless menu button to bring up the Wireless Interface window. If RouterOS detects supported wireless cards, they will be listed here. Otherwise they will be disabled, making sure you can activate them.
- With mode , select " AP Bridge ".
- Configure basic wireless settings, such as band, frequency, SSID (network name) and security profile.
- When done, close the wireless interface window.
Now you should configure wireless encryption to protect your network:
- Select the Security Profiles tab .
- Change the default profile by double-clicking it or clicking the Add button to create a new profile.
- To use the simple method of WPA / WPA2 (PSK), select " Dynamic Keys " for Mode . Then check the WPA PSK or WPA2 PSK authentication types . Select TKIP if using WPA and AES CCM if using WPA2 . Then type your password in the Pre-Shared Key boxes.
Next you need to create an IP address for the AP (wireless interface):
- Click IP > Addresses , and then click the Add button (plus sign).
- Type in an address inside the subnet, followed by a '/' and netmask. For example, enter 192.168.1.2/24 if the router's IP is 192.168.1.1/24.
- Select the wireless adapter for the interface.
- Click OK to save the changes.
If you want DHCP so that Wi-Fi users automatically receive IP addresses:
- Click IP > DHCP-Server , and then click the Add button (plus sign).
- Select an unused adapter for the interface.
- For Address Pool , select " dhcp_pool1 ".
- Click OK to save the changes.
Discover the rest of RouterOS
In this article, you should note that we only configured basic services, creating a wireless router or running a simple wire. However, RouterOS can provide many other advanced services for LAN and WAN.
For example, you can use its RADIUS server to be able to run WPA / WPA2-Enterprise encryption for Wi-Fi connections. You can use a VPN server to protect remote connections on public hotspots or to connect your offices together.
You should read it
- Turn an old PC into a LAN Server with RouterOS - Part 1
- How to change DNS server on the most popular routers
- How to configure the MikroTik router
- Set up your own VPN server at home with 4 simple ways
- Set up a VPN server on Router Tomato - Part 2
- How to Connect a USB Printer to a Network
- Setting up a VPN server on Router Tomato - Part 1
- Using Windows Server 2008 system like Router NAT
- Create a Hotspot Gateway with RouterOS
- How to use Windows Server 2012 as a router
- 5 tips to help make optimal use of Tomato on the Router
- How to switch Linksys router to Bridge mode
Maybe you are interested
Thumbnail processing with PHP Quickly view email sender information on Gmail with Gmail Sender Icons Scientists are about to teach mosquitoes without human blood Watch extremely fierce and fierce sumo fighting robots The world's 10 scariest intercontinental missiles Can humans and animals survive without oxygen?