MTCNA Class 03: Basic Networking Configurations(DHCP, Bridge, and Routing)
Objectives-
Mikrotik Interface Configuration and LAN Setup.
Bridge Configuration and IP Setup.
DHCP Configuration for Network Addressing.
IP Routing Basics and Static Routes.
Mikrotik Interface Configuration and LAN Setup
After login by winbox, Interfaces -> ether1, Comment as WAN
ether7 & ether8, comment as LAN
Bridge Configuration and IP Setup
Click on the Bridge button from the left Navigation bar -> Press (+) sign for new -> Fill up General information -> Click on Apply & OK. Comment as Bridge-LAN for LAN Ethernet Ports.
Add Selected Ethernet Ports for this created Bridge, i.e, ether7 & ether8.
Assign the IP addresses for WAN and LAN interfaces
DHCP Configuration for Network Addressing
Create a Pool for the DHCP Server and Fill up the following steps to do this.
Click on the IP option -> Click on DHCP Server -> Click on DHCP tab -> press (+) sign or Click on DHCP setup Option and go for next steps.
Finally Fill up all of the marked fields and Click on Apply & OK for creating DHCP Server.
IP Routing Basics and Static Routes
By Default Some Routes will be created on the Routing Table. For example, directly connected cables.
Static Routing Configuration
Scenario:
Since Head Office and Branch Office are already point-to-point connected and use static routes between each MikroTik Routers, solution for this diagram is -
Basic Network Configure, i.e. access to MikroTik Routers, IP Address assigned to each interfaces for both, Assign DNS, bridges if needed.
Static Routing Configuration between two routers and so that may communicate with every sub-network.
For Head Office Router -
/ip route
add disabled=no dst-address=20.0.0.0/24 gateway=9.10.11.2 routing-table=main \
suppress-hw-offload=no
For Branch Office Router -
/ip route
add disabled=no distance=1 dst-address=10.0.0.0/24 gateway=9.10.11.1 \
pref-src="" routing-table=main scope=30 suppress-hw-offload=no \
target-scope=10