Topic 3 - Design of IP Address & Routing
Topic 3 - Design of IP Address & Routing
24
Ex-5 subnet this network senario
Ex-6 A company has bought IP class address 136.178.0.0. It has
14 departments and it wants to give each its own subnet. What
will be each of the subnets, and their subnet mask?
To do such subnetting problems for a specified network
design we use the following three steps.
Step-1. determine the number of networks and convert to
binary.
Step-2. reserve required bits in the subnet mask and find
incremental value.
Step-3. use increment to find network ranges.
To create subnetworks, you take bits from the host portion
of the IP address and reserve them to define the subnet
address. This means fewer bits for hosts, so the more
subnets, the fewer bits are left available for defining
hosts.
What can we figure out from this subnetting/workout
We can assign valid network ranges to our networks.
We can reduce complexity of address assignment
First and last addresses from each range
(network/broadcast IP) are unusable.
It helps as to identify IP address problems that may
occur during implementations (Easy for troubleshooting
problems)
It localizes traffic flows and simplifying routing traffic!
Reduces congestions
Optimizes the router performance as well as the whole
network system performance
It reduces queueing algorithms
We can forward or discard the information or packet
What can we figure out from this subnetting/workout
It provides security to one network from another
network. e.g.) In an Organization, code of the Developer
department must not be accessed by another department.
It may be possible that a particular subnet might
need higher network priority than others. For example, a
Finance department need to host webcasts or video
conferences b/c they have their own network ranges.
In the case of Small networks, maintenance or
troubleshooting is is easy.
Subnetting and network management require an experienced
network administrator. This adds to the overall cost as well. So
it gives time for the network owner to think over the IT
professionals to get for accurate management of his network
Subnetting style-2: when given a required number of
clients
Ex-1 A service provider has given you the class C network
range 209.50.1.0. Your company must break the
network into as many subnets as possible as long as
there are at least 50 clients per network.
Solve ?
Ex-2, Your company would like to break the class B
private IP address 172.16.0.0 into as many subnets as
possible, provided that they can get at least 300 clients
per subnet. Solve?
Ex-3, Class B 150.5.0.0 and need: 500hosts per n/w. Solve?
Ex-4, Class C 195.5.20.0 and need: 50 clients. Solve?
29
Ex-5
Does the pc’s from the sales department can communicate with
all of the pc’s in the marketing department?
Is the default gateway address of Lab_A valid?
If there is any problem how do you fix the IP problems? Put
your solution.
Ex-3 Find the valid host ranges
Find the following. What IP address, subnet mask, and valid
host address could be assigned to the hosts in the two figures
below?
Fig#1 Fig#2
Ex-4
3. What are the valid subnets? 256 – subnet mask = block size, or
increment number. An example would be 256 – 192 = 64. The
block size of a 192 mask is always 64. Start counting at zero in
blocks of 64 until you reach the subnet mask value, and these
4. What’s the broadcast address for each subnet? broadcast
address is always the number right before the next subnet. For
example, the 0 subnet has a broadcast address of 63 because the
next subnet is 64. The 64 subnet has a broadcast address of 127
because the next subnet is 128.
5. What are the valid hosts? Valid hosts are the numbers
between the subnets, omitting all the 0s and all 1s. For example, if
64 is the subnet number and 127 is the broadcast address, then
65–126 is the valid host range it’s always the numbers between the
subnet address and the broadcast address.
Example Questions
1. Given an IP address and subnet mask of 192.168.20.10
and 255.255.255.240 then calculate the following.
A. Network address
B. 1st host address
C. Broadcast address
D. Last host address
2. You have given a class B IP address of 140.200.100.50
then determine the above in ex-1 A-D.
Benefits of Supernetting
-----reduce network traffic
-----minimize the size of routing table
4. Supernetting and CIDR
Why is route summarization important?
If a router needs to advertise 50 routes, it will need 50 specific
lines in its update packet. As these routes increase, the number of
lines required also increases, expanding packet size and the
amount of bandwidth used. That means there will be less
bandwidth available for actual data transfer.
Route summarization enables multiple routes to be advertised
with only one line in an update packet, reducing the packet size
and leaving more bandwidth for data transfer.
Also, each time a new data flow enters a router, it must identify
which interface the traffic must be sent out to. For this, it must
perform a lookup in its routing table. This process takes longer for
large routing tables and requires more router central processing
unit (CPU) cycles to route traffic.
Route summarization can eliminate this problem by minimizing
both the time required to perform lookup and reducing the
4. Supernetting/CIDR
Route aggregation offers several advantages, including the
following:
Reduces the number of entries in the route table, which
reduces the load on the router and network overhead for
routing protocols;
Minimizes latency in a complex network, especially when
many routers are involved;
Reduces or eliminates unnecessary routing updates after part
of the network undergoes a change in CPU cycles topology;
Saves memory since routing tables will be smaller in size;
Helps save bandwidth as there are fewer routes to advertise;
Reduces processor workloads and saves, since there are fewer
packets to process and smaller routing tables to work on.
E.g. Addressing for a company with 10,000 devices. If you
use a single Class B, it could support up to 65,534 devices, it
is plenty and cost for this company, but a Class B is not
available, so Class C addresses are used instead.
A single Class C can support up to 254 devices, so 40 Class
C networks are needed (40 networks × 254 addresses=
10,160 total addresses).
So, when 40 Class C networks are allocated to this company
(e.g., 192.92.240.0 through 192.92.279.0), routes to each
network have to be advertised to the Internet.
So instead of advertising 40 different networks use
aggregating those networks and advertise to the Internet via
one network ID.
The solution was Supernetting to aggregate the networks.
Steps to do Supernetting
Step1: write all given IP numbers in binary
Step2: find matching bits left to write up to match
Spep3: write up to match as it is and “0” up to end
convert it back to decimal and that is our network
(supernet NID)=aggregated NID to be advertised to the
Internet
Step4: Make all “1” up to match and “0” up to end (new
mask)=supernet mask to be advertised to be the Internet
together with the supernetted NID
=====Then we finally write Supernet NID/CIDR
E.g#1 Find the supernet NID and the supernet mask for
the given addresses?
---199.10.5.0/24
---199.10.6.0/24
---199.10.7.0/24
4. Supernetting and CIDR
Ex#2 how to advertise routes to the corporate network (ISP)
1.Find the new network ID or aggregated network ID to be
advertised(supernet NID)?
2.What is the new network mask/supernet mask?
3.What is the CIDR or /notation value for the new network?
4. Supernetting and CIDR
Ex#3 find supernet NID, supernet Mask and CIDR value
for your supernet network.
192.92.241.0/24
192.92.242.0/24
192.92.243.0/24
192.92.244.0/24
192.92.245.0/24
192.92.246.0/24
192.92.247.0/24
Limitations of route Summarization
There are two main limitations of route aggregation:
Suboptimal routing. Misconfigured route summarization may result in
suboptimal routing. Route summarization may also create inconsistent routing
if a network has noncontiguous subnetworks. When using summaries, the
router may prefer another path where it has learned a more specific network
form, which may not be the most optimal routing method.
Forwarding traffic for unused networks. If the router doesn't find a matching
destination in its routing table, it will start dropping traffic, leading to data
loss. Also, the summary route may cover unused networks. The router that has
a summary route will forward traffic to the router that advertised the
summary route.
Dynamic NAT
The three NAT styles example
NAT overload
2. Find the supernet NID and the supernet mask for the given
addresses show all the steps?
---192.168.10.0/24
---192.168.11.0/24
---192.168.12.0/24
---192.168.13.0/24
---192.168.14.0/24
3. Write out the complete unabbreviated IPv6 addresses that
correspond to 6721:0:4a::ce1:0 and ff2c:37bd::2:c9:ce1:7a. Are
either of these a multicast address? If so, which one?
Sec#2. Routing Fundamentals
Routing Basics
Selecting Routing Protocols for the Network Project
IP routing is the process of moving packets from one network to
another network using routers.
What is the difference b/n routing protocol & Routed protocol?
A routing protocol is a tool used by routers to dynamically find
all the networks in the internetwork as well as to ensure that all
routers have the same routing table.
A routing protocol used to determine the path of a packet
through an internetwork.
Routed protocols are assigned to an interface and determine the
method of packet delivery.
A routed protocol can be used to send user data (packets)
through the established internetwork.
Sec#2. Routing Fundamentals
.
Routing Basics
To be capable of routing packets, a router must know at
least the following information:
Destination address
Neighbor routers
Possible routes to all remote networks
The best route to each remote network
How routers build a routing table?
69
Routing basics…
The router learns about remote networks from
neighbor routers or from an administrator.
The router then builds a routing table (a map of the
internetwork) that describes how to find the remote
networks.
If a network is directly connected, then the router
already knows how to get to it.
If a network isn’t directly connected to the router, the
router must use one of 2 ways to learn how to get to it.
One way is called static routing and the other way is
dynamic routing.
Difference b/n static vs dynamic routing?
Routing protocols
Routing flow tree
Routing protocols
Routing protocols are critical to a network’s design.
Static routing: The reachability is entered manually to the
router.
Method we commonly use for our small networking labs.
Routing metrics
---Hop counts, MTU, bandwidth, Costs, Latency
IPv6 Routing Protocols
Most of the routing protocols we’ve already discussed have
been upgraded for use in IPv6 networks.
78
3. Security management
79
4. Performance management
Involves measuring the performance of the
network hardware, software, and media.
Examples of measured activities are:
Overall throughput
Percentage utilization
Error rates
Response time
80
5. Accounting management
81
What is Network Management Software
Network Management Software is software that allows
an administrator to manage a network and the devices
attached to the network.
85
Network monitoring tools
Network monitoring tools….
86
Network monitoring tools
u
87
End
Thank You