A bunch of notes about networking related concepts such as TCP/IP, DNS, BGP, OSPF, etc.
Last active
May 30, 2024 07:40
-
-
Save vicradon/3c9561c8937875937f1fdca3c31c799e to your computer and use it in GitHub Desktop.
Bunch of networking notes
The first step is to enter the priviledged exec mode using the enable
(or en
) command. In this mode, you can check the current interfaces using the show ip interface brief
command. You can then define new loopback interfaces using the commands:
Router#conf t
Router(config)#interface loopback 0
Router(config)#ip address 10.0.0.1 255.0.0.0
Router(config)#interface loopback 1
Router(config)#ip address 192.168.0.1 255.255.255.0
...
The command above configures two loopback interfaces on the router. Loopback interfaces are always up and are software based.
There are several tables in networking. There's the
- ARP table that maps IP addresses to Mac addresses
- Mac address table that maps Mac addresses to physical ports on a switch
- IP routing tables that maps IP network prefixes to destination next hop alongside a metric for choosing the best path
We will now look at these tables in great detail.
The ARP table maps IP addresses to Mac addresses. It lives on
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment