Splitting A Class C Network Into 4 Subnets
-
Upload
tmavroidis -
Category
Technology
-
view
8.947 -
download
0
description
Transcript of Splitting A Class C Network Into 4 Subnets
![Page 1: Splitting A Class C Network Into 4 Subnets](https://reader036.fdocuments.us/reader036/viewer/2022082808/5554c898b4c90503388b5384/html5/thumbnails/1.jpg)
NAD710 - Introduction to Networks Using Linux
Splitting a class C network into 4 subnets
February 2,2001Professor Tom Mavroidis
![Page 2: Splitting A Class C Network Into 4 Subnets](https://reader036.fdocuments.us/reader036/viewer/2022082808/5554c898b4c90503388b5384/html5/thumbnails/2.jpg)
Things to Remember
• RFC950 - old rules, over 5 years old
• Still used in some netware servers, if unsure about environment adhere to RFC950.
• RFC1812 - new rules, simplifies networking, introduces CIDR (Classless Inter-Domain routing).
• Suse 6.4 supports IPv4.
![Page 3: Splitting A Class C Network Into 4 Subnets](https://reader036.fdocuments.us/reader036/viewer/2022082808/5554c898b4c90503388b5384/html5/thumbnails/3.jpg)
Review-RFC950
• An IP Address is broken up into three parts: the network portion, the subnet portion (optional), and the host portion. The size of the network portion is determined by the first byte of the address:
![Page 4: Splitting A Class C Network Into 4 Subnets](https://reader036.fdocuments.us/reader036/viewer/2022082808/5554c898b4c90503388b5384/html5/thumbnails/4.jpg)
Rules - RFC950
• All hosts on the same subnet must agree on the subnet mask. Otherwise, packets actually intended for another subnet may never leave the existing subnet: a host won't give to the router a packet it thinks is destined for the local segment.
![Page 5: Splitting A Class C Network Into 4 Subnets](https://reader036.fdocuments.us/reader036/viewer/2022082808/5554c898b4c90503388b5384/html5/thumbnails/5.jpg)
Rules - RFC950
• No two different subnets can include the same host address.
• The top and bottom host numbers are reserved; the bottom one is shorthand for the whole subnet, and the top one is the broadcast address.
• The bits in the subnet portion cannot be all ones
![Page 6: Splitting A Class C Network Into 4 Subnets](https://reader036.fdocuments.us/reader036/viewer/2022082808/5554c898b4c90503388b5384/html5/thumbnails/6.jpg)
Valid Subnet
• Network is unique on either side of the Router. 192.168.1 + 192.168.2
![Page 7: Splitting A Class C Network Into 4 Subnets](https://reader036.fdocuments.us/reader036/viewer/2022082808/5554c898b4c90503388b5384/html5/thumbnails/7.jpg)
Invalid Network
• Same Network resides on both sides of Router. 192.168.1
![Page 8: Splitting A Class C Network Into 4 Subnets](https://reader036.fdocuments.us/reader036/viewer/2022082808/5554c898b4c90503388b5384/html5/thumbnails/8.jpg)
192.168.1.1 or 11000000.10101000.00000001.00000001
• Lets break this network down into 4 subnets
• That means we need to borrow 2 bits from the host octet (byte).
• Our default subnet mask is 255.255.255.0 or 11111111.11111111.11111111.00000000
• Borrowing 2 bytes gives us 128 + 64 = 192 or 11111111.11111111.11111111.11000000 or referred to as /26 or in dotted decimal notation
![Page 9: Splitting A Class C Network Into 4 Subnets](https://reader036.fdocuments.us/reader036/viewer/2022082808/5554c898b4c90503388b5384/html5/thumbnails/9.jpg)
List of networks for 192.168.1.1
• The four networks we will get are
![Page 10: Splitting A Class C Network Into 4 Subnets](https://reader036.fdocuments.us/reader036/viewer/2022082808/5554c898b4c90503388b5384/html5/thumbnails/10.jpg)
Network Address Calculation
• Binary and to get the network address 192.168.1.0
![Page 11: Splitting A Class C Network Into 4 Subnets](https://reader036.fdocuments.us/reader036/viewer/2022082808/5554c898b4c90503388b5384/html5/thumbnails/11.jpg)
Host Address
• Invert the subnet and do a binary and again to get the host address 0.0.0.1
![Page 12: Splitting A Class C Network Into 4 Subnets](https://reader036.fdocuments.us/reader036/viewer/2022082808/5554c898b4c90503388b5384/html5/thumbnails/12.jpg)
Broadcast address
• XOR to get the Broadcast address 192.168.1.63