Lecture - Routing Techniques
Lecture - Routing Techniques
Routing Techniques
Week 7 Topic
Rick Graziani
[email protected]
7
Static routing - IP Configuration
• To communicate with other computers on
your network you need to properly
configure:
• IP Address (of your computer)
• Subnet Mask (of your computer)
• To communicate with computers outside
your network you need to properly
configure:
• Default Gateway IP Address
• To be able to use domain names, like
www.cabrillo.edu, instead of IP addresses
you need to properly configure:
• DNS (Domain Name System) Server IP
Address
8
IP Configuration: IP Address & Mask
I am part of the 192.168.1.0
• To communicate with other computers on network!
your network you need to properly
configure:
• IP Address (of your computer)
• Subnet Mask (of your computer)
• IP – Internet Protocol
• IP Address is the unique address of your
computer on your network.
• Subnet Mask is used by your computer to
figure out what network it belongs to.
• Analogy:
• Name: RICKGRAZIANI
• Mask: FFFFLLLLLLLL
• The Mask tells us which part of
RICKGRAZIANI is the first name (F) and
which part is the last name (L).
Rick Graziani
[email protected]
9
IP Configuration: Default Gateway
• To communicate with computers outside
your network you need to properly
configure:
• Default Gateway IP Address
Rick Graziani
[email protected]
10
IP Configuration: Default Gateway
• Any information that needs to be sent to IP Addresses outside your network is
sent to the Default Gateway or Router.
192.168.1.1
Rick Graziani
[email protected]
11
IP Configuration: DNS
• To be able to use domain names, like
www.cabrillo.edu, instead of IP
addresses you need to properly
configure:
• DNS (Domain Name System)
Server IP Address
207.62.87.54
Rick Graziani
[email protected]
12
IP Configuration: DNS
• You could use IP Addresses when accessing other computers, but we would
rather use names (domain names).
Rick Graziani
[email protected]
13
IP Configuration: DNS
Hey, 207.62.87.54, what is the IP
Address for www.yahoo.com?
It is 66.94.230.47
Hey, 66.94.230.47,
please send me your
web page.
Yahoo
Web
Server
Here, 192.168.1.10,
here is my web page.
Rick Graziani
[email protected]
14
Routing Protocols
• RIP advertisements
Each router maintains a RIP table
known as a routing table.
A router’s routing table – incl.
router’s distance vector and Lines connecting the routers denote subnets. Only
forwarding table. E.g. router D selected routers (A, B, C, and D) and subnets (w, x, y,
• Col 1 – destination subnet and z) are labeled. Dotted lines indicate that the AS
continues on
• Col 2 – next router along shortest Table D routing table
path
• Col 3 – no. of hops to dest. subnet
• E.g. to send from router D to
s/net w:
2 hops, first forwarded to router A
IS414 Semester 1 2020 26
RIP Advertisements and Changes to
Routing Table
forwarding data
plane (hardware)
high-seed
switching
fabric
lookup,
link forwarding
line layer switch
termination protocol fabric
(receive)
queueing
physical layer:
bit-level reception
data link layer: decentralized switching:
e.g., Ethernet • given datagram dest., lookup output port using
see chapter 5 forwarding table in input port memory (“match
plus action”)
• goal: complete input port processing at ‘line
speed’
• queuing: if datagrams arrive faster than
forwarding rate into switch fabric
Network Layer 4-34
Switching fabrics
transfer packet from input buffer to appropriate
output buffer
switching rate: rate at which packets can be
transfer from inputs to outputs
often measured as multiple of input/output line rate
N inputs: switching rate N times line rate desirable
three types of switching fabrics
memory
datagram
switch buffer link
fabric layer line
protocol termination
(send)
queueing
buffering required when datagrams arrive from fabric faster than the
transmission rate
scheduling discipline chooses among queued datagrams for transmission
switch switch
fabric fabric
switch
switch
fabric
fabric
• RFC 3439 rule of thumb: average buffering equal to “typical” RTT (say
250 msec) times link capacity C
• e.g., if C = 10 Gpbs link: then buffer = 2.5 Gbit buffer
• recent recommendation: with N flows, buffering equal to
RTT . C
N