How networking works How IP resolving works How takeover works How multicast really works How IP...

21
How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works

description

Ethernet II frame Internet Protocol frame

Transcript of How networking works How IP resolving works How takeover works How multicast really works How IP...

Page 1: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

How networking works

How IP resolving worksHow takeover works

How multicast really works

How IP subnetting works

Page 2: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

Physical

Ethernet

Internet Protocol

UDP/TCP/SCTP

SIP

How networking works

Cables, fibers

MAC addresses

IP addresses

Adds ports

Application logic

Page 3: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

Ethernet II frame Internet Protocol frame

Page 4: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

How IP subnetting works

Page 5: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

How IP subnetting works

Default gateway’s address & Netmask === ALWAYS EQUALS === Source IP & Netmask (otherwise, computer will report Network unreachable)

Source IP: 194.90.71.93Destination IP: 194.90.71.4Netmask: 255.255.255.0 (CIDR /24)Source IP & Netmask = 194.90.71.0Destination IP & Netmask = 194.90.71.0

Source IP & Netmask == Destination IP & Netmask -----> Send directly, without going through default gateway

Source IP: 194.90.71.93Destination IP: 199.203.72.5Netmask: 255.255.255.0 (CIDR /24)

Source IP & Netmask != Destination IP & Netmask -----> Not same subnet, send via default gateway

Page 6: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

How IP resolving works

Page 7: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.
Page 8: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

A user (human) sends a ‘dash’ to 194.90.71.5, which

is on the same subnet

Page 9: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

Source endpoint broadcasts a who_has

request

Page 10: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

Destination returns is_at reply with its MAC address

Page 11: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

When IP address has been resolved, ICMP is

sent directly

Page 12: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

‘arp –a’ displays current arp entries.

Page 13: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

How takeover works

Page 14: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

bax1 bax2

Router

ping

ping

pingpong pong

pong

active

How takeover works

ARP service_ip is_at bax1

Page 15: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

bax1 bax2

Router

ping

ping pong

active

How takeover works

X

Page 16: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

bax1 bax2

Router

ping pong

active

How takeover works

ARP service_ip is_at bax2

Page 17: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

How multicast really works

Page 18: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

How multicast really works

Bit 31

Bit 30

Bit 29

Bit 28

Bit 27

ClassLowest AddressHighest Address

0xxxxClass A0.0.0.0 127.255.255.255

10xxxClass B128.0.0.0 191.255.255.255

110xxClass C192.0.0.0 223.255.255.255

1110xMulticast224.0.0.0 239.255.255.255

11110Reserved240.0.0.0 247.255.255.255

Page 19: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

How multicast really works

D

C

B

A

ReallyBig

Router

Server ‘A’ sends a packet to 224.1.2.3

ISP

ISP

Page 20: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

How multicast really works

D

C

B

A

ReallyBig

Router

Router knows that this is a multicast address, and sends the packet to all of his servers, including the source.

ISP

ISP

Page 21: How networking works How IP resolving works How takeover works How multicast really works How IP subnetting works.

This is the end.

I hope you liked the show.

If there are any corrections, feel free to modify and distribute under the GPL license.

Copyleft © Gil Megidish, 2005