Think
of an IP address like you do a mailing address. It's basically the
exact same thing. Consider this, when you send out a letter, what do
you do? You put that letter in an envelope, write the address, put a
stamp on it, stick in the mailbox and put that red flag up on your
mailbox, right?
Apply this to computers: that letter is data,
the envelope is the TCP/IP header which is actually wrapped around
the packet, just like an envelope. The address would be the IP
address, located on that header. You stick that in your mailbox, or
in the computer world, a buffer, and it gets sent off to the
recipient.
All the traveling that a letter goes through, a
packet goes through. A letter sent through the mail is taken from
your mailbox to your local post office. From there, it's sent to a
state post office distribution center. Then it gets sent to a
regional center. If it's an international letter goes to one of the
national ones. The letter then goes back down this chain until it's
in the recipient's mailbox. At each stop, a decision is made on
whether or not that that particular distribution center should send
it to a higher level, or if it can put that letter in a bin at it's
location which will be sent to the next lower level.
Lets say
I want to send you a letter, we both live in India but in different
cities. I send out the letter, my local post office looks at the
address and determines that it can't deliver the letter to the
recipient so it sends it to the state post office. The state post
office says yes, I can deliver this to the letter bin that belongs to
that city and it'll go out with the next truck. Your city post office
gets the letter and sees the address, says yeah he's in our area so
we can definately send this to him. It gets put on a truck with other
letters for people in your area and the driver puts it in your
mailbox.
Same thing happens with a packet, except there are no
internet truck drivers and it happens a helluva lot quicker. Your
packet gets sent to your ISP who routes it back to a local address if
it can, or sends it to the next higher ISP until it's on the Internet
Backbone. Once there, if the recipient is still in your country,
it'll go to his regional ISP, and so on and so forth until he gets
it.
Why all this talk about regular mail? Again, an IP address
is nothing more, nothing less than an address. What about routers, we
have internal IP addresses! Ahh good question, think of an internal
IP address the same as having a post office box. The post office gets
it and decides to route it to you that way, your physical address
obscured to the sender.
Apply this to computers: that letter is data, the envelope is the TCP/IP header which is actually wrapped around the packet, just like an envelope. The address would be the IP address, located on that header. You stick that in your mailbox, or in the computer world, a buffer, and it gets sent off to the recipient.
All the traveling that a letter goes through, a packet goes through. A letter sent through the mail is taken from your mailbox to your local post office. From there, it's sent to a state post office distribution center. Then it gets sent to a regional center. If it's an international letter goes to one of the national ones. The letter then goes back down this chain until it's in the recipient's mailbox. At each stop, a decision is made on whether or not that that particular distribution center should send it to a higher level, or if it can put that letter in a bin at it's location which will be sent to the next lower level.
Lets say I want to send you a letter, we both live in India but in different cities. I send out the letter, my local post office looks at the address and determines that it can't deliver the letter to the recipient so it sends it to the state post office. The state post office says yes, I can deliver this to the letter bin that belongs to that city and it'll go out with the next truck. Your city post office gets the letter and sees the address, says yeah he's in our area so we can definately send this to him. It gets put on a truck with other letters for people in your area and the driver puts it in your mailbox.
Same thing happens with a packet, except there are no internet truck drivers and it happens a helluva lot quicker. Your packet gets sent to your ISP who routes it back to a local address if it can, or sends it to the next higher ISP until it's on the Internet Backbone. Once there, if the recipient is still in your country, it'll go to his regional ISP, and so on and so forth until he gets it.
Why all this talk about regular mail? Again, an IP address is nothing more, nothing less than an address. What about routers, we have internal IP addresses! Ahh good question, think of an internal IP address the same as having a post office box. The post office gets it and decides to route it to you that way, your physical address obscured to the sender.
No comments:
Post a Comment