You are on page 1of 86

ISP Setup using MikroTik

Class - I
MikroTik Basic, Installation of PC based MikroTik
using Vmware, Interface, IP, SRC-NAT, DNS

M Abdullah Al Naser
B.Sc in CSE
CCNA, RHCE, RHCSA, MTCNA
About MikroTik

2
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Installing VMware in PC
1. Collect VMware installation file with License
key and run the setup.exe

3
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Installing VMware in PC
2. VMware Workstation 8 initializing……..

4
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Installing VMware in PC
3. Click Next

5
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Installing VMware in PC
4. Click Typical

6
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Installing VMware in PC
5. You can Change installation directory (Optional)
6. Click Next

7
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Installing VMware in PC
7. Click Next

8
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Installing VMware in PC
8. Click Next

9
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Installing VMware in PC
9. Click Next

10
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Installing VMware in PC
10. Click Continue

11
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Installing VMware in PC
11. Installation is in progress…..

12
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Installing VMware in PC
12. Put License Key and click Enter

13
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Installing VMware in PC
13. Click Finish

14
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Customize Network Setting
1. Run VMware Workstation

15
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Customize Network Setting
2. Accept License Agreement and click OK

16
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Customize Network Setting
3. Sample Topology

17
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Customize Network Setting
4. Click Edit --> Virtual Network Editor…

18
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Customize Network Setting
5. Select VMnet1, configure parameters
accordingly and then select VMnet8

VMnet1
for
Local LAN

19
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Customize Network Setting
6. Configure parameters accordingly and then
click OK

VMnet8
for
WAN

20
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Create Virtual Machine
1. Click File --> New Virtual Machine…

21
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Create Virtual Machine
2. Select Typical and click Next

22
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Create Virtual Machine
3. Select last option here and click Next

23
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Create Virtual Machine
4. Select OS Other, Version Other and click Next

24
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Create Virtual Machine
5. Enter Machine Name, select Location, and
click Next

25
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Create Virtual Machine
6. Put Disk Size, select Single storage file, and
click Next

26
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Create Virtual Machine
7. Click Finish

27
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Edit Virtual Machine
1. Double-click MT1 and click Edit VM Settings

28
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Edit Virtual Machine
2. Select Network Adapter, select VMnet1

29
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Edit Virtual Machine
3. Click Add to add another adapter

30
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Edit Virtual Machine
4. Select Network Adapter and click Next

31
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Edit Virtual Machine
5. Choose VMnet8 and click Finish

32
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Edit Virtual Machine
5. Select CD/DVD, locate MikroTik IOS image
file and click Ok

33
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
1. Double-click MT1 and click Power on this VM

34
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
2. Installation initializing……

35
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
3. Displaying available packages

36
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
4. Press a to select all packages and press i to
start installation

37
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
5. Firstly Press n and then press y for appropriate
prompt

38
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
6. Installation is in progress

39
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
7. Press Enter to reboot

40
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
8. MikroTik is booting up

41
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
9. Login in to MikroTik using username admin
and password null [no password] (By Default)

42
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
10. MikroTik is now ready to configure in CLI
Mode

43
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
11. Verify interfaces using following command

44
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
12. Set IP address on ether1 for LAN connectivity
using given command

45
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
13. Set IP address on PC

46
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
14. Set IP address on PC

47
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
15. Disable VMnet8 adapter for the time being

48
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
16. Verify connectivity between PC and
MikroTik’s LAN interface

49
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
17. Browse 192.168.100.1 and download Winbox

50
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
18. Save Winbox in your PC

51
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
19. login in to the MikroTik using 192.168.100.1
Username admin and password null [no password] (By
default) and click Connect

52
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Install PC Based MikroTik on VM
20. Finally the MikroTik is ready to configure
using Winbox

53
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
RB750GL
It is a MikroTik Router Board with five
FastEthernet Interfaces

54
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Configuration Hands-on
Lab Topology

55
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Configuration Hands-on
Login in to router using Winbox

56
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Login in to MikroTik
Put Default Username, Password and click Connect

57
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Login in to MikroTik
Remove default configuration

58
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
About Winbox
Winbox navigation

59
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Interfaces
Interfaces --> Interface

60
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Rename Interfaces
Double-click on an interface --> General -->
Name: ether2-LAN --> OK

61
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Rename Interfaces
Renaming is done

62
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Rename Interfaces
Similarly rename another interface

63
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Assign IP Address
IP --> Addresses --> +

64
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Assign IP Address
IP --> Addresses --> +

65
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Assign IP Address
Enter IP with CIDR, Select Interface and click OK

66
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Assign IP Address
Assigning IP address is done

67
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Assign IP Address
Similarly assign another IP address

68
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Assign IP Address
Similarly assign another IP address

69
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Add default route

70
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Add default route

71
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Add default route

72
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Verify connectivity between router and ISP

73
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Verify connectivity between router and ISP
Successful !!

74
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Verify connectivity between PC and router
Successful !!

75
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Verify connectivity between PC and ISP
Not Successful !! What is the problem ??

76
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Configure Src-NAT

77
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Configure Src-NAT

78
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Configure Src-NAT

79
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Configure Src-NAT

OR

80
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Configure Src-NAT

OR

81
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Configure Src-NAT

82
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Verify connectivity between PC and ISP
Now Successful !! Reason was: NAT

83
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Configure DNS

84
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Configure DNS

85
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)
Thank you very much

86
Prepared by- M Abdullah Al Naser (mail.naserbd@yahoo.com)

You might also like