Network
All posts
Fighting ISP Cache Hijacking Again with iptables Cause The fight against the carrier cache problem started two years ago. The carrier even cached cnpm data. Worse, their cache servers were not only slow like a …
Simulate Network Anomalies with TC and Netem Netem and TC brief overview Netem is a network emulation module provided by Linux 2.6 and later kernels. It can be used on a good LAN to simulate complex Internet …
Quagga Routing - Install, Configure and setup BGP
Best V2Ray One-Click Install & Management Script v2ray
Representative HTTP Status Codes
Switch Switches are usually L2 devices They forward packets only to the destination host (based on the MAC table), which reduces collisions and eavesdropping. Switches can also handle packets arriving at the …
[Juniper Firewall] tunnel ACG icare@TWCHIJF01# show | compare rollback 4 [edit security policies] from-zone DB_12 to-zone TCT_Office { ... } + from-zone DB_12 to-zone JC32 { + policy For_Backup { + match { + …
First NIC - blue cable Second NIC - green cable Switch interconnect - white cable Yellow, red Storage has disk arrays and heavy data transfer, so it uses fiber connections and fiber switches. Fiber colors: …
Router - a device that is good at computing routing tables, an L3 device. Routing Table A NIC with one IP naturally has two routes and they cannot be changed. 192.168.1.1/24 Itself. Local route / Host route: …
Before a packet is sent Look up the MAC for the IP in the ARP table MAC found - encapsulate No MAC - broadcast Same subnet - OK Different subnet - look up the router MAC in the ARP table Found - OK Not found - …