I'm giving you a number... lecture in color

The game of addressing

Host names

Internet addresses

Anatomy of an IP address:

Ethernet addresses:

Addressing conventions

The basic game

Link layer (ethernet)

Network layer (tcp/ip).

Terminology

Parts of the game

Address translation table (arp table)

ARP protocols:

ARP Algorithm

Seeing ARP at work

Routing

Routing table

Spying on routing

Routing protocols:

Routing concepts:

Reserved addresses:

Problem of the day #1:

Variable-size subnet masks

Static routing:

Dynamic routing:

RIP

RIP Advertisements

Problem of the day #2

Other routing protocols:

Simplified view of OSPF

Making the network function:

Configuring your host: ifconfig

host02{couch}$ /sbin/ifconfig -a

 br0       Link encap:Ethernet  HWaddr 00:02:55:B7:BA:77  
           inet addr:10.10.118.130  Bcast:10.10.118.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:1078256 errors:0 dropped:0 overruns:0 frame:0
           TX packets:777275 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0 
           RX bytes:903082893 (861.2 Mb)  TX bytes:606092994 (578.0 Mb)
 
 eth0      Link encap:Ethernet  HWaddr 00:02:55:B7:BA:77  
           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
           RX packets:1076835 errors:0 dropped:0 overruns:0 frame:0
           TX packets:779597 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100 
           RX bytes:922330612 (879.6 Mb)  TX bytes:609494103 (581.2 Mb)
           Interrupt:7 
 
 eth1      Link encap:Ethernet  HWaddr 00:02:55:B7:BA:78  
           BROADCAST MULTICAST  MTU:1500  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100 
           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
           Interrupt:5 
 
 lo        Link encap:Local Loopback  
           inet addr:127.0.0.1  Mask:255.0.0.0
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:246 errors:0 dropped:0 overruns:0 frame:0
           TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0 
           RX bytes:31484 (30.7 Kb)  TX bytes:31484 (30.7 Kb)
 
 tap0      Link encap:Ethernet  HWaddr 00:FF:AA:4D:48:02  
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:2313 errors:0 dropped:0 overruns:0 frame:0
           TX packets:176122 errors:0 dropped:20781 overruns:0 carrier:0
           collisions:0 txqueuelen:100 
           RX bytes:255306 (249.3 Kb)  TX bytes:13743811 (13.1 Mb)

Testing routing: ICMP

Using ICMP

IP spoofing and DoS

Typical denial of service attack:

Distributed denial of service (smurf)

How spoofing works

A `legal' form of spoofing: masquerading

Masquerading in EECS

 private client darkmatter
   ^ 10.3.*.*/16
   | 
   v 10.3.1.127/16
 EECS router masquerades 10.3.1.*/16 into 130.64.23.201-219/24
   ^ 130.64.23.*    (nat-01.eecs.tufts.edu, 130.64.23.201) 
   | 
   v 130.64.23.127
 EECS router to internet
   ^ 130.64.254.158/30
   | 
   V 130.64.254.157/30
 Tufts backbone
   ^
   | 
   v
 "the internet"

Dynamic or static addressing:

Dynamic addressing

BOOTP:

BOOTP has one drawback:

DHCP: Dynamic Host Configuration Protocol:

Renumbering: threat or menace?

Summary:


lecture in color

/comp/150NET/notes/addr.php
downloaded on Nov-23-2009 03:19:13 PM,
was last modified on Feb-17-2004 10:47:01 PM.

All lecture note content is copyright 2004 by
Alva L. Couch, Computer Science, Tufts University