Pages

How to configure Microtik Router in easy Steps using dual ISP with failover Feature.

Here's how to configure dual ISP failover on your MikroTik HAP Lite **using Winbox** (GUI)

---

 Step 1. Rename Interfaces
1. Go to **Interfaces**.
2. Rename the physical ports connected to your ISPs:
   - `ether1` → **WAN1** (ISP1)
   - `ether2` → **WAN2** (ISP2)
   - (Optional) Rename your LAN port (e.g., `ether3` → **LAN**).

---

Step 2. Assign IP Addresses to WAN Interfaces
1. Go to **IP > Addresses**.
2. Click **+** (Add):
   - **Address**: `192.168.1.20/24` (ISP1)
   - **Interface**: `WAN1`
3. Click **+** again:
   - **Address**: `192.168.31.21/24` (ISP2)
   - **Interface**: `WAN2`

---

Step 3. Configure Default Routes
1. Go to **IP > Routes**.
2. Add **Primary Route** (ISP1):
   - **Destination**: `0.0.0.0/0`
   - **Gateway**: `192.168.1.1` (ISP1’s gateway)
   - **Distance**: `1`
   - Check **Check Gateway**: `ping`
   - **Comment**: `ISP1-Primary`
3. Add **Backup Route** (ISP2):
   - **Destination**: `0.0.0.0/0`
   - **Gateway**: `192.168.31.1` (ISP2’s gateway)
   - **Distance**: `2`
   - Check **Check Gateway**: `ping`
   - **Comment**: `ISP2-Backup`

---

Step 4. Configure NAT (Masquerade)
1. Go to **IP > Firewall > NAT**.
2. Click **+** to add a NAT rule for ISP1:
   - **Chain**: `srcnat`
   - **Out. Interface**: `WAN1`
   - **Action**: `masquerade`
3. Click **+** again for ISP2:
   - **Chain**: `srcnat`
   - **Out. Interface**: `WAN2`
   - **Action**: `masquerade`

---

Step 5. Set Up Failover Monitoring (Netwatch)
1. Go to **Tools > Netwatch**.
2. Click **+** to add a monitor for ISP1:
   - **Host**: `8.8.8.8` (or your ISP’s DNS)
   - **Timeout**: `2s`
   - **Interval**: `5s`
   - **Source Address**: `192.168.1.20` (ISP1’s IP)
   - **On Down** (Script):
     ```
     /ip route disable [find comment="ISP1-Primary"]; /ip route enable [find comment="ISP2-Backup"]
     ```
   - **On Up** (Script):
     ```
     /ip route enable [find comment="ISP1-Primary"]; /ip route disable [find comment="ISP2-Backup"]
     ```

---

Step 6. Configure DNS
1. Go to **IP > DNS**.
2. Set **Servers**: `8.8.8.8,8.8.4.4` (or your ISP’s DNS).

---

Step 7. Firewall Rules
1. Go to **IP > Firewall > Filter Rules**.
2. Add basic rules to allow traffic and block unwanted access:
   - **Input Chain**:
     - Allow established/related connections.
     - Drop traffic from `WAN1` and `WAN2`.
   - **Forward Chain**:
     - Enable `fasttrack-connection` for established/related traffic.

---

Step 8. LAN Configuration
1. Assign an IP to the LAN interface:
   - Go to **IP > Addresses**.
   - Add `192.168.88.1/24` to the LAN interface (e.g., `ether3`).
2. Set up DHCP Server:
   - Go to **IP > DHCP Server**.
   - Create a DHCP pool (e.g., `192.168.88.100-192.168.88.200`).
   - Configure the DHCP network with gateway `192.168.88.1`.

---

Testing
1. **Verify Routes**:
   - Go to **IP > Routes**. The primary route (ISP1) should be active (status `A`).
2. **Test Failover**:
   - Disconnect ISP1’s cable. Traffic should switch to ISP2 within seconds.
3. **Check NAT**:
   - Ensure both NAT rules are enabled under **IP > Firewall > NAT**.

---

### **Troubleshooting Tips**
- If the gateway doesn’t respond to pings, use `arping` instead of `ping` in **Check Gateway**.
- For more advanced failover, use **Mangle Rules** with connection marking (optional).

These are some easy steps with the help of these steps you can configure your Microtik HAP Lite or any other Microtik Router easily. 😉

Goodbye, Wi-Fi! Li-Fi Just Got Tested And It's 100 Times Faster!

Things are going to get very interesting in the coming months. The way we access internet can completely change forever. Well, that's what scientists are telling us anyway. Remember this word - 'Li-Fi'; it's going to be used very often soon enough. What is it you ask? Li-Fi is a wireless technology that transmits high-speed (insanely high-speed) data using visible light communication, or VLC. So imagine switching on a bulb in your room, and it'll not only be a source of light, but will also transmit wireless internet to your phones and other devices. Madness, I tell you.   

LIGHTS ON WHEN DARK & LIGHT OFF WHEN LIGHT




Stupidly bright.Here's a simple problem: "How do you make an LED turn on when it gets dark?" You might call it the "nightlight problem," but the same sort of question comes up in a lot of familiar situations-- emergency lights, street lights, silly computer keyboard backlights, and the list goes on.

mobile display

TFT LCD
TFT stands for Thin Film Transistor technology. TFT LCDs are the most common type of display units used across mobile phones. TFT LCD offer better image quality and higher resolutions compared to earlier generation LCD displays but their limitation lies in narrow viewing angles and poor visibility in direct light or sunlight.

Large TFT displays consume more power and hence are not battery friendly. But since these are cheaper to manufacture these are found on budget phones, feature phones and lower end smartphones.

Enable / Disable Task Manager in Windows XP Home / Pro

There is a registry hack to enable or disable Windows NT TaskManager. The same registry hack applies to Windows 2000 and Windows XP.Hive: HKEY_CURRENT_USER Key: Software\Microsoft\Windows\CurrentVersion\Policies\System Name: DisableTaskMgr Type: REG_DWORDValue: 1=Enablethis key, that is DISABLE TaskManagerValue: 0=Disablethis key, that is Don't Disable, Enable TaskManagerAs part of the enhanced management available in Windows 2000 and Windows XP, rather than risking a registry change, as an administrator you can enable or disable Windows 2000 Pro or Windows XP Pro's TaskManager using Group Policy Editor. This can be applied to the local policy. Note: if you are trying to override your organizations group policy, you can't. As soon as you re-authenticate to the domain, the domain or OU Group Policy will rewrite the registry setting. But if the TaskManager was accidently disabled or you need to control this item for a set of standalone boxes this is for you:

  1. Click Start