Diagnostics
Cisco four step solutuon
Ping loopback address 127.0.0.1
Success: NIC AIO
Failure: NIC faulty
Ping Host IP
Success: TCP stack initialised
Failure: TCP stack faulty
Ping gateway
Success: connected to network
Failure: Physical problem from NIC to router
Ping remote device
Success: Remote Network AIO
Failure: remote server problem
Subnetting
Basics
Take on large network and segment into smaller networks
Benefits
Reduced Network Traffic
Optimised network performance
Siplified management
Easily span large distances
Subentting technique
Determine number of required Network ID's
One for each subnet
One for each WAN connection
Determine amount of hosts/subenett
One for each TCP/IP host
One for each router interface
Based on above create:
one sumnet mask for your entire network
a unique subnet ID for each physical segment
A range of host ID's for each segment
How to subnet
2^X= # subnets. X= masked bits (1's)
2^y-2= #Hosts/subnet. y=unmasked bits (o's)
256-subnet mask=block size
Broadcast address=number before next subnet
valid host range=numbers inbetween network and b'cast
Masks
Class A mask
255.0.0.0
Class B mask
255.255.0.0
Class C mask
255.255.255.0
CIDR
used instead of decimal notation
used as slash notation after IP address
EG: 192.168.0.0/28
CIDR Table
CIDR Table
255.0.0.0
255.128.0.0
255.192.0.0
255.224.0.0
255.240.0.0
255.248.0.0
255.252.0.0
255.254.0.0
255.255.0.0
255.255.128.0
255.255.192.0
255.255.224.0
255.255.240.0
255.255.248.0
255.255.252.0
55.255.254.0.
255.255.255.0
255.255.255.128
255.255.255.192
255.255.255.224
255.255.255.240
255.255.255.248
255.255.255.252
/8
/9
/10
/11
/12
/13
/14
/15
/16
/17
/18
/19
/20
/21
/22
/23
/24
/25
/26
/27
/28
/29
/30
1
128
64
32
16
8
4
2
1
128
64
32
16
8
4
2
1
128
64
32
16
8
4
Subnet in your head
work out block size (256-mask)
EG: 192.168.0.24/26
256-192=64
Count up networks
0, 64, 128...
determine broadcast address
broadcast of 0=63
Summarisation
AKA route Aggregation or Supernetting
Used to keep smaller Routing tables
Supernet as follows
How many addresses in range?
EG: 192.168.0.0-192.168.3.0 range 4
What power of 2 gives our range?
2^2=4
Subtract answer from 2 from default mask of address range
/24-2=/22
add this to first address in range
192.168.0.0/22
Troubleshooting
Ping NIC 127.0.0.1
Tracert
tracks path of packet through network
Cisco equivalent: Traceroute or Trace
ipconfig/all
PC network configuration
arp -a
Lists IP to MAC resolution
Cisco Equivalent: show ip arp
Check IP address allocation is correct
VLSM's
used to make subnets of different sizes
Classful routing protocols
RIP
IGRP
Inefficient
Classless routing protocols
RIPv2
EIGRP
OSPF
Efficient
Use block sizes to work out hosts to implement