Professional Documents
Culture Documents
When source & destination are on the same type of network but there is a different network inbetween, tunneling is used.
2/8/2013
2/8/2013
Internetwork Routing
2 B 3
Gateway
D 1 C
Network
4 F 5
An Internetwork
2/8/2013
2/8/2013
Fragmentation
Various causes for each network to imposes MAXSIZE on its packets Hardware Operating system Protocols Compliance with some (inter)national Standard Desire to reduce error induced retransmissions to some level. Desire to prevent one packet from occupying the channel too long.
5
1. 2. 3. 4. 5.
6.
2/8/2013
Need of Fragmentation?
When a large packet wants to travel through a network whose MAXSIZE is too small.
Fragmentation.
The Gateways are allowed to break-up the packets into fragments, sending each packet as a separate internet packet.
2/8/2013 6
Transparent Fragmentation
2/8/2013
Transparent Fragmentation
Network 1 Packet
G1 G2
Network 2
G3
G4
G4 reassembles again
2/8/2013
2.
3.
Exit gateway must know when it has received all the fragmented packets. Performance loss, because all packets must exit via the same gateway. Overhead required to repeatedly reassemble & refragment large packet.
2/8/2013
Packet
G1 G2 G3 G4
The fragments are not reassembled until the final destination is reached.
2/8/2013
10
Increases overhead.
2/8/2013
11
Numbering Fragments
Tree
2/8/2013
12
0.0
0.1
0.2
0.3
0.0.0
0.0.1
0.1.0
0.1.1
0.2.0
0.2.1
0.3.0
0.3.1
2/8/2013
13
1 byte
H I J
a)
Header
27 0 0 A B C D E F G H 27 8 1 I J
Header
b)
Header
A B C D E 27 5 0 F G H 27 8 1 I J
27
c)
Header Header
Header
a) Fragmentation when elementary data size is 1 byte, b) Max packet size is 8 bytes c) Packet size is 5 bytes.
2/8/2013 14
Firewalls
2/8/2013
15
A Firewall Consisting of two Packet filtering routers & an Application Gateway Packet Filtering Router Application Gateway
Inside LAN
2/8/2013
Outside LAN
16