basic work

13
RedHat 6 & Centos 6 yum server, DNS, FTP, email, pop3 , webmail , ssh, vnc server, samba, ACL Permission , Group and ownership , Firewall , windows xp service Pack 2 setup, Firewall , Password Recovery, Cable state and crose , Print , Sharing , local Network Configuration , Bangla and English type , remote control and support , vnc , vmware workstation ,FTP server Client , photoshop , Illustrator, web page wordpress, scan , Data Recovery , HDD Bat refire , Computer Hardware A+ Certify , , Internet , Software good knowledge: winrar, office, skype, yahoo, vlc, video studio, Video editing , bangla & English typing , Remote , team vmware , Data Recovery, Password Recovery , HDD Regenerator , Open Crick , Live CD , Live work , Email Hander , all software good knowledge Windows 7 Password recovery , ftp, Lan network, Internet, Team vmware , HDD Regenerator , Data Recovery , windows 7 setup configuration Windows server 2008 R2 FTP, Network Configuration , MikroTik http://www.slideshare.net http://myhomelab.blogspot.com/2012/06/installingmikrotikrouterosin.html MikroTik Setup And Configuration , Installing Mikrotik RouterOS in VirtualBox MikroTik RouterOS is a Linux based operating system that runs on proprietary

Upload: mdsumonislam

Post on 16-Jul-2015

104 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Basic work

RedHat 6 & Centos 6

yum server, DNS, FTP, email, pop3 , webmail , ssh, vnc server, samba, ACL Permission ,Group and ownership , Firewall ,

windows xp service Pack 2

setup, Firewall , Password Recovery, Cable state and crose , Print , Sharing , local NetworkConfiguration , Bangla and English type , remote control  and support , vnc , vmware workstation,FTP server Client ,  photoshop , Illustrator, web page wordpress, scan , Data Recovery ,  HDDBat refire ,  Computer Hardware A+ Certify , , Internet ,

Software good knowledge: winrar, office, skype, yahoo, vlc, video studio, Video editing , bangla &English typing , Remote , team vmware , Data Recovery, Password Recovery , HDDRegenerator , Open Crick , Live CD , Live work , E­mail Hander , all software good knowledge

Windows 7

Password recovery , ftp, Lan network, Internet, Team vmware , HDD Regenerator , DataRecovery , windows 7 setup configuration

Windows server 2008 R2

FTP, Network Configuration ,

MikroTikhttp://www.slideshare.net

http://myhomelab.blogspot.com/2012/06/installing­mikrotik­routeros­in.html

MikroTik Setup And Configuration ,

Installing Mikrotik RouterOS in VirtualBox

MikroTik RouterOS is a Linux based operating system that runs on  proprietary

Page 2: Basic work

hardware (RouterBOARD), or on standard x86­based computers.Some training videos here

You can install it in VirtualBox and play around with this virtual device.

Go to their website and download the latest Router OS for PC/86At this time v5.18 is latest stable available version. Also available in torrent.

Create a new Virtual Machine in VirtualBox as per example below.

Page 3: Basic work
Page 4: Basic work
Page 5: Basic work
Page 6: Basic work
Page 7: Basic work

Check the interfaces[admin@MikroTik] > interface print Flags: D ­ dynamic, X ­ disabled, R ­ running, S ­ slave # NAME TYPE MTU L2MTU MAX­L2MTU 0 R ether1 ether 1500

and add  dhcp­client on ether1 and enable itip dhcp­client add interface=ether1 ip dhcp­client enable number=0

Page 8: Basic work

Previously I have setup the network adapter to be "Bridge" so the virtual Mikrotikmachine can see the my 3rd party (dhcp) router and get ip address[admin@MikroTik] > ip address print Flags: X ­ disabled, I ­ invalid, D ­ dynamic # ADDRESS NETWORK INTERFACE  0 D 192.168.0.102/24 192.168.0.0 ether1

I then added a second Ethernet adapter on my computer and in order to see it onMikrotik as ether2 I had to restart it.[admin@MikroTik] > interface print Flags: D ­ dynamic, X ­ disabled, R ­ running, S ­ slave # NAME TYPE MTU L2MTU MAX­L2MTU 0 R ether1 ether 1500 1 R ether2 ether 1500 [admin@MikroTik] > interface print Flags: D ­ dynamic, X ­ disabled, R ­ running, S ­ slave # NAME TYPE MTU L2MTU MAX­L2MTU 0 R ether1 ether 1500 1 R ether2 ether 1500

