Skip to main content

Posts

FlexVPN - Site-to-Site (1)

IKEv2   Few words on IKEv2: -    described in RFC 7296 (initially RFC 5996) -    offers dynamic key exchange and peer authentication -    addresses measures to fix vulnerabilities of IKEv1 (anti-DoS) -    supports Extensible Authentication Protocol (EAP) -    it is not backward compatible with IKEv1 -    operates in two phases -    industry standard, can operate in multivendor environment IKEv2 operation: -    Phase 1 is IKE_SA it consist a message pair IKE_SA_INIT (key exchange policy) -    Phase 2 is CHILD_SA, first message pair is IKE_AUTH, additional CHILD_SA can be sent for rekey and information messages (data policy)  R1 is the Initiator / R2 is the Responder SA – security association KE – Key exchange Nr,Ni – Nonce Cert-Req – Certificate Request Cert – Certificate IDi – Identification (Initiator/Responder) TSi – Traffic selector – ...

OSPF Neighbor states

EIGRP

Enhanced Interior Gateway Routing Protocol (EIGRP) is still part of the CCNP and CCIE curriculum, so I use this post for exam preparation and troubleshooting. Believe it or not, you can still see this protocol in use in commercial environments, but it is no longer part of the Cisco CCNA exam. About EIGRP: - released in 1993 as the successor to IGRP. Initially Cisco proprietary, now partially open: the basic protocol is described in RFC 7868 (2016), but some features, such as stub routing, are not included - a classless routing protocol: it carries the subnet mask with every route. Automatic summarisation has been disabled by default since IOS 15 - an advanced distance-vector routing protocol (sometimes called hybrid): like distance-vector protocols it learns routes from its neighbours, but like link-state protocols it forms adjacencies and only sends updates when something changes - uses DUAL (Diffusing Update Algorithm) to calculate loop-free paths and backup paths - runs directly ove...

Multicast - Part 1

Multicast is a communication method that lets a source send traffic to a group of receivers simultaneously. The source sends a single stream, and the network copies it only where the paths to the receivers split. Multicast relies on two protocols: Internet Group Management Protocol (IGMP) and Protocol Independent Multicast (PIM). IP multicast concept: - receivers use IGMP to tell their local router which multicast groups they want to join - routers use PIM to route multicast traffic between each other - only members of the group receive the traffic - a source sends traffic once to the group address, and all members receive it - a source doesn't need to be a member of the group to send traffic to it - a multicast group address is only ever a destination; the source address is always a unicast address IPv4 multicast address space Multicast uses 224.0.0.0 - 239.255.255.255 (224.0.0.0/4, formerly Class D), which includes: 1. 224.0.0.0 - 224.0.0.255 - Local Network Control Bloc...

OSPFv2 VS OSPFv3

OSPFv3 which is covered in RFC 5340 is a IPv6 link-state interior routing protocol which originates from OSPFv2. OSPFv3 is not backward compatible with OSPFv2 which supports only IPv4 addressing. General information OSPFv2 - protocol number 89, all routers multicast 224.0.0.5, DRs multicast on 224.0.06 OSPFv3 - next header value 89, all routers multicast FF02::5, DRs multicast on FF02::6 Here are few things in common: - both utilise Shortest Path First algorithm   - five messages types: Hello, Database Description, LSDR, LSDU, LSAck - link-state advertisement  - flooding - DR election - areas - timers and metrics are also the same Differences between OSPFv2 and OSPFv3 : - changes in LSAs - OSPFv3 utilise per link processing (per subnet), OSPFv2 per interface processing - in OSPFv3 all neighbours are identified by Router ID whereas in OSPFv2 on Broadcast networks    and NBMA links neighbours are identified by interface ID. - OSPFv3 adds link-lo...

Forwarding - layer 2 review

Data link layer (Layer 2 of OSI model) is responsible for transfer data between network nodes within the same LAN or adjacent nodes in WAN.   Data link layer has two sub layers: -           MAC – media access control, control who is allowed to access the media (ie. CSMA/CD & CSMA/CA) and provides physical addressing -           LLC – logical link control provides flow control and multiplexing for the logical link Frame forwarding is based on MAC addresses, MAC address table contain MAC address, port and vlan. Switch learns MAC addresses of the connected devices dynamically by listening to incoming frames. Unknown unicast flooding happens when switch receives frame with unknown destination MAC address then forwards this frame to all ports except for the port that received that frame. Frames that contain destination broadcast or destination multica...