電腦網路 101高考 - 高考

By Cara
at 2013-05-26T17:40
at 2013-05-26T17:40
Table of Contents
題目:
假設一個具 NAT 功能的 Router,LAN 端接了三部主機,IP 分別為 192.168.0.1,
192.168.0.2,192.168.0.3,而 Router 的 LAN 端 IP 為 192.168.0.4,
WAN 端的 IP為 126.13.89.67。
現這三部主機分別各有兩個TCP連線到Web Server(IP為128.119.40.86,port 80),
請提供在這NAT translation table 上六個對應的entries。(10分)
解答如下:
連線編號| WAN端位址 | LAN端位址
------------------------------------------------
1-1 | 126.13.89.67:5001 | 192.168.0.1:3345
1-2 | 126.13.89.67:5002 | 192.168.0.1:3146
2-1 | 126.13.89.67:5003 | 192.168.0.2:3345
2-2 | 126.13.89.67:5004 | 192.168.0.2:3447
3-1 | 126.13.89.67:5005 | 192.168.0.3:3346
3-2 | 126.13.89.67:5006 | 192.168.0.3:3350
想請問版上的大家,這些位址是怎麼計算出來的?
尤其是LAN端位址port的部份,感覺像是亂填的?
謝謝各位的解答!
--
假設一個具 NAT 功能的 Router,LAN 端接了三部主機,IP 分別為 192.168.0.1,
192.168.0.2,192.168.0.3,而 Router 的 LAN 端 IP 為 192.168.0.4,
WAN 端的 IP為 126.13.89.67。
現這三部主機分別各有兩個TCP連線到Web Server(IP為128.119.40.86,port 80),
請提供在這NAT translation table 上六個對應的entries。(10分)
解答如下:
連線編號| WAN端位址 | LAN端位址
------------------------------------------------
1-1 | 126.13.89.67:5001 | 192.168.0.1:3345
1-2 | 126.13.89.67:5002 | 192.168.0.1:3146
2-1 | 126.13.89.67:5003 | 192.168.0.2:3345
2-2 | 126.13.89.67:5004 | 192.168.0.2:3447
3-1 | 126.13.89.67:5005 | 192.168.0.3:3346
3-2 | 126.13.89.67:5006 | 192.168.0.3:3350
想請問版上的大家,這些位址是怎麼計算出來的?
尤其是LAN端位址port的部份,感覺像是亂填的?
謝謝各位的解答!
--
Tags:
高考
All Comments

By Emily
at 2013-05-28T08:26
at 2013-05-28T08:26

By Hazel
at 2013-05-31T02:27
at 2013-05-31T02:27
Related Posts
關稅與高考

By Suhail Hany
at 2013-05-26T12:14
at 2013-05-26T12:14
關稅與高考

By Quanna
at 2013-05-26T10:39
at 2013-05-26T10:39
鄭斐勻.鄭祺-心理學

By Charlie
at 2013-05-26T10:13
at 2013-05-26T10:13
98高考 會計-存貨

By Ivy
at 2013-05-25T19:58
at 2013-05-25T19:58
函授/視訊班該選哪個呢?

By Mia
at 2013-05-25T15:50
at 2013-05-25T15:50