由于帐户限制,您无法登录
用个人电脑搭建网站

局域网如何访问外网

妙音 posted @ 2014年5月31日 23:50 in 其它 with tags 网络 , 2243 阅读
通常一台主机拥有外网地址,根据网络协议很容易理解,通信的过程.
 
如果主机拥有的是局域网IP地址,该如何理解?
比如:常见的一种情况,主机地址是192.168.1.100,连接着一个路由器,路由器通过拨号上网(拥有临时外网IP). 这种情况下局域网主机, 如何访问外网主机(比如www.baidu.com), 根据网络协议似乎很难理解两者是如何通信的?
 
答案是: 网络地址转换(NAT),将私有地址转化为合法IP地址。
 
当主机192.168.1.100向外网主机发送数据,在通过个人路由器时,路由器会修改IP报文,将IP和端口替换为它的外网IP和随机分配的端口,并且将修改前后的信息作为映射关系保存起来, 再将IP报文转发出去. 当外网主机返回信息时,先被路由器接收到,路由器再根据发送数据时保存的映射关系,将数据发送给内网主机.
Avatar_small
еврейский сайт 说:
2021年3月09日 19:04

That appears to be excellent however i am still not too sure that I like it. At any rate will look far more into it and decide personally!

Avatar_small
asdasd 说:
2021年5月27日 20:04

Great post full of useful tips! My site is fairly new and I am also having a hard time getting my readers to leave comments. Analytics shows they are coming to the site but I have a feeling “nobody wants to be first”. Europa-Road mélybölcsős szállítás

Avatar_small
asdasd 说:
2021年6月16日 17:00

Interesting post. I Have Been wondering about this issue. so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks Dr Gőz Péter ügyvéd Debrecen

Avatar_small
virus 说:
2022年1月03日 19:37

Great post, you have pointed out some excellent points, I as well believe this is a very superb website. Desa Park City Westside 3

Avatar_small
virus 说:
2022年1月05日 17:04

Super-Duper site! I am Loving it!! Will come back again, Im taking your feed also, Thanks. 안전놀이터추천

Avatar_small
virus 说:
2022年1月10日 21:31

I think this is an informative post and it is very beneficial and knowledgeable. Therefore, I would like to thank you for the endeavors that you have made in writing this article. All the content is absolutely well-researched. Thanks... parking appeal template

Avatar_small
virus 说:
2022年1月12日 16:38

<p>
Wow, cool post. I&#39;d like to write like this too - taking time and real hard work to make a great article... but I put things off too much and never seem to get started. Thanks though. <a href="https://www.yoursynergyteam.com/">business plan consultant</a></p>

Avatar_small
casino365 说:
2022年1月13日 06:28

Are you looking for better information? please visit my site too 바카라배팅사이트

Avatar_small
virus 说:
2022年1月16日 18:02

It is a fantastic post – immense clear and easy to understand. I am also holding out for the sharks too that made me laugh. generic viagra,viagra 100mg

Avatar_small
virus 说:
2022年1月18日 19:59

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. business network cabling

Avatar_small
virus 说:
2022年1月24日 18:10

Nice to be visiting your blog again, it has been months for me. Well this article that i’ve been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. title

Avatar_small
virus 说:
2022年1月27日 18:37

Very efficiently written information. It will be beneficial to anybody who utilizes it, including me. Keep up the good work. For sure i will check out more posts. This site seems to get a good amount of visitors. 유토토

Avatar_small
virus 说:
2022年1月31日 21:57

Thank you for this fascinating post, I am happy I observed this website on Google. Not just content, in fact, the whole site is fantastic. พักยก24

Avatar_small
virus 说:
2022年2月08日 15:54

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me. Mecanismos de protección

Avatar_small
www.rb88.casino 说:
2022年2月16日 21:49

Hello there, I discovered your web site via Google while searching for a related topic, your web site came up, it appears good. I have bookmarked it in my google bookmarks. <a href="https://sa-demo.net/">pg slot</a>

Avatar_small
www.rb88.casino 说:
2022年2月16日 21:50

Hello there, I discovered your web site via Google while searching for a related topic, your web site came up, it appears good. I have bookmarked it in my google bookmarks. [url=https://sa-demo.net/]pg slot[/url]

Avatar_small
. 카지노사이트 说:
2022年2月17日 01:55

I have recently started a blog, the info you provide on this site has helped me greatly. Thanks for all of your time & work. slot online gacor 2022

Avatar_small
virus 说:
2022年2月24日 19:25

It is my first visit to your blog, and I am very impressed with the articles that you serve. Give adequate knowledge for me. Thank you for sharing useful material. I will be back for the more great post. my essay writer

Avatar_small
virus 说:
2022年3月07日 20:23

A very excellent blog post. I am thankful for your blog post. I have found a lot of approaches after visiting your post. fun facts about animals

Avatar_small
virus 说:
2022年3月10日 18:29

Wow, What an Outstanding post. I found this too much informatics. It is what I was seeking for. I would like to recommend you that please keep sharing such type of info.If possible, Thanks. 안전놀이터

Avatar_small
virus 说:
2022年3月12日 20:56

Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!THANKS!!!!!! buy google reviews

Avatar_small
virus 说:
2022年3月23日 17:11

I am glad you take pride in what you write. This makes you stand way out from many other writers that push poorly written content. truck mattress

Avatar_small
COOK 说:
2022年3月23日 18:22

I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. radiounirea.ro

Avatar_small
umair 说:
2022年4月07日 17:38

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. <a href="https://puppiesshops.com/teacup-puppies.html">Teacup puppy for sale near me</a>

Avatar_small
เว็บเดิมพัน 说:
2022年4月27日 07:51

I need to to thank you for this very good read!! I definitely loved every little bit of it. I have you bookmarked to check out new things you post… เทคนิคบาคาร่า

Avatar_small
COOK 说:
2022年4月27日 17:21

Remarkable article, it is particularly useful! I quietly began in this, and I'm becoming more acquainted with it better! Delights, keep doing more and extra impressive! Home Design Institute

Avatar_small
COOK 说:
2022年4月28日 02:01

Hey what a brilliant post I have come across and believe me I have been searching out for this similar kind of post for past a week and hardly came across this. Thank you very much and will look for more postings from you. make money online

Avatar_small
COOK 说:
2022年5月01日 18:16

Fabulous post, you have denoted out some fantastic points, I likewise think this s a very wonderful website. I will visit again for more quality contents and also, recommend this site to all. Thanks. สล็อตเครดิตฟรี

Avatar_small
Betflix 说:
2022年6月03日 01:55

You have done a amazing job with you website Betflix

Avatar_small
Gujarat 10th Questio 说:
2022年6月04日 23:01

Students eagerly looking for the Gujarat Board 10th Model Paper 2023 2023 can Download them now either from the Our website or from the links Provided below. Get the Complete Details about the Gujarat Model Paper 2023 2023 for 10th class here, Gujarat 10th Question Paper 2023 have Mostly Repeated important Questions 2023 asked in Every year. So, Students have an idea about which Questions 2023 will Prepare for the Secondary Standard Examination 2023. So, the Students have Less Time for Exam Preparation. But These Much of time is Enough for Exam Preparation.

Avatar_small
HASEEB 说:
2022年6月27日 20:27

This is very educational content and written well for a change. It's nice to see that some people still understand how to write a quality post.! skywardccisd

Avatar_small
boxing 说:
2022年9月08日 18:58

Interesting and amazing how your post is! It Is Useful and helpful for me That I like it very much, and I am looking forward to Hearing from your next.. ผลบอล 888


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter