IP Addressing Services
1
Introduction
Example
Host Problem
Host Renew
Broadcast Unicast
• Notice that the RTA interface e3, which connects to the server farm, is not configured
with helper addresses.
• However, the output shows that for this interface, directed broadcast forwarding is
disabled. This means that the router will not convert the logical broadcast
172.24.1.255 into a physical broadcast with a Layer 2 address of FF-FF-FF-FF-FF-
FF.
• To allow all the nodes in the server farm to receive the broadcasts at Layer 2, e3 will
need to be configured to forward directed broadcasts with the following command:
RTA(config)#interface e3
RTA(config-if)#ip directed-broadcast
L3 Broadcast L2 Broadcast
RTA(config)#interface e0
RTA(config-if)#ip helper-address 172.24.1.255
RTA(config)#interface e3
RTA(config-if)#ip directed-broadcast
Học viện mạng Bach Khoa - Website: www.bkacad.com 21
Using helper addresses
• By default, the ip helper-address command forwards the eight UDPs services.
• Inside local address - Usually not an IP address assigned by a RIR or service provider
and is most likely an RFC 1918 private address.
• Inside global address - Valid public address that the inside host is given when it exits
the NAT router.
– When traffic from PC1 is destined for the web server at 209.165.201.1, router R2
must translate the address. In this case, IP address 209.165.200.226 is used as the
inside global address for PC1.
• Outside global address - Reachable IP address assigned to a host on the Internet.
– For example, the web server is reachable at IP address 209.165.201.1.
• Outside local address - The local IP address assigned to a host on the outside
network. In most situations, this address will be identical to the outside global address of
that outside device.
Học viện mạng Bach Khoa - Website: www.bkacad.com 30
The Forms of NAT
• Inside local address – The IP address assigned to a host on the inside network. This
address is likely to be an RFC 1918 private address.
• Inside global address – A legitimate (Internet routable or public) IP address assigned
the service provider that represents one or more inside local IP addresses to the outside
world.
• Outside local address – The IP address of an outside host as it is known to the hosts
on the inside network.
• Outside global address – The IP address assigned to a host on the outside network.
The owner of the host assigns this address.
Học viện mạng Bach Khoa - Website: www.bkacad.com 34
NAT Example
1 2
DA SA DA SA
IP Header IP Header
1 2
Translate to these
outside addresses
http://portforward.com
• Flow Label: 20-bit field that allows a particular flow of traffic to be labeled. It
can be used for multilayer switching techniques and faster packet-switching
performance.
• Extension Headers: Follows the previous eight fields. The number of
extension headers is not fixed, so the total length of the extension header
chain is variable.
Extension Header
Extension Header
1. Unicast address
– Link local (FE80::/10): Scope is configured to single link. The address is unique only on this
link, and it is not routable off the link. (similar to 169.254.x.x private address)
– Site local (FEC0::/10): similar to private address.
– Global: Globally unique, so it can be routed globally with no modification. A global address
has an unlimited scope on the worldwide Internet. Packets with global source and destination
addresses are routed to their target destination by the routers on the Internet.
2. Multicast address (FF00::/8): IPv6 does not have broadcast addresses. The range of multicast
addresses in IPv6 is larger than in IPv4. For the foreseeable future, allocation of multicast groups is
not being limited.
3. Anycast address: An anycast address identifies a list of devices or nodes; therefore, an anycast
address identifies multiple interfaces. A packet sent to an anycast address is delivered to the closest
interface, as defined by the routing protocols in use.
Học viện mạng Bach Khoa - Website: www.bkacad.com 65
Special Address
• Global Unicast Addresses are defined by a global routing prefix, a subnet ID, and an
interface ID. The current global unicast address assignment by the Internet Assigned
Numbers Authority (IANA) uses the range of addresses that start with binary value 001
(2000::/3), which is 1/8 of the total IPv6 address space and is the largest block of
assigned block addresses.
• The IANA is allocating the IPv6 address space in the ranges of 2001::/16 to the five RIR
registries (ARIN, RIPE, APNIC, LACNIC, and AfriNIC).
• Addresses with a prefix of 2000::/3 (001) through E000::/3 (111), with the exception of
the FF00::/8 (1111 1111) multicast addresses, are required to have 64-bit interface
identifiers in the Extended Universal Identifier (EUI)-64 format.
• When a unicast address is assigned to more than one interface, thus turning it into an
anycast address, the nodes to which the address is assigned must be explicitly
configured to use and recognize the anycast address.
• Tunneling is an integration method where an IPv6 packet is encapsulated within another protocol,
such as IPv4. This method enables the connection of IPv6 islands without needing to convert the
intermediary networks to IPv6.
• When IPv4 is used to encapsulate the IPv6 packet, a protocol type of 41 is specified in the IPv4
header, and the packet includes a 20-byte IPv4 header with no options and an IPv6 header and
payload. It also requires dual-stack routers.
• Tunneling presents these issues:
– The MTU is decreased by 20 octets (if the IPv4 header does not contain any optional field).
– Difficult to troubleshoot.
1. The control plane handles the interaction of the router with the other network
elements, providing the information needed to make decisions and control the overall
router operation. This plane runs processes such as routing protocols and network
management. These functions are generally complex.
2. The data plane handles packet forwarding from one physical or logical interface to
another. It involves different switching mechanisms such as process switching and
Cisco Express Forwarding (CEF) on Cisco IOS software routers.
3. Enhanced services include advanced features applied when forwarding data, such as
packet filtering, quality of service (QoS), encryption, translation, and accounting.
• Based on IPv4 RIP version 2 (RIPv2) and similar to RIPv2 , distance vector, split
horizon, max hop 15, poison reverse
• Uses IPv6 for transport
• IPv6 prefix, next-hop IPv6 address
• Uses the multicast group FF02::9, the all-RIP-routers multicast group, as the destination
address for RIP updates
• Updates sent on UDP port 521
• Is supported by Cisco IOS Release 12.2(2)T and later
• To enable RIPng routing on the router, use the ipv6 router rip name global
configuration command.
– The name parameter identifies the RIP process.
– This process name is used later when configuring RIPng on participating interfaces.
• For RIPng, instead of using the network command to identify which interfaces should
run RIPng, you use the command ipv6 rip name enable in interface configuration mode
to enable RIPng on an interface. The name parameter must match the name parameter
in the ipv6 router rip command.
ipv6 install
netsh interface ipv6 add address "Local Area Connection" 2fff::2