Default routes in BGP

There are 3 ways of advertising default route in BGP. Method 1: Using network 0.0.0.0 command. It requires only that the route 0.0.0.0 is present in the Interior Gateway Protocol (IGP) routing table. This is the preferred approach. Method 2: Using default-information originate command. It requires explicit redistribution of the route 0.0.0.0. This protects against… Read More »

VPN Ports

  PPTP:To allow PPTP tunnel maintenance traffic, open TCP 1723.To allow PPTP tunneled data to pass through router, open Protocol ID 47. L2TP over IPSecTo allow Internet Key Exchange (IKE), open UDP 500.To allow IPSec Network Address Translation (NAT-T) open UDP 4500.To allow L2TP traffic, open UDP 1701. OpenVPN: OpenVPN uses port 1194 udp and… Read More »

Optimising LEDE (OpenWrt) for the PC Engines APU2

I’m planning to get APU2 in near future, I found this article is useful for my future project and created a mirror here. Credit to original post. The PC Engines APU2 is an embedded system based on AMD’s Jaguar family of processors. Many people prefer to run pfSenseon it, but since the rest of my hardware is alread on LEDE, it’s… Read More »

Arista EOS 101

This is a simple short notes taken from Arista Configuration Essentials (ACE) Lab Guide CLI & BASH Enter bash switch# bash switch-bash$ ifconfig -a switch-bash$ top switch-bash$ cd /mnt/flash Upgrade EOS Upload EOS to switch switch# copy http://1.1.1.1/EOS/EOS-4.15.5M.swi flash: Verify image switch# dir flash: Configure boot image switch# boot system flash: EOS-4.15.5M.swi Verify boot-config switch#… Read More »

FIB vs RIB

Terminology: RIB – Routing Information Base FIB – Forwarding Information Base RIB This is a routing protocols database of routing prefixes that could potentially be installed in the routing table. Derived from the control plane, it is not used for forwarding. Every protocol such as OSPF, EIGRP, BGP has its own RIB and select their… Read More »