ITNuvoAkademiya
Academy homePackagesPlaylistsToolsSubnet calculatorSearchGlossary
CiscoCCNA · CCNA: networking fundamentals1. Introduction2. Network Fundamentals3. Network Access4. IP Connectivity5. IP Services6. IPv67. Security Fundamentals8. AutomationCCNP: Enterprise networks · coming soon
LinuxLinux: system administrator üçün · Linux for system administrators1. Getting to know Linux2. Working with text3. Users and permissions4. Processes and packages5. Inside the system6. Monitoring and logs7. NetworkingRed Hat Enterprise Linux · Red Hat Enterprise Linux: from beginner to advanced1. Getting started2. Packages3. Users and permissions4. SELinux5. Services6. Storage7. Networking8. Building services9. Boot and recovery10. DevOps11. Security and monitoring
FortinetFortiGate Administrator · FortiGate Administrator: from first login to ZTNA1. Getting to know FortiGate2. Routing, policy and NAT3. Security profiles4. Users and logs5. Resilience, SD-WAN and automation6. VDOM7. VPN and ZTNA8. Proxy9. DMZ
MonitoringZabbix · Zabbix: from installation to alerts1. Introduction2. Installation and the database3. Basics: groups, templates, users4. Connecting devices5. Alerts, Grafana and the API
VirtualizationProxmox VE · coming soonVMware ESXi · coming soon
My account / Sign in
AZENRU
← itnuvo.com

Search the Academy

Searches lesson titles, summaries, key points and text, plus the glossary.

120 lessons found

In the glossary

NAT
Replaces the office's internal addresses with one shared address on the way to the internet. Like an office with one phone number and internal extensions inside. Example: 50 office computers go online through one IP.

