14 - Ch-19-Local-Area-Networking
14 - Ch-19-Local-Area-Networking
Introduction to TCP/IP
- ARPANET formed (basis for Internet)
- TCP/IP adopted as protocol for ARPANET/the Internet
- IP addresses have four octets between 0-255
- Classful address scheme for locations and sublocations
All across the US there are Military Installations and a lot of Universities
1000’s of LAN’s. We wanted to interconnect these LAN’s (late 1970’s/early 80’s)
Each one of these 4 numbers in the IP is called an Octet, and can range from 1-255,
resulting in being able to have about 4 Billion IP Addresses
This IP -
1) Identifies which LAN you’re a part of
2) Gives you a Unique Host ID (unique only to you)
IP Addresses are always no more than 4 Routers away from the Top of the Internet
Major Mistake!
IP Address -
4 Characters 3 dots in between them
from 0-255 Never end in 0 or 255
Sending from 1 computer to another within a LAN will have 3 digits matching in the IP,
which will be recognized and the info will stay & be sent/received within the LAN
If wanting to send from 1 computer to another with 1st, 2nd, or 3rd digit not matching,
we know this is for a different LAN,
so the info is sent to the Router, which acts like a gateway to the internet
(often called a Default Gateway)
This is the reason why we don’t have to ask for a new IP Address
when we enter a new LAN in a coffee shop!
If our DHCP Server goes down, you’d think that we wouldn’t be auto configured with an
IP Address, but this isn’t right because our OS has APIPA
IPv6
Long-hand - 2001:0000:0000:0001:0000:0000:0000:8a2e
Short-hand - 2001:0:0:1:0:0:0:8a2e ← Takes away all leading zero’s
Your Web Browser is a Web Client designed to be used by you, to query these things
called Web Servers, to get Information (the Internet)
Everything on the Internet is a Client, and a Server.
Website is received (along with other websites that are loaded - different Port numbers)
and displays the website with the matching Port Number.
Registered Ports (1024 - 49,151) - Came out after Well Known Ports,
but still people that want their own ports.
Also well known & registered, and we don’t want anyone else
to use these either
ICMP - Single Packet Only (TCP & UDP can be 1000’s of Packets)
Single Packet, like sending out a single ping, and that’s it
When we’re in a system, and IP Addresses & FCS are no longer interesting to us,
most the time we’re just talking about this part of the Packet.
This PDU is called the IP Packet
We can have the full Ethernet Frame, but when talking about the IP part,
this is how we make the separations.
It’s important to know these 3 different PDU’s based on what we’re interested in
DNS (Domain Name System) - acts like a contact list you have in your cell phone,
which allows you to not have to memorize all of your contacts phone numbers
DNS replaced the Hosts File, which would distribute your IP Address
every day to every computer to make the Internet work.
There are DNS Servers spread all around the world, called the Root Servers.
Under this are Servers that control First Level Domains - .com .edu .gov
Under this are Servers that control Second Level Domains - google.com totalsem.com
There might be hundreds of Servers that handle google.com
This DNS Server has a list of all the IP Addresses of all the Root Servers
all around the world!
If the Root Server doesn’t know, it does know where the closest .com Server is
So, the DNS Server asks if the .com Server knows the IP Address for the website
If the .com Server doesn’t know, it’ll redirect the DNS Server to its Authoritative Server
You see this process happening when you go to a website you’ve never been to before.
Look on the bottom left of your web browser when loading a new website,
and you’ll see “Waiting for…”
This is the DNS Process at work!
If you’ve gone to a website before, your computer will keep a copy of that website in
itself (Caching), and your DNS Server will keep a copy as well (for a certain amt of time)
There’s a built-in Routing Table tells the Router where to send stuff
Very Old Router - 2 Connection Router (Ethernet 0/1 and Ethernet 0/0)
Especially in Small Offices, and Home Offices, we combine Routers with other Devices
2 Port Router (WAN FE4) with a 4 Port Switch
Router is wire connected to ISP (Modem) and the other is connected to the computer
If you plug a SOHO Router in the right way, you’ll get the Internet,which sounds great,
but there may be a lot of Security & Configuration issues we need to deal with
Type your Router/Default Gateway Address into a Browser, hit Enter & log in
This web interface will look different for each company
The DHCP will also rename your computer IPv4 Address to 10.11.12.X
This allows you to separate your Voice-Over IP Phones onto their own Network,
without having to buy an extra Switch!
Keep in mind, Switches don’t need IP Addresses -they use MAC Addresses.
We’re going to give this Switch an IP Address,
because it gives us a way to get to the Switch so we can configure it!
This is called a Managed Switch
-comes with additional features, but it’s more expensive
It will get it’s IP Address through DHCP, so connect the Switch to the Router.
Anytime you configure these devices (Switches or Routers), use Internet Explorer!
IE has features that are compatible with these older devices.
You need to assign the Ports on the Switch to each VLAN you create/configure
Port Security -
We can tell the Switch, “whatever computers are plugged into you right now,
memorize those MAC Addresses...” (we are telling the Switch to do this)
“...and, if any other computers try to plug in, other than the ones
with these MAC Addresses, disable/turn off that Port, and/or Notify me!”
There are devices on this switch that are playing that shouldn’t be here!
Ping by IP Address!
Limited Connectivity - some stuff I could get to, and some stuff I can’t.
Intermittent Connectivity - rare in a Wire Network. Problem with the cabling itself,
where it may be too close to a running motor.
Slow Transfer Speeds - more of a Wireless Issue, but can happen in a Wire Network