Configuring the Internet and Router IP Settings
Just like when setting up an off-the-shelf router, you must configure the Internet connection. The following paragraphs cover a few different connection types.
If you have cable Internet or a connection that doesn't require specific configuration (a dynamic IP), you're probably used to just plugging in a router[md]and the Internet just works. RouterOS works similarly, but you must enable DHCP first. This is already turned on for off-the-shelf routers. Here's how to enable it in RouterOS:
- From the command line, type setup and hit Enter.
- Type d to bring up the DHCP client settings.
- Make sure that the correct name is given for the network interface/adapter that's connected to your Internet modem and hit Enter. You should have noted the interface names when monitoring the traffic earlier.
If you have a static Internet IP address (advanced service) from your ISP, and you are using a type that doesn't require login details, follow these steps to configure your connection:
- From the main menu, type setup and hit Enter.
- Type a to bring up the IP and gateway settings.
- Type a to create a new IP address.
- Make sure that the correct name is given for the network interface/adapter that's connected to your Internet modem and hit Enter. You should have noted the interface names when monitoring the traffic.
- Type the Internet IP address given to you by the ISP, followed by a forward slash (/) and netmask number, and then hit Enter (for example, 209.165.155.124/20).
- Type g to set the Default Gateway.
- Type the IP of the Default Gateway, given to you by the ISP, and hit Enter.
- Type x to exit the IP settings menu.
- Type x to save the changes you've made and to return to the main menu.
If you have a PPPoE or PPTP type of Internet connection, such as DSL, type setup from the main menu and hit Enter. Then depending upon which connection you have, type p or t and follow the prompts to input the details.
Next we'll create the IP address for your router. This enables the router to communicate on the network. It also gives you an address to use when connecting from the configuration utility. Follow these steps to add the IP information:
- From the main menu, type setup and hit Enter.
- Type a to bring up the IP and gateway settings.
- Type a to create a new IP address.
- Make sure the correct interface is defined and hit Enter. You should have noted the interface names when monitoring the traffic earlier (ether1).
- Type the desired IP and the netmask divided by the forward slash (/) and hit Enter (for example, 192.168.1.1/24).
- Type "g" to set the Default Gateway.
- Type the desired IP, which is probably the one you just created, and hit Enter.
- Type x to exit the IP settings menu.
- Type x to save the changes you've made and to return to the main menu.