Glossary →

  1. CCNA · 🔒 Configuring trunks: encapsulation, allowed VLANs and the native VLANTo connect the same VLAN on two switches, create the VLAN on both and make the link between them a trunk. On switches that also support ISL you first type "switchport trunk encapsulation dot1q" and then "switchport mode trunk". show interfaces trunk shows the trunk's mode, encapsulation, native VLAN and allowed VLANs. "switchport trunk allowed vlan" limits the VLANs on the trunk, and "switchport trunk native vlan" changes the native VLAN.10 min
  2. CCNA · 🔒 Root bridge, root port and designated port: how STP decidesSTP first elects a root bridge: the switch with the lowest Bridge ID. When the priorities are equal, the lowest MAC wins. All root bridge ports are designated and forwarding. Then every non-root switch picks its cheapest path to the root bridge: the root port. The path cost is the sum of costs that depend on interface speed (10 Mbit = 100, 100 Mbit = 19, 1 Gbit = 4, 10 Gbit = 2). Every link has one designated port. The remaining port is non-designated (alternate) and is blocked. Tie-breakers, in order: lowest root path cost, lowest sender Bridge ID, lowest sender port ID.10 min
  3. CCNA · Open NAT and PAT basics: static NAT, dynamic NAT and port address translationInside networks use private IP addresses, and these are not routed on the Internet. NAT (Network Address Translation) changes the source IP of a packet leaving the router to a public address and translates the destination back when the reply arrives. Static NAT permanently maps one private address to one public address (1:1). Dynamic NAT gives hosts selected by an ACL a free public address from a pool. PAT (NAT overload) lets many hosts reach the Internet behind one public IP, telling them apart by port number. NAT hides inside addresses, but it is not a security mechanism.10 min
  4. CCNA · Open NAT terms: inside local, inside global, outside local, outside globalThe interfaces of a NAT router are defined as inside or outside, and the networks attached to them take the same names. Cisco uses four address terms. Inside local is the address assigned to an inside host (usually private). Inside global is the address that inside host appears as from outside (the public address from the ISP). Outside local is the address of an outside host as it appears to the inside network. Outside global is the real address of the outside host. Usually outside local and outside global are the same. These terms are the column names of the show ip nat translations output.6 min
  5. CCNA · 🔒 Static NAT configuration: ip nat inside/outside, debug ip packet and verificationIn the lab PC1 and WEB are routers turned into hosts with no ip routing, pointing to SERHED with ip default-gateway. First, without NAT, debug ip packet on WEB shows that the packet's source is 10.50.0.11. Then on SERHED Gi0/0 is set as ip nat inside, Gi0/1 as ip nat outside, and the command ip nat inside source static 10.50.0.11 203.0.113.11 is entered. show ip nat translations shows the static entry. After NAT, WEB receives the packets from 203.0.113.11 and sends its replies to that address.10 min
  6. CCNA · 🔒 Dynamic NAT and PAT configuration: ip nat pool, access-list and overloadDynamic NAT is built in four steps - the interfaces are set as inside/outside, a pool is created with ip nat pool NAT-HAVUZ 203.0.113.100 203.0.113.110 prefix-length 24, access-list 1 selects the inside network to translate, and ip nat inside source list 1 pool NAT-HAVUZ joins them. In the lab PC1 is translated to 203.0.113.100 and PC2 to 203.0.113.101. For PAT you enter ip nat inside source list 1 interface gigabitEthernet 0/1 overload: both hosts go out as 203.0.113.1 and are told apart in the NAT table by different port numbers.11 min
  7. FortiGate Administrator · 🔒 Source NAT: taking internal addresses to the internetThe 10.x.x.x addresses of the internal network do not work on the internet. Source NAT replaces the source address of an outgoing packet with the FortiGate's public address. In this lesson we learn NAT in a policy, IP pool types and central NAT mode.9 min
  8. FortiGate Administrator · 🔒 Destination NAT: publishing a server with a VIPTo reach an internal server from the internet, the destination address has to be translated. On a FortiGate this is done with a Virtual IP (VIP) object. In this lesson we learn to create a VIP, use port forwarding and write a policy for the VIP.9 min
  9. CCNA · 🔒 The Ethernet frame and the MAC addressThe most important fields of an Ethernet frame are the Destination and Source addresses: this is where the MAC addresses go. A frame starts with a Preamble and SOF and ends with the FCS. A MAC address is 48 bits written in hex; it contains a BC (broadcast) bit, a Local bit, the vendor's 22-bit OUI and a 24-bit unique part assigned by the vendor.9 min
  10. CCNA · 🔒 How a switch learns: the MAC address table, flooding and forwardingA switch builds a MAC address table and learns only from source MAC addresses: whichever port a frame came in on, its source MAC is recorded against that port. If the destination MAC is not in the table, the switch sends the frame out every port except the one it came in on (flooding). When the reply comes back, the second MAC is learned too, and from then on frames go only to the right port. You view the table with show mac address-table dynamic, and Wireshark shows that flooding happens only for the first frame.9 min
  11. CCNA · 🔒 Trunks and the 802.1Q tag: how a frame carries its VLANA normal Ethernet frame has no VLAN field. That is why we build a trunk between switches and add an 802.1Q tag (4 bytes) to every frame. Inside the tag are TPID 0x8100, the priority (PCP), DEI and the 12-bit VLAN ID (VID). ISL is Cisco's old protocol. A port gets its VLAN statically, dynamically (VMPS or 802.1X/RADIUS) or as a voice VLAN. On a trunk only the native VLAN is untagged (VLAN 1 by default).10 min
  12. CCNA · Open Routers and the routing table: how an IP packet is forwardedA switch forwards Ethernet frames by destination MAC address (layer 2); a router forwards IP packets by destination IP address (layer 3). MAC addresses are not hierarchical, so switching alone does not scale to a large network, while a router knows a whole network with a single routing table entry. A new router's routing table only holds directly connected networks. When a computer sends a packet to another subnet it hands it to its default gateway, and the router looks in its routing table and sends the packet out the right interface. You can check the path with ping and traceroute.9 min
  13. 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
  14. CCNA · 🔒 EIGRP basics: three tables, advertised distance and feasible distanceEIGRP (Enhanced Interior Gateway Routing Protocol) is a hybrid (advanced distance vector) routing protocol created by Cisco. Split horizon, route poisoning and poison reverse also apply to it. EIGRP routers become neighbors using hellos and keep three tables: neighbor, topology and routing table. The topology table stores two values per route. The advertised distance is the neighbor's distance to the destination, the metric it advertises to us. The feasible distance is our total distance: the metric of the link to the neighbor plus the advertised distance.8 min
  15. 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
  16. CCNA · 🔒 NetFlow: what a flow is, key fields, the collector and configurationSNMP shows how much traffic goes through an interface, but not what kind of traffic it is. NetFlow gives very accurate information about the IP packets flowing through the network. A flow is a stream of packets from a source to a destination; packets belong to the same flow when the source and destination IP, source and destination port, L3 protocol type, ToS byte and input interface match. NetFlow is used to see the kind of traffic, to bill customers based on usage and to detect DoS attacks. Configuration: ip flow ingress/egress, ip flow-export version and ip flow-export destination.7 min
  17. 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
  18. CCNA · Open How an ACL works: top-down processing, implicit deny, standard and extended ACLsAn ACL is made of statements and a packet is checked top-down. As soon as it matches a statement, a decision is made (permit or deny) and the remaining statements are skipped. Every ACL ends with an invisible deny any: whatever is not explicitly permitted is dropped. A standard ACL only looks at the source IP (numbers 1-99, 1300-1999). An extended ACL looks at source and destination IP, protocol and ports (100-199, 2000-2699). An ACL can also have a name. Only one ACL per direction can be applied on an interface. There are also dynamic, reflexive and time-based ACLs.9 min
  19. CCNA · 🔒 Extended and named ACLs: protocol, port, log and the ACL editorAn extended ACL statement is built as action, protocol, source (+port), destination (+port). In the lab, access-list 110 permit tcp 172.16.1.0 0.0.0.255 host 172.16.2.1 eq 80 permits KAPAZ's loopback network to connect to SAHDAG's HTTP server. The statement deny ip any any log makes the invisible deny visible and writes dropped packets to the console. To remove a single statement you enter the editor with ip access-list extended 110 and type no 20. A named ACL is created with ip access-list extended ICMP-BLOK; it blocks ping and permits all other traffic.12 min
  20. 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
  21. FortiGate Administrator · 🔒 IPS and DoS policy: catching attacks inside trafficAntivirus looks at files; IPS looks at the attack itself: traffic that tries to exploit a flaw in a program. In this lesson we learn the IPS sensor, how signatures are selected, the actions, and the DoS policy, which works separately.9 min
  22. FortiGate Administrator · 🔒 Traffic between VDOMs: the full path and troubleshootingIn the previous lesson we built a link between two VDOMs. Now we follow the full path of a packet from one VDOM to another and on to the internet: what is needed at each step, where NAT is done, where inspection happens and how to find where it gets stuck.9 min
  23. CCNA · 🔒 The TCP header: field by fieldTCP is a fairly complex protocol, and its header has a lot more fields than UDP's. In this part we look at the important ones: source/destination port, the 32-bit sequence and acknowledgment numbers, Flags, window size and checksum.6 min
  24. CCNA · 🔒 Switching modes: cut-through, store-and-forward, fragment-freeA switch uses one of three modes to decide when to start forwarding a frame. Cut-through forwards as soon as it reads the destination MAC: fast, but it passes corrupted frames on too. Store-and-forward receives the whole frame, checks the FCS and discards bad frames. Fragment-free checks the first 64 bytes: a compromise between the two. Cisco Catalyst switches use store-and-forward.7 min
  25. CCNA · 🔒 SLAAC and DHCPv6: stateless, stateful, RA flags and DHCPv6 relayWith SLAAC a host doesn't get its address from a server. It learns the subnet's prefix with RS/RA, creates the interface ID itself with EUI-64 or randomly, and checks it is unique with DAD. Classic SLAAC doesn't provide a DNS server; stateless DHCPv6 does. Stateless DHCPv6 keeps no state, stateful DHCPv6 tracks addresses and their leases. The router uses the A, O and M flags in the RA to tell hosts which method to use. DHCPv6 messages are Solicit, Advertise, Request and Reply. If the server is on another subnet, ipv6 dhcp relay destination is configured on the client-facing interface.10 min
  26. 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
  27. FortiGate Administrator · 🔒 Application control: recognising an application by itself, not by its portToday most applications pass through the same port 443, so the port number says nothing about the application. Application control looks at the behaviour and signature of traffic and works out which application it is. In this lesson we learn categories, overrides and attaching the profile to a policy.8 min
  28. Linux: system administrator üçün · 🔒 Routing: ip route, default gateway, IP forwardingA Linux server decides where to send a packet by looking at its routing table — just like a router. In this lesson we learn to read the routing table, the default gateway, adding static routes, the longest-prefix rule, and the IP forwarding and NAT that turn Linux into a small router.8 min
  29. CCNA · 🔒 De-encapsulation and addresses: MAC changes at every hop, IP does notThe IP address (Layer 3) does not change end to end: the source and destination stay the same.6 min
  30. CCNA · 🔒 ARP in practice: ping, arp -a and WiresharkPing uses the ICMP protocol. The IP packet has source IP 192.168.1.1 and destination IP 192.168.1.2 (Layer 3).9 min