ad space

CCR2004-16G-2S+ Internet Access Configuration

I have started an WISP(Wireless Internet Service Provider) project and in this project I want to build the WISP network architecture myself. I have plan to use the CCR2004-16G-2S Mikrotik router as a the main core router. I have no earlier experience with Mikrotik router and switches and plan to learn myself. Today I was able to configure the router with internet access from one of its ethernet port. Here I am describing what I have done.

For testing purpose, I used the internet connection from my home router which is getting internet connection from an ISP via FTTH. Below picture shows what and how I have connected the PC and the router.

Mikrotik CCR2004-16G-2S+ networking

And below is the corresponding network diagram.

 


So what I have been trying to do here is to provide internet access on ether7 port of the Mikrotik CCR2004-16G-2S+ router. I have connected a laptop to the ether7 port using a yellow colored CAT5e/6 cable. 

So for this purpose, first I connected the internet connection from my home GPON ONU router port to the ether1 port of the mikrotik router. On the picture the CAT5e/6 cable used is gray colored and in the diagram it is shown in violet color.

To access and configure the CCR2004-16G-2S+ router, I connected a laptop to the ether15 port the the Mikrotik CCR2004-16G-2S+ router with a black(greenish in diagram) CAT5e/6 ethernet cable . 

I used winbox64 desktop application to connect to the router. For login into the router, I configured the ether1 interface with a static IP(instead of DHCP IP). For static IP,we need first to assign IP to the ether1 interface, then configure the Route and the DNS.

From IP>Addresses, I assigned a static IP 192.168.1.100 to the ether1 interface. 


 Then I added the ISP router gateway address 192.168.1.1 in the IP>Routes.

Then from IP>DNS, I used the 1.1.1.1, 1.0.0.1, 8.8.8.8 and 8.8.4.4 as the DNS server IP as shown below.

To get the internet connection on ETH7 from ETH1 I had to create a bridge.

From Bridge, click on the + sign to add a new bridge1 as shown.

From the Ports tab, click on the + sign and add the ether1,ether7(optionally ether2 for me) to the bridge1 port. Now we can exchange data between the interface added. 

We can then use a PC and connect to the ether7 port and check whether it is connected to the internet. The following short video shows this.


 I think this is not the best way to configure Ports of the router. But I am still learning and happy to see having internet access on the desired port. Next I will check the DHCP option of assigning IP address and NAT and VLANs.

See also,

How to build WISP wireless network

2 Comments

Previous Post Next Post