Search the Academy
Searches lesson titles, summaries, key points and text, plus the glossary.
31 lessons found
In the glossary
- OSPF
- A way for routers to talk to each other and find the best path by themselves. If a path breaks, they switch to another one automatically, like a navigation app.
- CCNA · 🔒 OSPF and link-state logic: LSA, LSDB, SPF, DR/BDR and areasOSPF (Open Shortest Path First) is a link-state routing protocol. A distance vector protocol trusts what its neighbour says; a link-state protocol builds a full map of the network. Each router sends LSAs (link-state advertisements) about its own links; put together, every router has the same LSDB (link-state database), the full topology. With SPF the router calculates the shortest path to each destination and installs the best one. On a multi-access network a DR and BDR are elected to cut traffic. OSPF works with areas; every area must connect to the backbone (Area 0).10 min
- CCNA · 🔒 OSPF neighbours, the hello packet, router ID and costOSPF routers must become neighbours before they exchange information. A router sends hello packets; if hellos come back, an adjacency forms. Some fields in the hello (hello/dead interval, area ID, authentication, stub area flag) must be the same on both sides. Every router has a unique router ID: first the router-id command, then the highest loopback IP, then the highest active interface IP. OSPF's metric is cost: the reference bandwidth (default 100 Mbps) divided by the interface bandwidth. The path with the lowest total cost wins; the load is shared across equal-cost paths.10 min
- CCNA · 🔒 Configuring single-area OSPF: the network command, wildcard mask, neighbours and router IDIn this lab three routers (BAKI, GENCE, SUMQAYIT) connect with OSPF in Area 0. The router ospf 1 command starts the OSPF process; the process number is local. The command network 10.0.13.0 0.0.0.255 area 0 does two things: it advertises the networks in that range in OSPF and enables OSPF on the matching interface so it sends hellos. 0.0.0.255 is a wildcard mask, the inverse of a subnet mask. We check the adjacency with show ip ospf neighbor (state FULL) and the router ID with show ip protocols. After creating a loopback or setting router-id, the change takes effect after clear ip ospf process.12 min
- CCNA · 🔒 The OSPF routing table, cost calculation, loopbacks and the default routeIn the lab we read OSPF routes with show ip route ospf. The O code means OSPF; [110/2] shows the administrative distance (110) and the total cost (2). The cost is the sum of the outgoing interface costs along the path; show ip ospf interface shows the interface cost (FastEthernet 1, Ethernet 10). When a link fails, OSPF moves to the alternative path; ip ospf cost changes the path by hand. Two paths with equal cost go into the routing table together. An advertised loopback shows up as /32 on the other routers. default-information originate always distributes a default route through OSPF (O*E2).12 min
- CCNA · 🔒 OSPF authentication (plaintext and MD5) and the hello/dead timersOSPF packets can be protected with authentication. For plaintext you configure ip ospf authentication and ip ospf authentication-key on the interface; for MD5, ip ospf authentication message-digest and ip ospf message-digest-key 1 md5; both sides must match. In debug ip ospf packet output, aut:0 means no authentication, aut:1 plaintext and aut:2 MD5. Authentication can also be enabled for a whole area. The default hello is 10 and dead 40 seconds; they are changed with ip ospf hello-interval and ip ospf dead-interval and must be the same on both sides.9 min
- CCNA · 🔒 Multi-area OSPF: the ABR and O IA routesMulti-area OSPF configuration differs from single-area only in the area number in the network command. In the lab MERKEZ is in Area 0 and FILIAL in Area 1; one interface of the ABR router is in Area 0 and the other in Area 1, which makes it an Area Border Router. We check the adjacencies with show ip ospf neighbor. Routes learned from another area show up in the routing table as O IA (inter-area), routes from the router's own area as O. For the ABR, which is in both areas, every route is O.8 min
- CCNA · 🔒 The OSPF DR/BDR election: priority, DROTHER and point-to-point linksOn a multi-access network OSPF elects a DR and BDR. The highest interface priority wins (default 1; a router with 0 never becomes DR/BDR); if the priorities are equal, the highest router ID wins. Routers that are neither DR nor BDR are called DROTHER. The election happens once: after changing the priority with ip ospf priority, a new election needs clear ip ospf process. The DR/BDR is elected separately for each multi-access segment, not for the area. On a point-to-point link no DR/BDR is elected, and show ip ospf neighbor shows FULL/ -.9 min
- CCNA · 🔒 OSPFv3: configuring, verifying and multi-area OSPF for IPv6The official name of OSPF for IPv4 is OSPFv2; OSPFv3 was created for IPv6. The classic OSPFv3 in this lesson only supports IPv6, so when IPv4 and IPv6 run together you configure both. OSPFv3 is still a link-state protocol that builds an LSDB with LSAs. Configuration is simpler: ipv6 router ospf 1, a router-id in IPv4 format and ipv6 ospf 1 area 0 on the interface; there is no network command. Adjacencies and LSA exchange use link-local addresses. Verify with show ipv6 ospf neighbor, show ipv6 route ospf, show ipv6 ospf, show ipv6 ospf interface brief and show ipv6 protocols.9 min
- CCNA · 🔒 GRE tunnel: configuration, verification and OSPF over the tunnelGRE (Generic Routing Encapsulation) puts IP packets inside another IP packet (a tunnel) but doesn't encrypt anything. A GRE tunnel looks like a normal link but it is virtual, and it gets an IP address. Configuration: interface tunnel 1, tunnel source, tunnel destination and ip address. The outer header carries the tunnel source/destination (public) addresses. In the lab the SAMKIR branch and BAKI head office build a tunnel through the ISP; OSPF forms an adjacency over the tunnel and the private networks learn each other. Verify with show ip interface brief, show interface tunnel 1 and ping.10 min
- FortiGate Administrator · 🔒 OSPF on a FortiGate: learning routes automaticallyAs a network grows, writing every route by hand gets harder. OSPF lets routers tell each other about their networks. In this lesson we learn to configure OSPF on a FortiGate, the conditions for an adjacency and the verification commands.9 min
- CCNA · 🔒 Dynamic routing: routing vs routed protocols, IGP, EGP and metricsWith dynamic routing, a routing protocol exchanges network information between routers and keeps it up to date; when the network changes, the routers update each other. A routing protocol builds the routing table, while a routed protocol (IPv4, IPv6) is the protocol we route. An autonomous system is the routers and networks of a single administrative domain. Inside an AS runs an IGP (OSPF, EIGRP), between ASes an EGP; the EGP used on the Internet is BGP. A routing protocol picks the best path with its metric: OSPF uses a cost based on bandwidth, EIGRP uses bandwidth and delay.7 min
- CCNA · 🔒 Administrative distance, routing protocol classes, classful and classlessA router can run several routing protocols at once. When two protocols report the same network, the router chooses with the administrative distance (AD): the lower the AD, the better. Connected 0, static 1, EIGRP 90, OSPF 110, RIP 120. Interior routing protocols fall into three classes: distance vector (RIP), hybrid/advanced distance vector (EIGRP) and link-state (OSPF). A classful routing protocol does not send the subnet mask with its updates; a classless protocol does.8 min
- CCNA · 🔒 How a distance vector routing protocol works (RIP and hop count)Internal networks use two types of routing protocols: distance vector and link-state. RIP and EIGRP are distance vector (Cisco calls EIGRP advanced distance vector), OSPF is link-state. Distance says how far away something is (the metric), vector says which direction (the interface and next hop IP address). At first routers only know their directly connected networks; when distance vector is enabled they copy their routing tables to their neighbours. RIP uses hop count as its metric and sends a full copy of its routing table to its neighbours every 30 seconds.7 min
- CCNA · Open Introduction to IPv6: why IPv6, the header, address format and shortening rulesIPv4's 32-bit address space (about 4.3 billion) was not enough for the Internet, and VLSM and NAT/PAT did not fully solve the problem. IPv6 uses 128-bit addresses. IPv4 and IPv6 are not compatible, so many protocols were updated: OSPFv3, ICMPv6, and NDP instead of ARP. The IPv6 header is simpler. An address has eight groups of four hexadecimal characters. The shortening rules are: leading zeros in a group are dropped, and one run of consecutive zero groups is replaced by :: (only once).9 min
- CCNA · 🔒 The EIGRP metric and unequal-cost load balancing with varianceThe EIGRP metric can be calculated from four values. Bandwidth and delay are static (FastEthernet: 100 Mbps, 100 µs), while load and reliability are dynamic. By default only bandwidth and delay are used, so routing stays stable. With the default K values the formula is 256 × (10⁷ / lowest bandwidth on the path + sum of delays / 10), so the numbers are large. OSPF shares load only between equal-cost paths; EIGRP can do unequal-cost load balancing with variance: a feasible successor with FD < successor FD × variance is also installed.8 min
- CCNA · 🔒 EIGRP for IPv6: configuration, topology table, variance and verification commandsVerification: show ipv6 eigrp neighbors , show ipv6 route eigrp (D, AD 90), show ipv6 eigrp topology , show ipv6 eigrp interfaces [detail] , show ipv6 protocols . In EIGRP the hello interval doesn't have to match between neighbors (unlike OSPF).10 min
- CCNA · 🔒 EIGRP basics: three tables, advertised distance and feasible distanceLike OSPF, EIGRP routers send hellos ; routers that send hellos and receive hellos back become neighbors .8 min
- CCNA · 🔒 IPv6 link-local and multicast addresses, the solicited-node addressIPv6 has no broadcast , it has multicast ( FF00::/8 ). FF02::1 : all IPv6 nodes; FF02::2 : all IPv6 routers; OSPFv3: FF02::5 , FF02::6 ; EIGRP: FF02::A . FF02:: is link-local scope: routers don't forward it.9 min
- CCNA · 🔒 EIGRP configuration: neighbors, routing table, topology table and variancerouter eigrp 10 : 10 is the autonomous system (AS) number, and it must be the same on all routers (unlike the OSPF process ID).12 min
- CCNA · 🔒 Extended and named ACLs: protocol, port, log and the ACL editorProtocol: ip (all IP traffic), tcp , udp , icmp , ospf , eigrp ... Port operators: eq (equal), gt , lt , neq , range .12 min
- CCNA · 🔒 Frame Relay basics: PVC, DLCI, LMI, NBMA and Inverse ARPA leased line is high quality, but expensive, and needs a separate interface for each line. With Frame Relay customers share the provider's network; logical connections between sites are called PVCs (permanent virtual circuits) and the CIR is the guaranteed speed. LMI is a keepalive and reports PVC status (cisco, ansi, q933a). The DLCI is the data link identifier and is only locally significant. Frame Relay is an NBMA network: broadcast and multicast do not travel directly. On a single physical interface split horizon causes problems. Inverse ARP maps the remote IP to the local DLCI.10 min
- CCNA · 🔒 Frame Relay configuration: Inverse ARP, frame-relay map, multipoint and point-to-point subinterfacesIn the hub and spoke lab MERKEZ, FILIAL1 and FILIAL2 are connected with encapsulation frame-relay. show frame-relay pvc shows the PVCs are active, show frame-relay lmi the LMI type, and show frame-relay map the dynamic maps created by Inverse ARP. When Inverse ARP is disabled, connectivity is lost and static maps are written with frame-relay map ip ... broadcast. On multipoint subinterfaces EIGRP split horizon blocks the route between spokes; no ip split-horizon eigrp 10 fixes it. Point-to-point subinterfaces use a separate subnet per PVC and frame-relay interface-dlci.14 min
- CCNA · 🔒 IPv6 routing table and static routes: link-local and global next hop, default route ::/0A router configured for IPv6 builds a routing table just like in IPv4. In show ipv6 route there is a C entry for every connected prefix and a /128 L entry for each of the router's own addresses; link-local addresses never appear in the table. Static routes are configured with the ipv6 route command. If the next hop is a link-local address, the exit interface must be given too (fully specified). With a global next hop no interface is needed (recursive). The default route is ::/0, the equivalent of 0.0.0.0/0. Verify with show ipv6 route static, ping and traceroute.10 min
- CCNA · Open How an ACL works: top-down processing, implicit deny, standard and extended ACLs…ination IP address, protocol (IP, ICMP, TCP, UDP, OSPF...), source and destination port (TCP/UDP) A standard ACL is very simple: it can only check the source IP…9 min
- CCNA · 🔒 EIGRP successor and feasible successor: the feasibility condition and a loop-free backup pathIn EIGRP the path with the lowest feasible distance is the successor, and it is installed in the routing table. EIGRP can also prepare a backup path in advance, the feasible successor. To become one, a neighbor must meet the feasibility condition: its advertised distance must be strictly lower than the successor's feasible distance; equal is not enough. In simple words, the neighbor must be closer to the destination than our best path. This guarantees the backup path is loop-free. When the successor fails, the feasible successor takes over at once.10 min
- CCNA · Open Access-list (ACL) basics: filtering, classification and where to apply an ACL…stination IP addresses, protocol (ICMP, TCP, UDP, OSPF...) Transport (layer 4) TCP and UDP port numbers (for example 80 for HTTP) ACLs are used for two differen…8 min
- CCNA · 🔒 Wildcard mask: the inverse of the subnet mask, how to calculate it, host and anyAn ACL uses a wildcard mask (wildcard bits), not a subnet mask. A wildcard mask is the inverse of the subnet mask: in binary every 1 bit becomes 0 and every 0 bit becomes 1. For example, 255.255.255.0 becomes 0.0.0.255, 255.255.255.128 becomes 0.0.0.127 and 255.255.255.224 becomes 0.0.0.31. Shortcut: subtract the subnet mask from 255.255.255.255. In a wildcard a 0 bit means "this bit must match" and a 1 bit means "this bit does not matter". There are two shortcuts: host is a single IP address (wildcard 0.0.0.0) and any is every IP address (0.0.0.0 255.255.255.255).7 min
- CCNA · 🔒 Standard ACL configuration: access-group, access-class and verificationIn the lab the routers KAPAZ and SAHDAG are connected over 10.0.45.0/24 and each has a loopback. The command access-list 10 permit 10.0.45.0 0.0.0.255 permits only this network. The ACL is applied to an interface with ip access-group 10 in and verified with show ip interface and show access-lists. A ping sourced from the loopback hits the invisible deny any. ACL 20 with permit any blocks only one network. no access-list 20 deny removes the whole ACL. On the VTY lines an ACL is applied with access-class and only lets Telnet in from the permitted network.11 min
- FortiGate Administrator · Open What a VDOM is: several firewalls in one device…ach) --- --- Hostname, time, NTP Routing (static, OSPF, BGP) Firmware, licences, FortiGuard Firewall policies and objects HA NAT, VIPs, IP pools Admin accounts…9 min
- FortiGate Administrator · 🔒 Inter-VDOM links: connecting VDOMs to each otherVDOMs are fully separated. For traffic to pass between them you either run a cable on the outside or create a virtual cable inside the device. That virtual cable is called an inter-VDOM link, and it is a pair of interfaces with two ends.10 min