vritualization_ 3 in 1 _ using mikrotik + squid proxy + radius on single machine to save resources...

Upload: hongnh-1

Post on 22-Feb-2018

249 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    1/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 1/18

    Syed Jahanzaib Personal Blog to Share Knowledge !

    December 10, 2012

    Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to

    save resources :)

    Filed under: General IT Related, Mikrotik Related, VMware Related Tags: mikrotik with ESXi, Vmware Virtual Switch,Vritualizing mikrotik Syed Jahanzaib / Pinochio~:) @ 1:12 PM

    i28 Votes

    https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/virtual-network/https://aacable.wordpress.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/virtual-network/https://aacable.wordpress.com/tag/vritualizing-mikrotik/https://aacable.wordpress.com/tag/vmware-virtual-switch/https://aacable.wordpress.com/tag/mikrotik-with-esxi/https://aacable.wordpress.com/category/vmware-related/https://aacable.wordpress.com/category/mikrotik-related/https://aacable.wordpress.com/category/general-it-related/https://aacable.wordpress.com/
  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    2/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 2/18

    .

    https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/virtual-network/
  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    3/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 3/18

    Its a good idea to virtualize various servers so underutilized hardware can be used more efficiently, as now a days, getting goodhardware is not a big deal. It can save considerable amount of power consumption , reduced heat factor , easy to mange multipleVM using various tools like Vcenter / VEEAM (my favorite), VM Explorer , live migrations from one Virtual Server to Another,Backup & Restore becomes very easy and the list goes on . . .

    Recently I did an installation of a network where they were low in hardware resources but still they wanted to utilize the benefitsof Mikrotik Router OS with external Squid proxy server and also the Radius Billing Server . So in total they required at least 3physical machines, but I managed to install all of them on single server using Virtualization technology of VMWARE ESXi 5.x(64bit) and it worked so greatHere is how I did it.

    Note: Because of some time shortage, I am just giving you an idea how it can be done, I am not writing in pin point detailson how to connect every machine with Virtual/Physical switches. I will write about it soon.

    Hardware Used for the Example:

    IBM Xseries 3650 XEON Dual Processors with Quad Cores p/p

    3.5 15krpm SCSI in RAID 10 mode (300GB x 6)(the more Faster drives (like 1015krpm) you have, the better result you will beable to achieve. Preferably in RAIDmode, either 10or 0, depend on your management and goals, in this example I used 15krpmSCSI HDDs with dedicated RAID controller. I tested it on IBM xseries with RAID0 and found RAID 0 much more faster with15krpm but its not redundant, one drive fail and your whole RAID will go down, so if you want redundancy, go with at leastRAID 5 or RAID 10 (Recommended) , Raid 1 is also good as it mirrors each drive, but requires additional drives and also forproxy, its useless to use mirroring as it would be requiring more read/write burden on controller, oh GOD, in which argument Igot into :p)

    16GB RAM(Mikrotik doesnt requires much RAM in fact it officially supports maximum of 2G, but Radius and Squid do requiressome good amount of RAM, I dedicated 8 GB to SQUID, 4GB to Radius, 1 GB to Mikrotik)

    4 Network Adapters( In this article, dueto time shortage, I have only mentioned howto add two network adapters for LAN and

    WAN link using virtual Switch tech, but you can add more as per your requirements)

  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    4/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 4/18

    Software Used:

    1) Vmware ESXi 5.x 64bit as a Virtual Hypervisor Server

    Guest OS installed in this virtual servers are as following

    2) Mikrotik RouterOS 5.22[1GB Ram +100GB virtual HDD assigned to this VM]3) Ubuntu 10.4 for SQUID Proxy (2.7) [8GB Ram +500GB virtual HDD assigned to this VM]4) Ubuntu 10.4 for Radius Manager Billing System[4GB Ram +200GB virtual HDDassigned to this VM]

    TIP:You can use the following RAID calculator to evaluate how much space you will be getting various RAID modes.

    First install Vmware ESXi. You can get its free edition fromhttp://www.vmware.com , just register and download the latest version, it would be in .iso format, Simply burn it to CD, and install it on your server , its very simple to install theESXi, nothing morethen just clicking NEXTNEXT

    After ESXiinstalled, configure IP address on it, so you can manage it using its client called Vsphere client.

    To shorten the story I am using only two interfaces for the mikrotik, LANand WAN. in this example (shorten version) ESXihavetwo interfaces connected , one with the LANuser switch and other interface connected with theWAN(physically)

    Creating Virtual Switch and bind Network Adapters with this switch.

    Goto Configurationtab

    From the list appear in Hardware section, click on Networkingand click on ADD NetworkingAs showed in the image below , , ,

    http://www.vmware.com/
  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    5/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 5/18

  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    6/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 6/18

    Ok, our virtual switch is created.Now its time to bind our WAN adapter in this switch. (So it can later be used for WAN for all hosts we will requiring for)

    Click on the Properties

  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    7/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 7/18

    Done.

    Creating Mikrotik in VM and assigning network adapters.

    Now create new Virtual Machine for your Mikrotik.

    Select necessary hardware that you required as required per user load. for exampleMikrotik = 1 CPU / 1 GB RAM / 10 GB HDD /

  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    8/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 8/18

    In Network Adapter Section, by default only one adapter is added, You have to add another adapter by selecting the number ofadapters in drop down listing.

    As showed in the image below . . .

    Once the configuration is completed. Simply install the Mikrotik in newly created hosts you just created in above steps.After configuration is complete, review once again the host settings,

    As showed in the image below . . .

  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    9/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 9/18

    After the installation is done, Connect to mikrotik with WINBOX and look for interfacesAs showed in the image below . . .

    .

    I will write more on it later.

    RegardsSyed Jahanzaib

    Comments (40)

    http://-/?-
  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    10/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 10/18

    40 Comments

    1. AoAwbr, My beloved Sir, I am coming to get all of these three VMs. or Can u share as Torrent:p:p:p

    Comment by Shery December 10, 2012 @ 1:48 PM

    Reply

    Its better to build your own After all they are not hard to build. Till when you will always want to get the ready madedish :p

    Comment by Syed Jahanzaib / Pinochio~:) December 10, 2012 @ 1:56 PM

    ReplyAnd specially your dishes:p

    Comment by Shery December 10, 2012 @ 2:12 PM

    2. Please we need to cache apple updates and all .ipa

    Sent from my iPhone

    Comment by Dr Antoine Melhem December 10, 2012 @ 4:04 PM

    Reply3. How to cache apple updates and apps

    Sent from my iPhone

    Comment by Dr Antoine Melhem December 11, 2012 @ 7:34 PM

    Reply

    4. Dear sir,Can I implemented that config to another ve server, like proxmox ?

    http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=7115#respondhttps://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=7076#respondhttp://netwanlan.wordpress.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=7069#respondhttps://aacable.wordpress.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=7068#respondhttp://netwanlan.wordpress.com/
  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    11/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 11/18

    I want your suggest which one is easy to configure (as newbe like me) between veesxi and proxmox ?

    Thx.

    Comment by pesona2d December 17, 2012 @ 6:27 PM

    Reply

    I have no idea about porxmox. I have good working experience with vmware esxi and found it very stable and good.

    Comment by Syed Jahanzaib / Pinochio~:) December 18, 2012 @ 9:17 AM

    Reply5. why not new ubuntu and squid 3?

    Comment by Wiehan December 22, 2012 @ 3:54 AM

    Replyyes its always good to use newer stable releases as they provide mroe stability and features.Its just this I feel comfortable with Ubuntu 10 more.(Ubuntu 12 have some bugs with mysql package)

    Comment by Syed Jahanzaib / Pinochio~:) January 11, 2013 @ 10:33 AM

    Reply6. dear sir

    i have 1 pc install virtual machine 8 , i already done install mikrotiik , can u help me for installing web proxy n configuration

    network for proxy , mikrotik , n virtual machine

    Comment by mohamad December 23, 2012 @ 9:17 PM

    Replysure.

    Comment by Syed Jahanzaib / Pinochio~:) January 11, 2013 @ 10:31 AM

    Reply

    http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=7993#respondhttps://aacable.wordpress.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=7403#respondhttps://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=7994#respondhttps://aacable.wordpress.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=7374#respondhttp://www.ibits.co.za/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=7272#respondhttps://aacable.wordpress.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=7258#respond
  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    12/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 12/18

    7. Dear Sir, nice work , very useful, do you found Mikrotik stable on esxi ? I am going to virtualize it on Esxi, i will do someheavy works like pppoe access, shaping and so.. I have dont understand when creating VM on Esxi if is it better add numbersof Virtual Socket or numbers of core per socket.. What do you think about ? (Esxi host has 1 procerssor with multiples cores).

    Comment by Giulio Primo January 30, 2013 @ 3:56 PM

    Reply

    8. sir when r u going 2 complete this article plz

    Comment by Taher Ahmed Ghouri March 5, 2013 @ 2:40 AM

    Reply9. Sir,

    When installing the mikrotik v6.0rc11 in vmware 5.1, FATAL ERROE: no harddrives found.

    Any advice?

    Thanks,Leon

    Comment by Leon March 11, 2013 @ 12:53 PM

    ReplyTry to add IDE hdd, Mikrotik dont support SCSI drives which vm uses by default.

    Comment by Syed Jahanzaib / Pinochio~:) March 11, 2013 @ 1:55 PM

    Reply0. Hi,

    I like your blog alot, I am doing virtualized implementation right now and I was wondering how stable is mikrotik invirtualized environment (if you tested any version).I need this for internal VMs routing because they have multiple vlans. I tried vyatta and it works very good.The only reason I want to go with mikrotik is because my customer is familiar working with winbox

    Comment by ed April 8, 2013 @ 7:24 PM

    http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=9331#respondhttps://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=9070#respondhttps://aacable.wordpress.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=9069#respondhttps://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=8986#respondhttp://www.facebook.com/taherahmedghourihttps://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=8498#respond
  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    13/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 13/18

    ReplyI have tried Mikrotik 5.22 on ESXi 5.x 64bit and its working good at various points.At some low end server, it was having issue with high cpu usage, but possibly it was due to that that pc was desktop basepc with desktop mother board.

    Comment by Syed Jahanzaib / Pinochio~:) April 9, 2013 @ 12:53 PM

    ReplyThanks for your replyIm debating of putting vyatta or mikrotik and I cant seem to find documentation about mikrotik being able to work invirtual environment.Im willing to pay for a couple of licenses but I dont see who to ask at mikrotik.

    Comment by ed April 9, 2013 @ 6:30 PM

    If you describe all of your requirements, maybe I will be able to recommend you about mikrotik. I have no idea for

    vyatta however.

    The better place to put these sort of questions is forum.mikrotik.com where you can surely get many experts opinionworldwide. and the response time is good.

    Comment by Syed Jahanzaib / Pinochio~:) April 10, 2013 @ 9:30 AM

    1. I need to configure proxy server connected like your schema, only one lan interface, can yoiu tell me how configure mainrouter mikrotik

    (maybe like you explain up) and what config i need for squid server. Thanks in advance. Best regards. Ivan

    Comment by Ivan May 22, 2013 @ 8:20 PM

    Reply2. Dear sir what will be recommended specs(hardware and software) for virtualized mikrotik for round about 500 to 800

    users.Can we do the same above configurations on vmware workstation.I have configured mikrotik on vmware workstationwith server 2008 on dell power edge 1950, bu the problems is the mikrotik drops packets or slow down network speed.

    Comment by Nadir June 11, 2013 @ 9:32 AM

    Reply

    http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=10054#respondhttps://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=9867#respondhttps://aacable.wordpress.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=9343#respondhttps://aacable.wordpress.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=9331#respond
  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    14/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 14/18

    You should have two physical CPUs with multi cores per processors. Try with newer processor series as they providemore FSB and cache.Dont use workstation. Its designed for LAB testing only, not for production environment.

    Go with Vmwares ESXi Server Edition5.x

    Comment by Syed Jahanzaib / Pinochio~:) June 11, 2013 @ 9:43 AM

    Reply3. Thanks for reply sir, now every thing working fine except one tiny error when i monitor mikrotik bandwidth usage RX , TX on

    interfaces it show me 2 to 4 mbps usage but on my wan mrtg graph the bandwidth is totally different even on my squidinterface graph it higher than mikrotik.Long story short mikrotik show incorrect bandwidth usage in real time and in graphs.

    Comment by Nadir June 12, 2013 @ 12:05 PM

    Reply

    I have not seen this behavior. Try to change the nic type.

    Comment by Syed Jahanzaib / Pinochio~:) June 12, 2013 @ 2:27 PM

    Reply4. And i am using mikrotik 5.18

    Comment by Nadir June 12, 2013 @ 12:07 PM

    Reply

    5. One thing i notice the ethernet interface status autonegotiations = incomplete and rate = unknown.

    Comment by Nadir June 12, 2013 @ 3:30 PM

    Reply6. Hi Syed,

    YOu always amaze me with great tutorials Now I have 15 clients. . I want to give them invoice for their service, andprovide them good quality of service. ALso Cache, because most of them use youtube . ALso i want to provide them with TV.

    I read that I can use a PC Card TV tunner to stream channels. I want to stream them 1620 channels. Please can you provideme support. I can make your time be worth. I want to do it right. and you are excellet on this knowledge.Thank you

    http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=10077#respondhttps://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=10072#respondhttps://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=10074#respondhttps://aacable.wordpress.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=10071#respondhttps://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=10055#respondhttps://aacable.wordpress.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=10054#respond
  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    15/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 15/18

    Comment by Alex July 8, 2013 @ 7:35 AM

    ReplyFor 15 users, you cannot install any decent radius billing system, However using mikrotik user manager you can createinvoices for prepaid user ids. You have to modify them a bit.https://aacable.wordpress.com/2011/09/06/mikrotikvouchertemplate/

    to broadcast 1620 channels , I will recommend you to either go with IPTV project, or just stream few channels, because ifyou will stream tv channels via tv tunner card, you will be needing one PC per channel, so in order to broadcast 5 tvchannel , you will be needing 5 pcs with tv tunner cards in each pc.

    Comment by Syed Jahanzaib / Pinochio~:) July 9, 2013 @ 8:12 AM

    Reply7. Bhai mere pass 50 total users hian, aur max 150 se 200 user chalana chahta hoon,

    Main Virtualization isi tarah kerna chahta hon, MIKROTIK , squid and Dms Softlab billing aik pc par chalana chahta hoon, tu

    muje minimum kon sa system chahye??aur kia main system main just aik HDD use ker sakta hoon ?? 1TB aur divide ker loun for these 3 OSkia WD 1TB 3.5 SATA HDD 64MB CACHE CAVIAR GREEN theek rahe gi? because its cheapOne more thing is DMS Softlab free?

    Comment by hammad hassan September 1, 2013 @ 6:47 PM

    ReplyFor virtualization, you should have at least following

    Multi CORE cpu,Good amount of Memory,its better to use hardware base RAID , like RAID 10 or Raid5, If budget is issue,then use one hdd for one osfor example if you want to install 2 OS like Raidus and Proxy, then use 2 hdd, one for each OS

    Proxy required high amount of memory to perform good, use at least 816 gb for squid.

    DMASOFTLAB Radius Manager is not a free applicaiton. Its costs starts from 100$ to 400$ depend on the license type.

    Comment by Syed Jahanzaib / Pinochio~:) September 2, 2013 @ 9:27 AM

    http://-/?-http://-/?-http://-/?-http://-/?-https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=11256#respondhttps://aacable.wordpress.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=11243#respondhttps://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=10371#respondhttps://aacable.wordpress.com/https://aacable.wordpress.com/2011/09/06/mikrotik-voucher-template/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=10364#respond
  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    16/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 16/18

    Reply8. [] mikrotik with ESXi | Syed Jahanzaib Personnel Blog to Share Knowledge !: Vritualization: 3 in 1 > Using Mikrotik + Squid

    Proxy + Radius on single machine to save resource. []

    Pingback by Some Mikrotik and RouterOS Links to get it running on ESXi for experimental purposes. The Wiert Corner irregular stream of stuff March 28, 2014 @ 1:08 AM

    Reply9. Can you please write on Squid Cache Server ? Which configuration should be select before building on cache server.

    Comment by Detective April 10, 2014 @ 11:22 AM

    Reply0. hi

    im trying to do mikrobill with mikrotik virtualization. But for some reason. how do i point Radius Manager(mikrobill) to

    mikrotik on instalation. Thank you

    Comment by Alex August 3, 2014 @ 2:56 PM

    Reply

    I dont see any complication in itYou can simply forward your Radius request from the mikrotik to Mikrobill,without knowing your topology, cant advise you further.

    Comment by Syed Jahanzaib / Pinochio~:) August 3, 2014 @ 3:58 PM

    ReplyHI Syed,I followed the instruction to make a server run MIKROTIK. I simply want to do your set up. I have 3 NIC. I installedESXI 5.1. I have 1 WAN NIC. 1 NIC For Radius and 1 NIC For Squid. I installed MK and now I installed anotherpartition Mikrobill. How do I point my LAN Mikrobill to the LAN of the Mikrotik? that way it knows its the server forradius. Usually to do your tutorial it takes lots of thinking to decypher. Thank you

    Comment by Alex August 6, 2014 @ 4:22 AM

    http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=24435#respondhttps://aacable.wordpress.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=24432#respondhttps://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=18180#respondhttps://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=17691#respondhttp://wiert.me/2014/03/27/some-mikrotik-and-routeros-links-to-get-it-running-on-esxi-for-experimental-purposes/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=11256#respond
  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    17/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 17/18

    1. Hi Aacable, i had finally installed ubuntu for esxi. My Wan is 192.168.0.126 (router) and in MK Wan is 192.168.0.143how do iget a LAN?? which adapter do i connect to it? Also in ubuntu my ip is 192.168.0.136 . All this IP i get through 1 port in Host PCinstall with ESXI. how do i Link up Ubuntu SQUID to LAN of Mikrotik? and then Give DHCP in lan through another NIC?thats the part im cracking my head. Thank you

    Comment by Alex August 10, 2014 @ 11:10 PM

    Reply2. how do bind the network? i have 3 NIC for this set up. Im trying to bind MIKROTIK to squid and Freeradius. Thank you

    alex

    Comment by alex August 12, 2014 @ 10:18 AM

    Replyfirst you have to define network in ESXI networking section, then you can add NIC in guest accordingly.

    Comment by Syed Jahanzaib / Pinochio~:) August 14, 2014 @ 4:00 PM

    Reply3. sir,

    can we build same virtual machines on hyperv?please give me how to create virtual lan switch configuration on hyper v

    Comment by naveen March 26, 2015 @ 7:24 PM

    ReplyEither you use Hyperv or Vmware ESXI, purpose is same, to virtualize. Both platforms works fine, but it depends on yourexpertise level and preferences. I feel comfortable with Linux base kernel so I prefer esxi over hyper. but other may havedifferent priority.

    Comment by Syed Jahanzaib / Pinochio~:) March 28, 2015 @ 11:12 AM

    Reply

    RSS (Really Simple Syndication) feed for comments on this post. TrackBack URI (Uniform Resource Identifier)

    http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-https://wordpress.com/?ref=footer_bloghttps://wordpress.com/themes/silver-black/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/trackback/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/feed/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=35066#respondhttps://aacable.wordpress.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=35036#respondhttp://www.pllcsoftwaresolutions.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=25173#respondhttps://aacable.wordpress.com/https://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=25007#respondhttps://aacable.wordpress.com/2012/12/10/vritualization-3-in-1-using-mikrotik-squid-proxy-radius-on-single-machine-to-save-resources/?replytocom=24921#respond
  • 7/24/2019 Vritualization_ 3 in 1 _ Using Mikrotik + Squid Proxy + Radius on single machine to save resources _) _ Syed Jahanzaib Personal Blog to Share Knowledge !.pdf

    18/18

    23/1/2016 Vritualization: 3 in 1 > Using Mikrotik + Squid Proxy + Radius on single machine to save resources :) | Syed Jahanzaib Personal Blog to Share Knowledge !

    https://aac abl e.w or dpr es s.c om /2012/12/10/vr itual iz ati on- 3- in- 1- us ing- mi kr oti k- squi d- pr ox y- radi us -on- si ngl e- mac hi ne- to- sav e- r es our ces / 18/18

    The Silver is the New Black Theme. Blog at WordPress.com.

    https://wordpress.com/?ref=footer_bloghttps://wordpress.com/themes/silver-black/