Free Network Posts

Filter-Based Forwarding (FBF) or (for some vendor is also called Policy Based Routing (PBR)) is a simple method to route IP traffic to different interfaces on the basis of Layer 3 parameters (e.g. source or destination IP) or Layer 4 parameters (source or destination ports). Example: Objective: – to configure R1 to forward traffic originating from HostX under 10.10.1.0/24 to use ISP-X to reach Server 20.20.20.1 – to configure R1 to forward traffic originating form HostY under 10.20.1.0/24 to use…

Juniper

  RFC or Request for Comments is a publication in a series from the principal technical development and standards-setting bodies for the Internet. It contains technical specifications and organizational for Internet and TCP/IP. It is produced by Internet Engineering Task Force or (IETF). Those members of Internet Society (ISOC) can submit RFCs for consideration. 5 Classifications of RFC which is reviewed by different technical groups. Required Recommended Elective Limited Use Not Recommended 3 Stages of Development or maturity levels based…

Networking

IANA or Internet Assigned Numbers Authority is responsible for the global coordination of the DNS Root, IP addressing, and other Internet protocol resources including Autonomous System (AS) numbers used for routing Internet traffic. IANA established the Regional Internet Registries (RIRs) to allocate IP address in geographical regions.There are total of five Regional Internet Registry (RIR) service regions currently. RIR RIR Name Service Region Website Established AFRINIC African Network Coordination Centre Africa https://www.afrinic.net 2005 APNIC Asia-Pacific Network Coordination Centre Asia Pacific,…

Networking

Network ports are software defined number  that is associated to a network protocol that transmits or receives or transmits communication for a specific application or service. It is used by Transport Layer of IP Suite, e.g. TCP & UDP. A port number is a 16-bit unsigned integer that ranges from 0 to 65535. There are 3 types of network ports. Port Range Port Types Description 0 – 1023 Well-know Ports For common TCP/IP applications (assigned and controlled) 1024 – 49151…

Networking

Network ports are software defined number  that is associated to a network protocol that transmits or receives or transmits communication for a specific application or service. It is used by Transport Layer of IP Suite, e.g. TCP & UDP. A port number is a 16-bit unsigned integer that ranges from 0 to 65535.There are 3 types of network ports. Port Range Port Types Description 0 – 1023 Well-know Ports For common TCP/IP applications (assigned and controlled) 1024 – 49151 Registered…

Networking

Here are sample configuration on resequencing access lists in Cisco Routers for IOS, IOS-XE, IOS-XR and Nexus OS Cisco IOS/IOS-XE a. Show the existing access-list IOS#show access-lists acl_123 Extended IP access list acl_123 10 permit tcp 192.168.10.8 255.255.255.255 192.168.20.5 255.255.255.255 eq 22 20 permit tcp 172.16.0.10.8 255.255.255.255 192.168.20.5 255.255.255.255 eq 22 30 deny ip any any b. Add the new access list before the last deny rule IOS(config)#ip access-list extended acl_123 IOS(config-ext-nacl)#21 permit tcp host 192.168.11.8 host 192.168.20.5 eq 22…

Cisco

  Cisco uses RPL (Route Policy Language) while Huawei uses XPL (Extended Route Policy language). Basically they are the same concept but of course the commands are slightly different, though editing the policy or prefix-set requires vi/vim knowlege. Cisco IOS-XR RPL Huawei NE40E XPL Adding Prefix-Set:prefix-set FNT-Prefixes  192.168.0.0/24,  172.16.0.0/23end-set Adding Prefix-Set:xpl ip-prefix-list FNT-Prefixes192.168.0.0 24,172.16.0.0 23end-list Creating Route Policy:route-policy FNT-EXPORT  if (destination in FNT-Prefixes) then    prepend as-path 65555 2  endifend-policy Creating Route Policy:xpl route-filter FNT-EXPORT  if ip route-destination in FNT-Prefixes then  …

Cisco Huawei

Here is sample basic IPv4 & IPv6(OSPFv3) Open Shortest Path First (OSPF) configuration between 2 Huawei Routers with MD5 authentication. Fig1. RouterA Configuration: Configure physical interface <RouterA>interface 100GE6/0/0 <RouterA>description Connection to RouterB <RouterA>undo shutdown <RouterA>eth-trunk 1 <RouterA>undo lldp enable <RouterA>undo dcn 2. Configure the Eth-Trunk IPv4/IPv6 address <RouterA>interface Eth-Trunk1 <RouterA>description Eth-Trunk to RouterB <RouterA>ipv6 enable <RouterA>ip address 192.168.10.1 255.255.255.252 <RouterA>ipv6 address fdfe:13bb:8abc:a00:8::2a/127 <RouterA>mode lacp-static 3. Configure the OSPF (IPv4) process (with optional parameters) <RouterA>ospf 8888 router-id 172.16.1.1 <RouterA>bfd all-interfaces min-tx-interval…

Huawei

Here is sample tutorial on how to configure External Border Gateway Protocol (EBGP) between Huawei Router and another router. I will focus on the configuration of the Huawei router (RouterA). Fig.1.1 Procedure: 1. Configure the Loopback IP address a. Enter system view command: system-view <RouterA>system-view Enter system view, return user view with return command. <RouterA>interface LoopBack0 <RouterA>description RouterA Loopback0 <RouterA>ip address 172.16.1.1 255.255.255.255 <RouterA>quit Verify: <RouterA>display current-configuration interface LoopBack 0 2. Configure the P2P(point to point) IP, we will assume…

Huawei