Routing and Switching Essentials Lecture 1 Notes
Routing and Switching Essentials Lecture 1 Notes
First network address — used to identify network and cannot be assigned to a host (Network address)
Last network address — used to send a message to all devices on network at once (Broadcast Address) [also cannot
be assigned to a host]
[ these two constitute the range of addresses that can interact with the host]
— IPV4 FACTS
All IPv4 host addresses are 32 bits in length
A portion of the address represents the network that the host belongs to (starts at the left)
The remaining portion is the host portion which identifies the host on the network
There are two special reserved addresses on every network that can’t be assigned to hosts: The network
address (lowest), and the broadcast address (highest)
CALCULATION METHODS:
Network Address:
Broadcast Address:
1. Keep the binary network address network portion the same, but change the host portion into all 1s [in
contradistinction to the network address].
2. Convert to dotted decimal form — this yields the broadcast address
1. Keep the binary network address network portion the same, but change the host portion into all 0s with a
binary 1 at the end of the host portion
2. Convert to dotted decimal form — this yields the first usable host address
1. Keep the binary network address network portion the same, but change the host portion into all 1s with a
binary 0 at the end of the host portion
2. Convert to dotted decimal form — this yields the last usable host address
— UNICAST
Such transmission refers to one device sending a message to one other device in one-to-one
communications
o IPv4 unicast host addresses are in the address range of 1.1.1.1 to 223.255.255.255. However,
within this range are many addresses that are reserved for special purposes.
— BROADCAST
Such transmission refers to a device sending a message to all the devices on a network in one-to-all
communications.
o A broadcast packet has a destination IP address with all ones (1s) in the host portion, or 32 one
(1) bits
o E.g., a host on the 172.16.4.0/24 network sends a packet to 172.16.4.255
For example: the directed broadcast address for 192.168.1.0/24 is 192.168.1.255 . This address allows
communications to all the hosts in that network. Note: directed broadcasts are turned off by default
since Cisco IOS release 12.0, with the global configuration command: no ip directed-broadcasts.
— MULTICAST
Such transmission reduces traffic by allowing a host to send a single packet to a selected set of hosts that
subscribe to a multicast channel.
o IPv4 has reserved the 224.0.0.0 to 239.255.255.255 addresses as a multicast range.
Types of IPv4 Addresses
— DUAL STACK
A dual stacked device supports both IPv4 and IPv6. Such a device can be a PC, a server, or a router.
Consider a double stacked host capable of both wanting to contact www.example.com. It would contact the
DNS Server to get the available IP addresses of the site. (It would receive both the IPv4 and IPv6 address).
It would normally firstly attempt to connect via the IP46 address and if that fails the IPV4.
— TUNELLING
Daasdadasdsd
— TRANSLATION
A NAT64 router translates an IPv6 packet to IPv4 packet, and vice versa. Similar to NAT for converting
private and public addresses