20.01.2014 Views

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Forwarding<br />

• Next-Hop method - routing table holds only the address of the next hop<br />

R1<br />

R2<br />

Host A network<br />

network<br />

network<br />

Routing table <strong>for</strong> A Routing table <strong>for</strong> R1 Routing table <strong>for</strong> R2<br />

Destination Route Destination Route Destination Route<br />

Host B R1 Host B R2<br />

Host B<br />

• Network-specific method - routing table entries are <strong>for</strong> networks<br />

Host A<br />

network1<br />

• Host-specific method - per host routes<br />

• Default method - specifies a default route (normally network address 0.0.0.0)<br />

Routing table <strong>for</strong> A<br />

Destination<br />

network2 R1<br />

default R2<br />

See textbook sections 6.2 <strong>for</strong> more examples.<br />

R1<br />

network2<br />

network3<br />

Routing table <strong>for</strong> A Routing table <strong>for</strong> R1 Routing table <strong>for</strong> R2<br />

Destination Route Destination Route Destination Route<br />

network2 R1 network3 R2<br />

network1 R2<br />

network3 R1<br />

Host A<br />

network1<br />

R1<br />

R2<br />

Host B<br />

Host B<br />

Maguire Forwarding 2: 6 of 52<br />

maguire@kth.se <strong>2010</strong>.03.21 Internetworking/Internetteknik<br />

R2<br />

network2<br />

Internet

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!