Hello and welcome back. Dicey Anyone interconnecting Cisco networking devices Part one.
This is absurd. 152 Transmission control Protocol or TCP.
I am dreading Dara one. I'll be your instructor for this course. In the last video, we just went over the 1.5 less an overview some pre assessment questions.
In this episode we'll be covering the transmission control protocol or the connection oriented protocol. So common TCP applications how it does air recovery in connection establishment and termination
in the learning objectives. We're gonna be going over multiplexing using ports, common TCP applications, the connection establishment and termination,
a recovery and a bit about window in.
It was called a quick pre assessment question here. What TC port does Http use Give it a few seconds to positive video.
All right, Hopefully you got the port 80
Port 20 ones. FTP port 25 SMTP
It's a little bit of multiplexing here. The well known ports that it is defined through one truth 1024.
So the destination port is actually gonna be a well known port
and a sore sport is gonna be a random on nusport.
So if we look at one of these connections down in the bottom right here, the far left I p address,
with the random port, and then you'll see the destination with the port 80. So it's an http
So socket is three things. It is an I p address the transport protocol in a port numbers. So if we look at their we see TCP have I p address, and then we have a port number
So if you guys are curious is command down to the bottom, right is actually net stat space minus a nbp space TCP
but you to run the minus B parameter, you actually had to be running in as an admin. So fear those credentials. Otherwise, you can just run A and B p space TCP
So let's say we have a PC here
who is connecting to
And let's say lastly,
it's just gonna do a T FTP server,
which so these two will actually be TCP,
and this last one will be beautifui
and this will be 80.
So the biggest thing is all these connections going back and forth, How does the computer can't differentiate Those
is gonna be with these unused port numbers down here.
Right? Because if you have multiple open their tabs open it was, say, an Internet explorer and chrome or fire Fox.
And they're all coming into port 80
is not gonna know which tab to put that information in.
So uses these sockets to actually determine where it needs to go.
All right, so it's uncommon. TCP applications that we're gonna be using here is Port 2021 is gonna be FT. Peak in data and control 22 is sshh. Welch will use quite a bit
23 attendant will use it a little bit. Kind of go over it, but it shouldn't be used very often. He should be tried to be a void. Exit sends everything over clear Text
SMTP is poor 25 which is a simple male transfer protocol.
Port 53 is D N s. This one is actually TCP and UDP depending on what it does.
So you d p is just your normal and it's look up style thing. The zone trance for zone transfers for servers is on TCP
and again. Port 80 is http. 1 10 is pop three year post office protocol
1 61 is the simple network Management Protocol for 43 is https or SSL,
and 514 is the CIS log. So the four that you're gonna be want to be really familiar for this course is sshh,
Telnet, SMTP and Cece Log.
All right, So the way that
TCP establishes connections here was drawn up on top right there. We have here
and that the PC is gonna initially sent to the servants say, Hey, let's synchronize.
And then the server's gonna send back the synchronized acknowledgement flag in the TCP header.
If only the PC sends back to Acknowledgments And okay, so it's usually considered the three way handshake,
So TCP connection, it connected. Termination,
So PC one for sons. The acknowledgment. I want to be finished. Field pc two cents. Okay, I received your finished flag.
Here is my finish leg and then PC one will send back the final one, which is the acknowledgment that you receive the finished flag.
reliability in their recovery, the way that's uses, what sequence of acknowledgement numbers
All right, so if we have PC one here
and pc to over here,
he's gonna send a sequence number of 1000
sequence and the PC to says, Okay, I received that.
And he sends back sequence 2000
and so on and so forth until I've done communicating.
So their recovery. There's a few different versions here, but the one working recovering is me with a little bit with the transmission timer.
But also it's gonna use windowing a little bit. So
PC. Let's say he has
the sequence of 1000
and 3000. See the Windows 3000 lights here.
so. Let's say over 2000 here gets knocked out its loss in transmission.
All right, so that server is going to come back and say, Hey,
This is okay. And here is the sequence 2000 again.
This is cool. Okay, Now I am ready for a bit 4000 because I already have 3000 here,
so I can realize that it actually already has that
That's a little bit about window in here. So that was going a little bit about what we saw earlier, where it was able to spend send 3000 bites before the was wait before I would wait for an acknowledgment from the server
so it could actually send instead of going one back, back and forth, you know, 1000 bites here to acknowledgement, with 1000 miles to a sequence of 1000 bites
back in acknowledgement, he can actually say, Okay, the server can say, OK, you have a window of 3000 so it sends 3000 bison
and the piece of white, intelligent or season acknowledgment of those
until it opens up a window.
Now they don't want to sit there, wait so usually the window to serve Well, actually, you say,
Senator, acknowledgment before the windows actually full. That way they can continue to send trend that or transmit data consistently.
So let's say the computers, you know, it has more speed. Now there's less going on. It's it can increase the window to 4000 bites, so you know it can wait until 4000 bites or Senate before it sends an acknowledgement.
That's what's called a sliding window.
So what? This is it's kind of a way for the allows the host to tell the sender
how much Dad I could send without waiting for an acknowledgement.
All right, so the post assessment here what three flags air used in the TCP connection establishment.
Excuse me? Which two flags are used?
All right, you got me soon and at Because, remember is the three way handshake. It is the sin,
And in the next episode, we're gonna be going over the user data Can Portico or UDP.
And as always, if you guys have questions, you need help or you have some
funny photos for me going to shoot me a message. Otherwise,
thank you for watching this course, and I look forward to teaching for the rest of it.