3g

Tested with RouterOS 6:20

With this USB stick we go on the Internet, the Mikrotik router will distribute these Internet via Ethernet interfaces and wireless LAN. All Ethernet and WLAN ports are bridged and configure a DHCP server. We go back to the process step by step.

Interfaces to name.

3g

Click “interfaces”, double-click interface “ether1”.

3g

Enter to “name” the interface “ether1” a name, for example “ether1-lan.” Click on “apply” and “ok”.

3g

To name the following interface double-click “ether2”.

3g

Give this also a name and click on “apply” and “ok”. Do this for all interfaces.

3g

For the wireless interface “WLAN1” you can in “name” “WLAN access point” to enter, click on “apply” and “ok”.

3g

So, now everything is clear and recognizable.

Bridge of the Ports

A bridge is an interface that allows you to merge the Ethernet and wireless ports to 1 interface (the bridge). As a result, it is possible that a variety of interfaces such as, for example, ether1, ether2, ether3 etc. operate in the same network segment.

3g

Click “bridge” then click the blue cross to add a bridge.

3g

Specify under “particular” the bridge a name, such as this “bridge-lan.”

3g

To add interfaces to the bridge, click on “ports”, then click on the blue cross to add an interface.

3g

Under “Interface” “ether1-lan” to add them to the bridge, click on “apply” then “ok”.

3g

Again click the blue cross to add interface ether2-lan.

3g

Select Interface at “ether2-lan, click on” apply “and” ok “.

3g

Thus, all interfaces are put in the bridge, now we can give the bridge an IP address.

The bridge give an IP-address

3g

Click “IP” and then “addresses”.

3g

Under “Interface” “bridge-lan.”

3g

Fill in the “address” for example, the IP address in 192.168.100.1/24. Die / 24 is the subnet mask of 255.255.255.0. Click on “apply” and “ok”.

DHCP server set

If you have a PC or laptop is connected to one of the interfaces of Mikrotik Router Board this DHCP server will ensure that the PC or laptop will be assigned an IP address.

3g

Click “IP” then “DHCP server”.

3g

Click “DHCP setup”.

3g

Under “DHCP server interface” “bridge-lan”, click “next”.

3g

“DHCP address space” is filled in automatically, click “next”.

3g

“Gateway for DHCP network” is also automatically filled in, click on “next”.

3g

“Addresses to give out” you can change, but here are automatically selected throughout the DHCP range, click on “next”.

3g

Enter a DNS server IP address, such as those from Google, click on the down arrow to add yet one matter.

3g

Add a second DNS server if the primary DNS server does not work it will take the second. Click “next”.

3g

The “lease time” is how long the DHCP server one particular IP address will link to a specific MAC address. If you want to shorten you can change it this time, click on “next”. DHCP

3g

The DHCP server has been set.

The 3G portion closer look

3g

Plug the Vodafone 3G modem in Mikrotik Router Board, the LED on the 3G modem flashes green.

3g

To see if the Mikrotik Router Board 3G modem detects click “System” and then “Resources”.

3g

Click on through to “USB”.

3g

Click the right mouse button and click “detail mode” to see more.

3g

The Vodafone modem is recognized, you see at ports 0 but it does not, we will not work with PPP.

3g

If you’re in “interfaces” button you will see assist the 3G modem as LTE1 who are we going to change the name. Double-click this interface.

Attention: If the LTE interface does not appear you must disconnect the router board power. wait 10 to 20 seconds range and start the router back on board. It may be that the problem is solved and the LTE interface still emerges.

3g

When “name” you specify the interface named “3G modem, click on” apply “then” ok “.

3g

So, now the 3G modem and all interfaces are clearly recognizable.

3g

DHCP client set the Vodafone 3G modem K4305

As the 3G modem does not PPP settings, we proceed as if the 3G modem interface.Therefore, we will configure a DHCP client on the 3G modem.

3g

Select Interface “3G modem” and click on “apply” and “ok”.

3g

3G modem, the router board given an IP address, refer to the status “bound”.

Natten between Wan (3G modem) and LAN (private network).

NAT is necessary to separate from the public network (WAN), the LAN portion (your private network).

3g

Click “IP” and then on “Firewall”.

3g

Click on through “NAT” and click the blue cross to bring in a NAT rule.

3g

  • By “chain” let you stand “srcnat”.
  • With “out interface” select “3G modem”

3g

Click further on “action” and select “masquerade”. Click “apply” then “ok”.

The Vodafone 3G modem set K4305.

You do not make many settings but enter the PIN and saving is necessary.

3g

While the 3G modem is connected to the router board and the PC or laptop is connected to a network or wireless connection Give the web browser “http://192.168.9.1” in. Click “Settings”

3g

Click on through to “PIN of the SIM card.”

3g

Enter the PIN and click Save.

3g

Click “Connect”, then uncheck “connect to Automatic make, even while roaming”, click “Save”. The 3G modem will now automatically connect to the network, please note that you can not always let worry modem. This could result in higher costs. Pull When not using the 3G modem from the USB port.

3g

The 3G modem is connected and ready to surf through your Mikrotik router boards.Can make more people use the connection through the router board which is also the aim of such a configuration.

sumber

Iklan