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.
Click “interfaces”, double-click interface “ether1”.
Enter to “name” the interface “ether1” a name, for example “ether1-lan.” Click on “apply” and “ok”.
To name the following interface double-click “ether2”.
Give this also a name and click on “apply” and “ok”. Do this for all interfaces.
For the wireless interface “WLAN1” you can in “name” “WLAN access point” to enter, click on “apply” and “ok”.
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.
Click “bridge” then click the blue cross to add a bridge.
Specify under “particular” the bridge a name, such as this “bridge-lan.”
To add interfaces to the bridge, click on “ports”, then click on the blue cross to add an interface.
Under “Interface” “ether1-lan” to add them to the bridge, click on “apply” then “ok”.
Again click the blue cross to add interface ether2-lan.
Select Interface at “ether2-lan, click on” apply “and” ok “.
Thus, all interfaces are put in the bridge, now we can give the bridge an IP address.
The bridge give an IP-address
Click “IP” and then “addresses”.
Under “Interface” “bridge-lan.”
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.
Click “IP” then “DHCP server”.
Click “DHCP setup”.
Under “DHCP server interface” “bridge-lan”, click “next”.
“DHCP address space” is filled in automatically, click “next”.
“Gateway for DHCP network” is also automatically filled in, click on “next”.
“Addresses to give out” you can change, but here are automatically selected throughout the DHCP range, click on “next”.
Enter a DNS server IP address, such as those from Google, click on the down arrow to add yet one matter.
Add a second DNS server if the primary DNS server does not work it will take the second. Click “next”.
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
The DHCP server has been set.
The 3G portion closer look
Plug the Vodafone 3G modem in Mikrotik Router Board, the LED on the 3G modem flashes green.
To see if the Mikrotik Router Board 3G modem detects click “System” and then “Resources”.
Click on through to “USB”.
Click the right mouse button and click “detail mode” to see more.
The Vodafone modem is recognized, you see at ports 0 but it does not, we will not work with PPP.
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.
When “name” you specify the interface named “3G modem, click on” apply “then” ok “.
So, now the 3G modem and all interfaces are clearly recognizable.
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.
Select Interface “3G modem” and click on “apply” and “ok”.
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).
Click “IP” and then on “Firewall”.
Click on through “NAT” and click the blue cross to bring in a NAT rule.
- By “chain” let you stand “srcnat”.
- With “out interface” select “3G modem”
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.
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”
Click on through to “PIN of the SIM card.”
Enter the PIN and click Save.
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.
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.