TCP/IP Protocol .
Divide and win. That is the philosophy of the internet. If you need to send some information from one place in the world to another one far away, what is the best way?
If you send all information along just one path, what will happen if a part goes missing? We’ll have to start again…
We can solve the problem using the TCP/IP protocol or (Transmission Control Protocol/Internet Protocol).
If you are at home in front of your computer, that computer is called a client. Then you start the browser ( a client program ) and request some information, for example, your favourite sports webpage that is located on a remote computer ( a server ), so we have a client-server interaction. So, the browser searches for the remote computer on the internet and passes the request to the server (located maybe in the UK, USA or in another country ). The server then checks up your request and tries to locate the HTML file on its hard disk. On finding it, the server sends this file to your computer. To make this possible, it is necessary to “speak the same language”, that is the TCP/IP. Server can be located thousands of miles from your workplace. TCP/IP are used to transfer files or data from one computer to the other. Typically, the client is your browser (firefox, opera, explore ) and the server is a program running on a remote computer.
The computer that holds the client program is called the client machine and the computer that holds the serve program is called the server machine
A program without TCP/IP program can communicate with other computers, so it is not possible surfing on the internet.
-> Let’s think again about the first phrase ( divide and win ) and let’s make a comparison with a puzzle. If I have a 10000 piece puzzle and I want to send it to Tokyo, my TCP friend will pack it all up in several envelopes, so I will probably need about 325 stamps. Now my friend IP will carry all of them and will visit some transport agencies such as UPS, SEUR, the post-office, etc. Every firm has its own routes so every envelope will take a different path from my house to Tokyo. カルロス ( my friend in Tokyo) has another IP friend who will pick up all the envelopes, then give them to its Japanese friend TCP who will do the puzzle so カルロス can see the puzzle.
- • TCP/IP is a two-layer program. TCP (the higher layer) , manages the arranging of a file into smaller packets ( pieces of the puzzle) that are transmitted over the net and received by a TCP layer ( in the server) that reassembles the packets into the primary file. The lower layer, IP, handles the address part of each packet ( transport agencies ) so that it gets to the right destination. Each gateway computer ( situated all round the network) checks this address to see where to forward the file ( a message, photo, video, mp3, etc ) to. Even though some packets from the same file are routed a different way to other packets, they will be reassembled at the destination ( the server computer ).
- • Oh, I forgot to mention something. I have a postal address in Villanueva and my friend in Japan has a postal address in Tokyo, so we are identified in the postal network. As in the comparison, every machine on the Internet¬ has a unique identifying number. It is called Ip or Logical address and looks like this:126.96.36.199
• IP-> protocol is not the same as ip->address
• We all know that machines work with 0 and 1 ( Do you remember the MATRIX ?). So ip is in binary code:
• 188.8.131.52 == 11010111.00111000.00110111.10011010
• If you add all the positions together, you get 32, which is why IP is considered a 32-bit number. Uauuu, it means that it if calculate the value of 232 it equals 4294967296 values. More than 4 billion (eso no entiendo nada.
• A bit more about Ip. Do you think 4.3 billion IPs are enough?
• If you add together all machines connected to the internet, users, websites, fax, control systems, telecommunication systems, wifi mobiles, etc probably, 4.3 billion is not much, but trying to work it out this way is a mistake.
• Our Secondary School has about 300 computers but not 300 Ip. If a pupil surfs on the internet, his request is sent to the modem-router which changes that IP for another External IP. Then, once the modem receives the information, it changes the external Ip for an internal IP and the information is sent to the pupil.
Saving money on telephone calls.- VoIP
• VoIP or Voice over Internet Protocol phones work by sending data via the Internet in tiny binary packets. It works like this:
1 Your voice signal, which is analogue, is converted in an IP Phone from analogue into digital data. You can also use your PC, a special software and a microphone which substitutes a telephone.
2 The sending computer ( your VoIP software ) compresses the digital data, much like MP4 files.
3 The data ( your voice ) is divided into packets of about 30 milliseconds long.
4 All packets are sent to a modem-router which decides the best way through the Internet for each packet. They will travel by many different paths ( some will go to Africa, others to Finland, etc ) and consequently, they will arrive at different times. Some of them may even be lost. Because the packets are so small ( 30 milliseconds ), you won’t hear the difference if some are lost.
5 The receiving computer uses another VoIP software to put them in the right order.
6 The data is converted back from digital to analogue ( voice ) and played through your standard phone ( the phone you have at home ), PC headphones or IP phone.
• Companies such as JustVoIP allow you to telephone to the UK absolutely free or send SMS for 5 cents. ( 2009 rates )
Every computer has its own IP address and a website is held by a computer, so if you want to visit www.petervaldivia.com you should know the IP and type it into the browser bar, that is 184.108.40.206.
– How to know the IP-> Go to cmd and write ping and then the domain name-
It is really difficult to remember that number rather than petervaldivia . DNS server will sort it out.
Say you type www.petervaldivia.com into your browser’s address bar and hit return. Your computer will connect to your DNS server and it just returns the IP for petervaldivia.
Gateway. A gateway is a network point that acts as an entrance to another network.