Network Fundamentals Flashcards
Tell me about global unicast
usually /3 3 bits beginning 45 bits global routing prefix 16 bits subnet id 64 bits interface id
Tell me about ipv6 multicast
FF as first two hexadecimal digits
FF02:1 all nodes in local scope
FF02:2 all routers in scope
8 bits of 1, Flags for 4 bits, Scope for 4 bits, Group ID for 112 bits
ORPT for flags, if R is set to 1 P and T set to 1 (rendezvous point)
Tell me about link local address
FE80::interface ID
10 Bits Mask + 54 bits 0’s + Interface ID
Can only communicate on network segment
Unique Local Address
FC00::/7 cannot be routed over public internet (think of it as a private address) eighth bit in first octet is local bit if L is 1 it’s locally assigned
Loopback Address
::1 aka localhost can be used to verify Ipv6 stack is operating on a device
Unspecified Address
128 bits are all 0’s :: Used for source address with sending neighbor or router a solicitation (Network advertisement for ip address of the interface) message
Solicited Node Multicast
corresponding to Ipv6 address in each interface of router begins with FF02::1:FF for first 104 bit, last 24 bits of Ipv6 address, used for duplicate address detection
How do we get the EUI address
Take Mac address and use it to scale to 64 bit:
Split down middle, insert FFFE in the middle
Convert second hex to binary and flip the 7th bit
IPv6 Addresses have
Interface ID
Subnet
Global Routing Prefix
What does dual stack mean
when you run IPv4 and IPv6 on a network
Interface ID always occupies the ___ of a Ipv6 address
Last 1/2 or 64 bits
Class A address has range of
1-126 Default mask /8
Class B address has range of
128-191 Default mask /16
Class C address has range of
192-223 Default mask /24
Class D address is used for ___ and has a range of __
multicast, 224-239
Class E address is used for ___ and has a range of ___
experimental purposes, 240-255
Private address ranges
A: 10.0.0.0 - 10.255.255.255
B: 172.16.0.0 - 172.31.255.255
B: 169.254.0.0 - 269.254.255.255
C: 192.168.0.0 - 192.168.255.255
What’s CDP
Cisco Discovery protocol, layer 2 shows information of CDP adjacent devices
What destination mac address does CDP send to
multicast 01-00-00-0C-CC-CC-CC
How do you show neighbors in CDP
show cdp neighbors
What’s LLDP also known as
IEEE 802.1AB
What’s the command to know LLDP’s neighbors
show lldp neighbors
How do you enable LLDP
lldp run
What are the steps to booting up a router?
- POST (Power on self test)
- Execute bootstrap code to locate and load iOS
- Locate Cisco iOS software
- Load Cisco iOS Software
- Locate Configuration in NV ram
- Load into running-config
- Execute Configuration
Configuration Register
16 bit value = 4 hex, last value is boot field (4 bits)
What are the different configuration options
0x0 = boot into ROM Monitor Mode
0x1 Boot first image in flash
0x2 - 0xF Get image loading instructions from configuration in NVRAM
How do you show a router’s license?
show license
How do you install a router’s license
license install (location of xml file)
What does ping send?
Sends ICMP echo request and listens for an ICMP echo reply back ICMP = internet control message protocol or basically troubleshooting message
How do you trace a router
trace ip (dest ip) will send a UDP message with incorrect dest port number packet times out at each router and ip is returned
What do you use terminal monitor for
When you cannot see debug message via telnet or ssh
What does DHCP stand for
Dynamic Host Config Protocol - can go request iP information from DHCP server
What are the steps in a DHCP exchange
DORA Discover broadcast (looking for DHCP server), Offer (DHCP server sends an offer back to client with IP Address), Request (info from specific server), Acknowledgement (sends IP address)
What is Administrative distance
the reliability of a routing protocol; helps a router select the best path when multiple are available - the lower the better
What is the administrative distance of a direct connection
0
What is the administrative distance of a static connection
1
What is the administrative distance of a eBGP protocol
20
What is the administrative distance of a EIGRP protocol
90
What is the administrative distance of a OSPF protocol
110
What is the administrative distance of a RIP protocol
120
What are the three packet forwarding options and how do they work?
Process switching, cpu looks through each and every decision
Fast switching has a route cache which memorizes what comes through so not everything has to pass CPU
Cisco Express Forwarding has a FIB with a routing table and adjacency table which allow data to go directly without touching CPU
How do you check an ip routing table? (command)
show ip route
What is the format for interface addressing
Module/slot/port
Module: what controls it (starts at 0 which is motherboard)
Port: numbering starts at 0, moves from right to left and bottom to top
How do you check Cisco iOS (command)
show version
How do you view Cisco router configuration (command)
show running-config
How do you view interface status (command)
show ip interface brief
how do you get to a certain interface (command)
show interface (interface id 0/0)
How do you reconfigure a router’s hostname (command)
config# hostname (hostname)
How do you assign an IPv4 to interface
# inferface fa0/0 (config-if) ip address (ip address) (mask)
How do you assign an iPv6 to interface
(config-if) ipv6 enable ipv6 address (address)/mask
How do you assign an iPv6 to interface
(config-if) ipv6 enable ipv6 address (address)/mask
What’s the structure of an ethernet frame
7 bytes preamble 1 byte SFD which tells next bit is mac address 6 byte destination mac address 6 bytes source mac address 2 byte type Frame check sequence 4 bytes
What is a shared segment?
It’s a segment where only one frame can travel on the shared segment at any time
What is the split horizon rule
A rule used by routing protocols where a router advertising a route out of the interface on which the route was learned is prevented to prevent overriding
What’s the two numbers on a routing table ie 90/120
Administrative Distance/Metric (how far a remote network is from a router dependent on routing protocol used)
How do you pull up a routing table for OSPF
show ip ospf rib
How do you pull up Cisco express forwarding routing table
show ip cef
How does a router on fast ethernet know about the destination Mac address
It sends out an Address Resolution Protocol or ARP broadcast