Skip to main content

Posts

Showing posts from May, 2013

Mikrotik SXT 5nD r2 setup in bridge mode

How to connect two Mikrotik RouterBoard SXT 5nD r2 devices together in Bridge Mode Upgrading you SXT's to the Latest version of RouterOS Doing a Bandwidth Test between two RouterBoard SXT-5nD's Mikrotik routerboard default IP is 192.168.88.1 You can connect with routerboard by WinBox through IP and MAC address. You need to download WinBox from mikrotik website. By default routerboard have Admin as username and blank password. If you want to connect with device through IP then don't forget to add same network address into your pc NIC, otherwise connection isn't established. Else you can connect through MAC so choose MAC address from Elipsis next to " connect " field. When you login, "RouterOS Default configuration" screen is popup. click okay. Do same for other device to login to routerOS If you followed the process then you already open both device. Now you can set a HostName for those devices. Click on the system button o

Spanning Tree Protocol

What is STP? Spanning Tree protocol was created to prevent loops in redundant network. What is BPDU? Switches send "PROBES” into the network called Bride Protocol data units (BPDUS) to discover loops. All switched in the network have that probes data back. Flipping all the switches. Checking out every single links. Actually it’s a Multicast packet. If there is redundancy in the network the switch will gets its own BPDU. Switches know there is redundant link in the network. Now switch work to find it out. That’s the goal of the BPDU. What is ROOT Bridge? BPDU also help to elect Root Bridge. The root bridge of the network, STP election will pick the oldest switch of the network as the root bridge by default.  All switches will find the best way to reach Root Bridge.  All other path which aren't fast to reach the root end of getting block which disable redundancy of the network. BPDU and Elections? BPDU are sent once every two seconds out every singl

Configure SSH Cisco

Make sure that target router are running Cisco IOS Release 12.1(1)T image or later to support SSH. Before continuing this task don't forget to change the hostname  of the router R1(config)#ip domain-name jpudasaini.com.np R1(config)# crypto key generate rsa The name for the keys will be: R1.jpudasaini.com.np Choose the size of the key modulus in the range of 360 to 2048 for your General Purpose Keys. Choosing a key modulus greater than 512 may take a few minutes. How many bits in the modulus[512]: 768 % Generating 768 bit RSA keys, keys will be non-exportable...[ok] R1(config)#ip ssh time-out 60 R1(config)#ip authentication-retries 3 R1(config)#username jayaram secret cisco R1(config)#line vty 0 15 R1(config-line)#transport input ssh R1(config-line)# exit after this configuration you can login R1#ssh -l {login with(login name)} -v [ssh version 1 or 2] [remote server name]

Basic Configuration Mikrotik Router

Make sure you have download Winbox from mikrotik site and plug MT Router power adapter into the power socket. Open the winbox and login with username admin and blank password. After that follow up below process for Basic router configuration. Setp 1: Click on IP>Address>click Plus sign. Then Add IP address like below. Type WAN IP here(IP provide by your ISP) and choose WAN interface. Step 2: Again click On plus sign and add LAN IP and choose LAN interface. Step 3: Add DNS, Click on IP>DNS>type ISP provided DNS here(I use open DNS ). Step 4: To add route, Click on IP>Routes>click Plus sign, Add Your ISP's gateway here. Step 5: NAT, Click on IP>Firewall>Click on NAT> click on + sign. Choose <srcnat> Out. interface<WAN port> Apply>OK On Action tab, choose masquerade>Apply and OK. Step 6: Setup DHCP, IP>DHCP server>DHCP Setup> Now follow up onscreen process.                      

Simple Failover Mikrotik

Simple fail-over Mikrotik router configuration. Most of the user wants backup link (Fiber link with Wireless backup), in case fiber down wireless link auto up. No downtime for the user. Here is simple setting on Mikrotik for fail-over. I'm very great full to Anton to point out the mistake in src-address. It has been corrected now. ****default routes for new outgoing traffic.**** /ip route add dst-address=0.0.0.0/0 gateway=ISP-GW-ADDR-1 distance=1 check-gateway=ping add dst-address=0.0.0.0/0 gateway=ISP-GW-ADDR-2 distance=2 ++masquerade both WAN connections++ /ip firewall nat add chain=srcnat src-address=192.168.0.0/24 out-interface=WAN-1 action=masquerade add chain=srcnat src-address=192.168.0.0/24 out-interface=WAN-2 action=masquerade Thats it.

Adobe flash player install ubuntu and kali linux

Recently I fresh install Ubuntu 13.04. Then I install chromium browser, after that I'm facing youtube video streaming. Chromium doesn't have inbuilt flash player like in Chrome. I tried to install adobe flash player searching from internet but no avail. But I found this command which worked. Make sure you install chromium browser. After that use following command to install flash (I already download tar.gz file from adobe site and extracted, you can use below command to get flash) sudo apt-get install flashplugin-nonfree Then you need to copy libflashplayer.so file into /usr/lib/chromium-browser/plugins directory (I already extracted and copy from extracted folder to following folder, you can use below command) sudo cp /usr/lib/flashplugin-installer/libflashplayer.so /usr/lib/chromium-brower/plugins For kali linux cp/usr/lib/flashplugin-installer/libflashplayer.so /usr/lib/mozilla/lougins To run the browser just run the following command from terminal ch