414Lecture13

414Lecture13 - Lecture 13 Network Layer DHCP Routing...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
Lecture 13 Network Layer DHCP, Routing Algorithms ECSE 414 – Fall 2010
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2010 Michael Rabbat ECSE 414, Lecture 13 2 Announcements Assignment #3 Due Tuesday Oct 26
Background image of page 2
ECSE 414, Lecture 13 3 IP addressing: CIDR CIDR: C lassless I nter D omain R outing subnet portion of address of arbitrary length address format: a.b.c.d/x , where x is # bits in subnet portion of address 11001000 00010111 0001000 0 00000000 subnet part host part 200.23.16.0/23 2010 Michael Rabbat
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ECSE 414, Lecture 12 4 Subnets IP address: subnet part (high order bits) host part (low order bits) What’s a subnet ? device interfaces with same subnet part of IP address can physically reach each other without intervening router 223.1.1.1 223.1.1.2 223.1.1.3 223.1.1.4 223.1.2.9 223.1.2.2 223.1.2.1 223.1.3.2 223.1.3.1 223.1.3.27 network consisting of 3 subnets subnet 2010 Michael Rabbat
Background image of page 4
ECSE 414, Lecture 12 5 Subnets 223.1.1.0/24 223.1.2.0/24 223.1.3.0/24 Recipe To determine the subnets, detach each interface from its host or router, creating islands of isolated networks. Each isolated network is called a subnet . Subnet mask: /24 2010 Michael Rabbat
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ECSE 414, Lecture 12 6 Subnets How many? 223.1.1.1 223.1.1.3 223.1.1.4 223.1.2.2 223.1.2.1 223.1.2.6 223.1.3.2 223.1.3.1 223.1.3.27 223.1.1.2 223.1.7.0 223.1.7.1 223.1.8.0 223.1.8.1 223.1.9.1 223.1.9.2 2010 Michael Rabbat
Background image of page 6
ECSE 414, Lecture 13 7 IP addresses: how to get one? Q: How does end host get IP address? Hard-coded by system admin in a file Windows: Network Control Panel UNIX: /etc/rc.config DHCP: D ynamic H ost C onfiguration P rotocol: dynamically get address from as server “plug-and-play” IP Address and Subnet Mask Default Gateway (first-hop router) Local DNS Server address 2010 Michael Rabbat
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ECSE 414, Lecture 13 8 DHCP: Dynamic Host Configuration Protocol Goal: allow host to dynamically obtain its IP address from network server when it joins network Can renew its lease on address in use Allows reuse of addresses (only hold address while connected an “on”) DHCP overview: host broadcasts “ DHCP discover ” msg DHCP server responds with “ DHCP offer ” msg host requests IP address: “ DHCP request ” msg DHCP server sends address: “ DHCP ack ” msg 2010 Michael Rabbat
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/09/2011 for the course ECSE 414 taught by Professor Rabbat during the Fall '10 term at McGill.

Page1 / 25

414Lecture13 - Lecture 13 Network Layer DHCP Routing...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online