Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0...
-
Upload
elwin-stewart -
Category
Documents
-
view
216 -
download
0
Transcript of Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0...
![Page 1: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/1.jpg)
Subnetting
129.123.7.55 AND 255.255.255.0= 129.123.7.0
129.123.7.148 AND 255.255.255.0=129.123.7.0
129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0
129.123.25.77 AND 255.255.255.0=129.123.25.0
129.123.7.0 COMPARED (MINUS) TO 129.123.25.0=0.0.18.0
Since there is a non-zero result, the request must be forwarded to the routed via the gateway address.
![Page 2: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/2.jpg)
Subnetting continued
Address range Subnet Mask Gateway
129.123.51.1-62 255.255.255.192 129.123.51.63
129.123.51.65-125 255.255.255.192 129.123.51.126
129.123.51.129-189 255.255.255.192 129.123.51.190
129.123.51.193-253 255.255.255.192 129.123.51.254
129.123.51.50 AND 255.255.255.192 = 129.123.51.0
129.123.51.70 AND 255.255.255.192 = 129.123.51.64
COMARISON: ABS(0 – 64) = 64, go to router (gateway)
![Page 3: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/3.jpg)
Link Layer
• Ethernet
• PPP
• Token rings
![Page 4: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/4.jpg)
Link Layer Terms
• Framing
• Link Access
• Reliable Delivery
• Flow Control
• Error Detection
• Error Correction
• Half and Full Duplex
![Page 5: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/5.jpg)
Ethernet Hardware
• Network Interface Cards• Physical Link
– Twisted Pair• 100 Meter length limit
• Point to Point
– Fiber• Expensive
• Point to Point
• 2000 meter length limit
![Page 6: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/6.jpg)
Error Detection
• Parity Checks (16 bit example)
• Data bits: Parity
• 0111000110101011 1
• One bit even parity
• Can’t tell which bit is wrong
![Page 7: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/7.jpg)
Two dimensional Even Parity
10101 1 10101 1
11110 0 10110 0
01110 1 01110 1
00101 0 00101 0
Parity Ok Parity Error
Forward Error Correction possible
![Page 8: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/8.jpg)
Checksumming (CRC)
D . 2r XOR R D=# of data bits,
r = CRC bits
Polynomial Code
See example on page 429 in book.
![Page 9: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/9.jpg)
Multiple Access methods
• Shared Wire (ethernet)
• Shared Wireless (WiFi, 802.11a/b/g)
• Satellite
• Cocktail party
![Page 10: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/10.jpg)
Multiplexing
• Time division– Each packet has a defined time slot– Requires precise timing
• Frequency division– Each packet has it’s own frequency allocation– Requires large bandwidth for many channels
• CDMA (Code division multiple access)– Assigned codes (wireless techniques, Ch. 6)
![Page 11: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/11.jpg)
CSMA (carrier sense multiple access)
• Listen before speaking
• If someone else begins talking at the same time then stop talking (collision detection).
![Page 12: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/12.jpg)
Packet Traffic
Network Cable
![Page 13: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/13.jpg)
Collisions
Signal 1
Signal 2
0
50
5
0
10
Sum of 1 and 2
Ethernet threshold
![Page 14: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/14.jpg)
MAC (Media access control addressing)
• 12 digit hexadecimal address
• Unique to every system on the LAN
• Usually hard coded into the NIC but can be changed in software
• Broadcast address ff:ff:ff:ff:ff:ff
![Page 15: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/15.jpg)
Address Resolution Protocol (ARP)
• Translates IP addresses to MAC addresses.
• Keeps in subnet traffic inside the subnet.
• Uses timers to clear ARP tables
• arp –a lists arp entries (PC or Unix)
• arp –d deletes an arp entry
![Page 16: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/16.jpg)
DHCP
• Dynamic Host Configuration Protocol
• Configure many machines from one server at boot.
• Multiple servers, uses router helper addresses to discover servers.
• Addresses can be static (same address for every lease period) or Dynamic (different address for each lease period).
![Page 17: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/17.jpg)
DHCP Interchange
![Page 18: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/18.jpg)
Ethernet Cabling Cont.
– Coax (10 MB ethernet only)• obsolete
• inexpensive
• Bus System (party line)
• Thin (185 Meter length limit)– 30 connections/cable, min 18 inches between
• Thick (500 meter length limit)– 200 connections, min 2.5M between
• Transceivers
![Page 19: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/19.jpg)
10baseT/100baseT
• 2 twisted pairs
• Transmit/Receive
• 100 meter/328 foot distance limit
• Uses standard telephone modular plugs
• Category 3 (10mb) vs. Category 5 (100mb)
![Page 20: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/20.jpg)
Twisted Pair Ethernet
• Ethernet uses wires 1 and 2 for one pair and 3 and 6 for the other pair.
• Wires 4 and 5 are used for analog (single pair) telephone
• Ethernet data is transmitted on one pair and received on the other pair in the cable.
![Page 21: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/21.jpg)
RJ45 Connector1 2 3 4 5 6 7 8
Looking from the CABLE end
![Page 22: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/22.jpg)
1
2
3
4
5
7
8
6
White/Orange
Orange/White
White/Green
Green/White
Blue/WhiteWhite/Blue
White/Brown
Brown/White
![Page 23: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/23.jpg)
Ethernet Twist (hub-hub)
W/O
O/W
G/W
W/G
1
2
3
6
1
2
3
6
transmit
receive
transmit
receive
This can be used to connect two pc’s together
![Page 24: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/24.jpg)
Hubs and Repeaters
• Hubs (Star topology)
Twisted Pair
Fiber, Coax, Twisted Pair
Backbone
(Twisted Pair may needa twist!)
![Page 25: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/25.jpg)
Hub Advantages
• Standard Telephone Wiring
• Standard Punch Blocks and Cross Connects
• Ability to disable a single port
• Easier to monitor traffic patterns
• Visible Indication of Link Status
• If a wire is cut only one port is affected – Unless the backbone feed is cut!
![Page 26: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/26.jpg)
10/100 Switch
10BaseT hubs
Telephoneconnections
![Page 27: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/27.jpg)
![Page 28: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/28.jpg)
Coaxial Installation
• Multidrop (Bus topology)
T
T=terminator(50 ohm resistor)
Repeater
Backbone
Other computersTTT
![Page 29: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/29.jpg)
Repeater Rule 10MB
• 3 repeater rule
Repeater
Repeater
Repeater
Repeater
System 1
Sys 2 Sys3
System 1 can talk to Sys 2 but not Sys3
![Page 30: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/30.jpg)
Network Diameter (100MB)
• 205 Meter Limit
Repeater
Repeater
100M
5M
100M
10MB diameter is 500M
![Page 31: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/31.jpg)
Switches and Bridges
Repeater
Repeater
Repeater
RepeaterB
ridge
![Page 32: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/32.jpg)
Bridge Insides
Interface
Interface
Filter based on ethernet address
LAN A LAN B
![Page 33: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/33.jpg)
Switch Insides
A
B
C
D
E
F
G
Switching based onethernet address
![Page 34: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/34.jpg)
100baseT to 10baseTHub/Bridge10baseT 100baseT
10baseT hub
100baseT hub
100baseTto10baseTBridgeModule
![Page 35: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/35.jpg)
10MB Ethernet Rules
• 3 repeater (populated) limit
• 5 repeater per segment limit
• 7 bridges per ethernet lan
• Cable lengths
• 1024 stations per ethernet lan
![Page 36: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/36.jpg)
How to get around limits?Hubs
Switch
ROUTER
Other Lans
To the Internet(switchingbased onIP address)
Firew
all
![Page 37: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/37.jpg)
Ethernet Errors
• Carrier Loss– Link Lights?
• Collisions– What does the collision light indicate?
• Troubleshooting tools– tcpdump, snoop, traceroute, ping
![Page 38: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/38.jpg)
Routed vs. Switched Network
• Routed– IP/IPX Layer Routing
– Subnetted Network
– Broadcast Filtering
– More Expensive
– Complex Configuration
– Better Control
• Switched– Ethernet Layer Routing
– Flat Network
– Broadcasts propagate
– Less Expensive
– Simple Configuration
– Loose Control
– Network Diameter limit
![Page 39: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/39.jpg)
Token Ring
• Special packets called tokens circulate in a ring from computer to computer.– If a free token is detected then a computer will
take control and send it’s data– If a token is destined for a specific computer
that computer takes the token– One one computer at a time can use the token
so no collisions take place.
![Page 40: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/40.jpg)
Token Ring
Mic (Media Interface Connector at eachcomputer)
4 or 16 MB/s
![Page 41: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/41.jpg)
MAU
• Multistation Access Unit
``Ring in Ring out
Computer Ports
![Page 42: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/42.jpg)
PPP Protocol
• Modem Pools
• Multiple Network Layer Protocols
• Multiple types of links
• Error Detection
• Failure detection (liveness)
• Address negotiation
• Simple
![Page 43: Subnetting 129.123.7.55 AND 255.255.255.0= 129.123.7.0 129.123.7.148 AND 255.255.255.0=129.123.7.0 129.123.7.0 COMPARED (MINUS) TO 129.123.7.0= 0.0.0.0.](https://reader036.fdocuments.us/reader036/viewer/2022070417/56649dd25503460f94ac8808/html5/thumbnails/43.jpg)
Link Layer
The EndREMEMBER TEST NEXT WEEK!