I enable dhcp client on ether2 and as it was connected to another DHCP server it got ipaddress.[admin@MikroTik] > ip dhcp­client add interface=ether2 [admin@MikroTik] > ip dhcp­client print [admin@MikroTik] > ip dhcp­client enable numbers=0 Flags: X ­ disabled, I ­ invalid # INTERFACE USE­PEER­DNS ADD­DEFAULT­ROUTE STATUS ADDRESS 0 X ether2 yes yes [admin@MikroTik] > ip address print Flags: X ­ disabled, I ­ invalid, D ­ dynamic # ADDRESS NETWORK INTERFACE 1 D 192.168.2.10/24 192.168.2.0 ether2

Then we can check if it can reach the Internet.[admin@MikroTik] > ping 8.8.8.8 HOST SIZE TTL TIME STATUS 8.8.8.8 56 49 62ms 8.8.8.8 56 49 63ms 8.8.8.8 56 49 63ms 8.8.8.8 56 49 62ms sent=4 received=4 packet­loss=0% min­rtt=62ms avg­rtt=62ms max­rtt=63ms

Page 9: Basic work

1. Assigning ether1 IP Address to the same network of VirtualBox Host­Only Network.This is the easiest way. You have to attach the Network Adapter of Mikrotik to ‘Host­onlyAdapter’ belong to ‘VirtualBox Host­Only Ethernet Adapter’. See image below:

Adapter Setting (click to enlarge)Later you have to set the IP address of ether1 of Mikrotik to be the same network ofVirtualBox Host­Only Network. The default IP address assigned to this Ethernet is192.168.56.1/24, of cource you can change this IP address as you want. You can checkthe IP Address by using ‘ipconfig’ (Windows) or ‘ifconfig’ (Unix/Linux). See image below:

Virtualbox Ethernet Adapter (click to enlarge)Now run the Mikrotik OS running in Virtualbox. Login using ‘admin’ and empty password.

Page 10: Basic work

Set the IP address of ether1 to 192.168.56.2/24 or whatever IP address still in the samenetwork.ip address add address=192.168.56.2/24 interface=ether1

After setting to ethet1 ip address, try to ping the IP address from Host OS (Windows).C:\Users\Fuad NAHDI>ping 192.168.56.2

Pinging 192.168.56.2 with 32 bytes of data:Reply from 192.168.56.2: bytes=32 time<1ms TTL=64Reply from 192.168.56.2: bytes=32 time=2ms TTL=64Reply from 192.168.56.2: bytes=32 time<1ms TTL=64Reply from 192.168.56.2: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.56.2:    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli­seconds:    Minimum = 0ms, Maximum = 2ms, Average = 0ms

If Mikrotik replied the ping, it is ready to access it using Winbox. Run Winbox now andset to Connect To: 192.168.56.2. See image below:

Click 'Connect' button and if there are no errors you should successfully log in to the

Page 11: Basic work

Mikrotik using Winbox.

Winbox Mikrotik (click to enlarge)2. Mapping / Forwarding port used by Winbox.Using this way you have to map/forward port used by a GuestOS installed on Virtualbox.Winbox is using port 8291 to LISTEN on the system.So we will map/forward this port from  HostOS to the GuestOS.The command are as below:C:\Users\Fuad NAHDI>cd\C:\>cd "Program Files\Sun\xVM VirtualBox"C:\Program Files\Sun\xVM VirtualBox>VBoxManage setextradata Mikrotik"VBoxInternal/Devices/pcnet/0/LUN#0/Config/winbox/HostPort" 8291VirtualBox Command Line Management Interface Version 3.0.2(C) 2005­2009 Sun Microsystems, Inc.All rights reserved.

C:\Program Files\Sun\xVM VirtualBox>VBoxManage setextradata Mikrotik"VBoxInternal/Devices/pcnet/0/LUN#0/Config/winbox/GuestPort" 8291VirtualBox Command Line Management Interface Version 3.0.2(C) 2005­2009 Sun Microsystems, Inc.All rights reserved.

C:\Program Files\Sun\xVM VirtualBox>VBoxManage setextradata Mikrotik"VBoxInternal/Devices/pcnet/0/LUN#0/Config/winbox/Protocol" TCP

Page 12: Basic work

VirtualBox Command Line Management Interface Version 3.0.2(C) 2005­2009 Sun Microsystems, Inc.All rights reserved.

After executing the above commands withour any errors, now open Winbox application.Set the Connect To value to localhost and Login to admin, then click Connect button.

After clicking Connect button and no error during login process, you should successfullylog in to the winbox application.

Page 13: Basic work

Winbox Mikrotik (click to enlarge)