Beruflich Dokumente
Kultur Dokumente
Dennis Hagarty
Implementation Practice
29 August 2006
Four Layer model, rather than the (later) OSI seven layer model
Application (Telnet, FTP, SNMP, SMTP, POP3, HTTP, DNS, RTP, SSH)
Transport (TCP, UDP, SCTP, RIP?)
Network (IP, ICMP, STP, RIP?, ARP?)
Data Link (HDLC, FDDI, SLIP, Frame Relay, PPP, Token Ring, Ethernet,
Wi-Fi, ATM, X.25, PPPoE)
TCP, SCTP are reliable, if using UDP, the application layer must
implement the reliability (if it needs or wants it).
IP V4 is the only deployed version up until now (over 20 years!)
Special addresses for broadcast (to all) or multicast (a subset)
A new version with 128 bit address, called IP V6 has been slow
coming, but is required in US Govt machines from 2008
Hubs:
Any packet entering any port is broadcast out on every port
Every packet is constantly being sent out to every port on the hub
Switches:
Moves packets based on MAC address in an Ethernet (or similar) LAN
network (so called “Layer 2”)
Packets received in one port are sent out only to the port connected
to the destination address (or another switch with that address)
“micro-segments” the network and sends packets only where needed
Routing:
Routes packets based on IP address between different subnets (L.3)
Divides a network into various subnets so that only traffic destined for
an IP addresses in another subnet can pass between segments
Switches:
Deliver packets to the MAC addresses in the data link header
Mostly understand nothing about IP – “agnostic” to the
communications protocol they are carrying (can be anything)
Can implement multiple instances of “virtual” switches (VLAN)
Layer 3 switches are routers using switching techniques (for speed)
Can be cascaded together to extend the LAN
Routing:
Delivers packets from one LAN/WAN/subnet to another based on IP
address and its routing tables
Rewrites the MAC address when it goes from one subnet to another
Some addresses are NOT routed eg 10.0.0.0/8 and 192.168.0.0/16
NAT (Network Address Translation) Router
Rewrites the IP address headers
User Datagram Protocol, Src Port: 1090 (1090), Dst Port: domain (53)
Domain Name System (query) Flags: 0x0100 (Standard query)
Questions: 1
Queries
www.breshire.com: type A, class IN
Name: www.breshire.com
Type: A (Host address)
3 192.168.200.x 192.168.100.y 2
192.168.200.1 192.168.100.1
192.168.300.1 192.168.29.11
4 192.168.300.z 192.168.29.1 1
.161 G/W Address for the Router .193 G/W Address for the Router
… 26 Total … 26 Total