SlideShare uma empresa Scribd logo
1 de 5
Baixar para ler offline
7-291-1/5

              Network Address Translation (NAT)
I. NAT outbound (NAT ra)
Mô hình:




– Cho card LAN của PC2 nhận IP tự động từ Modem ADSL, ghi nhận thông tin và đánh IP tĩnh
lại cho card LAN.
– Cho card CROSS: đánh IP tĩnh 10.0.0.2/8
– Cho card NIC của PC1 (PC2): đánh IP tĩnh 10.0.0.3/8 (10.0.0.4/8), default gateway: 10.0.0.2,
DNS: xem thông tin đã ghi trong card LAN.
1. Cấu hình máy PC02 làm NAT Server
- Mở Routing and Remote Access  Right click chuột trên PC02 chọn Configure and
Enable Routing and Remote Access
 trong cửa sổ Welcome to the Routing and Remote Access Server Setpup Wizard,
chọn Next
 trong cửa sổ Configuration chọn ô Custom Configuration  click Next
- Trong cửa sổ Custom Configuration  đánh dấu chọn ô NAT and Basic firewall và ô
LAN routing  Next
 trong cửa sổ Completing the Routing and Remote Access Server Setup Wizard 
click Finish.
Lưu ý: Khi kết thúc quá trình cấu hình hệ thống yêu cầu start Service, chọn Yes.
- Trong cửa sổ Routing and Remote Access, right click chuột trên NAT/Basic Firewall,
chọn New Interface




- Trong cửa sổ New Interface for Network Address Translation (NAT)  chọn card
LAN  OK.
7-291-2/5




- Trong cửa sổ Network Address Translation Properties – Lan Properties  chọn ô
Public interface connected to private network  đánh dấu chọn ô Enable NAT on this
interface  OK.




- Trong cửa sổ Routing and Remote Access  right click chuột trên NAT/Basic
Firewall, chọn New Interface




- Trong cửa sổ New Interface for Network Address Translation (NAT)  chọn card
Cross  OK.




- Trong cửa sổ Network Address Translation Properties – Cross Properties  chọn ô
Private interface connected to private network  OK.
7-291-3/5




- Trong cửa sổ Routing and Remote Access  vào IP Routing  right click chuột trên
Static Routes chọn New Static Route…




 trong cửa sổ Static Route cấu hình như sau:
Interface: LAN
Destination: 0.0.0.0
Network mask: 0.0.0.0
Gateway: 192.168.0.250
Metric: 1
 OK
Lưu ý: Gateway phải cùng net ID với địa chỉ IP card LAN




- Trong cửa sổ Routing and Remote Access  Right click chuột trên PC02 chọn All
Tasks  Restart
2. Kiểm tra:
Máy PC01 Log on Administrator  mở Internet Explorer  truy cập vào địa chỉ
http://www.yahoo.com
Lưu ý: máy PC01 đã truy cập được Internet
                                       KẾT THÚC
7-291-4/5
II. NAT Inbound (NAT vào)
Chuẩn bị:




1. Cấu hình Web Server trên máy PC01
Từ menu Start  Settings  Control Pannel  Add/Remove Programs 
Add/Remove Windows Component  chọn mục Application Server  chọn Detail 
đánh dấu chọn vào ô Internet Information Services (IIS)  OK  Next  Finish.
Lưu ý: trong quá trình cài đặt IIS, chỉ đường dẫn vào thư mục I386 trong dĩa CD Windows
server 2003 khi hệ thống yêu cầu.
- Mở Windows Explore  vào thư mục C:Interpubwwwroot  tạo file Default.htm
có nội dung tùy thích
- Mở Internet Explorer  truy cập vào địa chỉ http://localhost
Lưu ý: kiểm tra đã truy cập được trang web vừa mới tạo.
2. Cấu hình NAT Server trên máy PC02
- Mở Routing and Remote Access  chọn mục NAT/Basic Firewall  Right click chuột
trên LAN chọn Properties  chọn tab Services and Ports  kéo thanh trượt xuống phía
dưới chọn mục Web Server (HTTP)




 trong hộp thoại Edit Service nhập địa chỉ IP của máy PC01 OK
7-291-5/5




- Trong Routing and Remote Access  right click phải trên PC02 chọn All Tasks 
Restart
Kiểm tra:
Máy PC03 Mở Internet Explorer  truy cập vào địa chỉ http://192.168.0.2 (tuỳ theo IP đã
nhận ban đầu)
Lưu ý: máy PC03 đã truy cập thành công vào web site cửa máy PC01
                                        Kết thúc

Mais conteúdo relacionado

Mais procurados

Part 26 routing -www.key4_vip.info
Part 26   routing -www.key4_vip.infoPart 26   routing -www.key4_vip.info
Part 26 routing -www.key4_vip.info
laonap166
 
Part 48 upgrade server 2008 - windows server core - wsc -www.key4_vip.info
Part 48   upgrade server 2008 - windows server core - wsc -www.key4_vip.infoPart 48   upgrade server 2008 - windows server core - wsc -www.key4_vip.info
Part 48 upgrade server 2008 - windows server core - wsc -www.key4_vip.info
laonap166
 
Part 38 isa server - vpn gateway to gateway -www.key4_vip.info
Part 38   isa server - vpn gateway to gateway -www.key4_vip.infoPart 38   isa server - vpn gateway to gateway -www.key4_vip.info
Part 38 isa server - vpn gateway to gateway -www.key4_vip.info
laonap166
 
Part 47 upgrade server 2008 - network load balancing - nlb -www.key4_vip.info
Part 47   upgrade server 2008 - network load balancing - nlb -www.key4_vip.infoPart 47   upgrade server 2008 - network load balancing - nlb -www.key4_vip.info
Part 47 upgrade server 2008 - network load balancing - nlb -www.key4_vip.info
laonap166
 
Vpn : client to site và vpn site to site
Vpn : client to site và vpn site to siteVpn : client to site và vpn site to site
Vpn : client to site và vpn site to site
Khỉ Lùn
 
Cau hinh vpn client 2 site su dung rra
Cau hinh vpn client 2 site su dung rraCau hinh vpn client 2 site su dung rra
Cau hinh vpn client 2 site su dung rra
tranlethuynga
 
4322200 cach-nat-port-tren-mt-s-modem-thong-dng
4322200 cach-nat-port-tren-mt-s-modem-thong-dng4322200 cach-nat-port-tren-mt-s-modem-thong-dng
4322200 cach-nat-port-tren-mt-s-modem-thong-dng
Mlx Le
 
Vpn toàn tập trên công nghệ microsoft
Vpn toàn tập trên công nghệ microsoftVpn toàn tập trên công nghệ microsoft
Vpn toàn tập trên công nghệ microsoft
Hate To Love
 
Postfix Dovecot CentOS 6.5
Postfix Dovecot CentOS 6.5Postfix Dovecot CentOS 6.5
Postfix Dovecot CentOS 6.5
thienma217
 
Chuong 15 lan-internet
Chuong 15 lan-internetChuong 15 lan-internet
Chuong 15 lan-internet
Hate To Love
 

Mais procurados (20)

Triển khai load balancing và failover cho nhiều line adsl bằng kerio winroute
Triển khai load balancing và failover cho nhiều line adsl bằng kerio winrouteTriển khai load balancing và failover cho nhiều line adsl bằng kerio winroute
Triển khai load balancing và failover cho nhiều line adsl bằng kerio winroute
 
Scop full realtime solutions yeucau mohinh_tiendo setup bbb
Scop full realtime solutions yeucau mohinh_tiendo setup bbbScop full realtime solutions yeucau mohinh_tiendo setup bbb
Scop full realtime solutions yeucau mohinh_tiendo setup bbb
 
Part 26 routing -www.key4_vip.info
Part 26   routing -www.key4_vip.infoPart 26   routing -www.key4_vip.info
Part 26 routing -www.key4_vip.info
 
Part 48 upgrade server 2008 - windows server core - wsc -www.key4_vip.info
Part 48   upgrade server 2008 - windows server core - wsc -www.key4_vip.infoPart 48   upgrade server 2008 - windows server core - wsc -www.key4_vip.info
Part 48 upgrade server 2008 - windows server core - wsc -www.key4_vip.info
 
New (1)
New (1)New (1)
New (1)
 
Part 38 isa server - vpn gateway to gateway -www.key4_vip.info
Part 38   isa server - vpn gateway to gateway -www.key4_vip.infoPart 38   isa server - vpn gateway to gateway -www.key4_vip.info
Part 38 isa server - vpn gateway to gateway -www.key4_vip.info
 
1. tai lieu s7 1200
1. tai lieu s7 12001. tai lieu s7 1200
1. tai lieu s7 1200
 
Part 47 upgrade server 2008 - network load balancing - nlb -www.key4_vip.info
Part 47   upgrade server 2008 - network load balancing - nlb -www.key4_vip.infoPart 47   upgrade server 2008 - network load balancing - nlb -www.key4_vip.info
Part 47 upgrade server 2008 - network load balancing - nlb -www.key4_vip.info
 
Vpn : client to site và vpn site to site
Vpn : client to site và vpn site to siteVpn : client to site và vpn site to site
Vpn : client to site và vpn site to site
 
Cau hinh vpn client 2 site su dung rra
Cau hinh vpn client 2 site su dung rraCau hinh vpn client 2 site su dung rra
Cau hinh vpn client 2 site su dung rra
 
de thuc hanh
de thuc hanhde thuc hanh
de thuc hanh
 
4322200 cach-nat-port-tren-mt-s-modem-thong-dng
4322200 cach-nat-port-tren-mt-s-modem-thong-dng4322200 cach-nat-port-tren-mt-s-modem-thong-dng
4322200 cach-nat-port-tren-mt-s-modem-thong-dng
 
Vpn toàn tập trên công nghệ microsoft
Vpn toàn tập trên công nghệ microsoftVpn toàn tập trên công nghệ microsoft
Vpn toàn tập trên công nghệ microsoft
 
Postfix Dovecot CentOS 6.5
Postfix Dovecot CentOS 6.5Postfix Dovecot CentOS 6.5
Postfix Dovecot CentOS 6.5
 
Chia site trên windows server 2008
Chia site trên windows server 2008Chia site trên windows server 2008
Chia site trên windows server 2008
 
Chuong 15 lan-internet
Chuong 15 lan-internetChuong 15 lan-internet
Chuong 15 lan-internet
 
client to site
 client to site client to site
client to site
 
Cấu hình Router cơ bản(Cisco)
Cấu hình Router cơ bản(Cisco)Cấu hình Router cơ bản(Cisco)
Cấu hình Router cơ bản(Cisco)
 
Hướng dẫn cài đặt mail offline mdeamon
Hướng dẫn cài đặt mail offline mdeamonHướng dẫn cài đặt mail offline mdeamon
Hướng dẫn cài đặt mail offline mdeamon
 
Lab 10 web server
Lab 10 web server Lab 10 web server
Lab 10 web server
 

Destaque

Writing Objectives
Writing ObjectivesWriting Objectives
Writing Objectives
Heather Dowd
 
Deberes y derechos aprendiz sena
Deberes y derechos  aprendiz senaDeberes y derechos  aprendiz sena
Deberes y derechos aprendiz sena
sandrac026
 
Longitud, Miren, 3º
Longitud, Miren, 3ºLongitud, Miren, 3º
Longitud, Miren, 3º
sofiasierrap
 
Acuerdo pedagã³gico
Acuerdo pedagã³gicoAcuerdo pedagã³gico
Acuerdo pedagã³gico
cmarbui
 

Destaque (20)

Thao giang
Thao giangThao giang
Thao giang
 
Building Consulting Credibility on LinkedIn
Building Consulting Credibility on LinkedInBuilding Consulting Credibility on LinkedIn
Building Consulting Credibility on LinkedIn
 
DMgmt Info Meeting
DMgmt Info MeetingDMgmt Info Meeting
DMgmt Info Meeting
 
Writing Objectives
Writing ObjectivesWriting Objectives
Writing Objectives
 
Social Media Explained
Social Media ExplainedSocial Media Explained
Social Media Explained
 
Wild West Social Media
Wild West Social MediaWild West Social Media
Wild West Social Media
 
Content Management, Blogging for Business, PR & Social Media Strategies for B...
Content Management, Blogging for Business, PR & Social Media Strategies for B...Content Management, Blogging for Business, PR & Social Media Strategies for B...
Content Management, Blogging for Business, PR & Social Media Strategies for B...
 
A Tour of Google Earth
A Tour of Google EarthA Tour of Google Earth
A Tour of Google Earth
 
Social Networking Presentation For Chamber Of Commerce
Social Networking Presentation For Chamber Of CommerceSocial Networking Presentation For Chamber Of Commerce
Social Networking Presentation For Chamber Of Commerce
 
Digital PR How to Write Press Releases, and Dramatically Improve Your Visibil...
Digital PR How to Write Press Releases, and Dramatically Improve Your Visibil...Digital PR How to Write Press Releases, and Dramatically Improve Your Visibil...
Digital PR How to Write Press Releases, and Dramatically Improve Your Visibil...
 
Research in the VET Sector
Research in the VET SectorResearch in the VET Sector
Research in the VET Sector
 
Writing Objectives
Writing ObjectivesWriting Objectives
Writing Objectives
 
小企业金融业务品牌推广方案 Push(v4.0)
小企业金融业务品牌推广方案 Push(v4.0)小企业金融业务品牌推广方案 Push(v4.0)
小企业金融业务品牌推广方案 Push(v4.0)
 
Resume
ResumeResume
Resume
 
Deberes y derechos aprendiz sena
Deberes y derechos  aprendiz senaDeberes y derechos  aprendiz sena
Deberes y derechos aprendiz sena
 
Patronos llorar ropa opcional de estado de Nueva Orleans club despues de la v...
Patronos llorar ropa opcional de estado de Nueva Orleans club despues de la v...Patronos llorar ropa opcional de estado de Nueva Orleans club despues de la v...
Patronos llorar ropa opcional de estado de Nueva Orleans club despues de la v...
 
Longitud, Miren, 3º
Longitud, Miren, 3ºLongitud, Miren, 3º
Longitud, Miren, 3º
 
Portifolio2015
Portifolio2015Portifolio2015
Portifolio2015
 
la informática
la informática la informática
la informática
 
Acuerdo pedagã³gico
Acuerdo pedagã³gicoAcuerdo pedagã³gico
Acuerdo pedagã³gico
 

Semelhante a Network address translatio

Báo cáo thưc tập tuần 1
Báo cáo thưc tập tuần 1Báo cáo thưc tập tuần 1
Báo cáo thưc tập tuần 1
td1021
 
Cau hinh dsl 526 b
Cau hinh dsl 526 bCau hinh dsl 526 b
Cau hinh dsl 526 b
huyhoang1188
 
Part 38 isa server - vpn client to gateway -www.key4_vip.info
Part 38   isa server - vpn client to gateway -www.key4_vip.infoPart 38   isa server - vpn client to gateway -www.key4_vip.info
Part 38 isa server - vpn client to gateway -www.key4_vip.info
laonap166
 
Part 38 isa server - installation -www.key4_vip.info
Part 38   isa server - installation -www.key4_vip.infoPart 38   isa server - installation -www.key4_vip.info
Part 38 isa server - installation -www.key4_vip.info
laonap166
 
Part 38 isa server - server publishing - configuration -www.key4_vip.info
Part 38   isa server - server publishing - configuration -www.key4_vip.infoPart 38   isa server - server publishing - configuration -www.key4_vip.info
Part 38 isa server - server publishing - configuration -www.key4_vip.info
laonap166
 
Bai thuc hanh 1 4
Bai thuc hanh 1 4Bai thuc hanh 1 4
Bai thuc hanh 1 4
Gió Lạnh
 
Part 31 internet information service - iis -www.key4_vip.info
Part 31   internet information service - iis -www.key4_vip.infoPart 31   internet information service - iis -www.key4_vip.info
Part 31 internet information service - iis -www.key4_vip.info
laonap166
 
Báo cáo thực tập (hàng tuần)
Báo cáo thực tập (hàng tuần)Báo cáo thực tập (hàng tuần)
Báo cáo thực tập (hàng tuần)
Ly1473
 
Part 30 network address translation - nat -www.key4_vip.info
Part 30   network address translation - nat -www.key4_vip.infoPart 30   network address translation - nat -www.key4_vip.info
Part 30 network address translation - nat -www.key4_vip.info
laonap166
 

Semelhante a Network address translatio (20)

Báo cáo thưc tập tuần 1
Báo cáo thưc tập tuần 1Báo cáo thưc tập tuần 1
Báo cáo thưc tập tuần 1
 
vpn and nat
vpn and  natvpn and  nat
vpn and nat
 
Mô hình demo giữa cisco router
Mô hình demo giữa cisco routerMô hình demo giữa cisco router
Mô hình demo giữa cisco router
 
Cau hinh dsl 526 b
Cau hinh dsl 526 bCau hinh dsl 526 b
Cau hinh dsl 526 b
 
Part 38 isa server - vpn client to gateway -www.key4_vip.info
Part 38   isa server - vpn client to gateway -www.key4_vip.infoPart 38   isa server - vpn client to gateway -www.key4_vip.info
Part 38 isa server - vpn client to gateway -www.key4_vip.info
 
Part 38 isa server - installation -www.key4_vip.info
Part 38   isa server - installation -www.key4_vip.infoPart 38   isa server - installation -www.key4_vip.info
Part 38 isa server - installation -www.key4_vip.info
 
Part 38 isa server - server publishing - configuration -www.key4_vip.info
Part 38   isa server - server publishing - configuration -www.key4_vip.infoPart 38   isa server - server publishing - configuration -www.key4_vip.info
Part 38 isa server - server publishing - configuration -www.key4_vip.info
 
Bai thuc hanh 1 4
Bai thuc hanh 1 4Bai thuc hanh 1 4
Bai thuc hanh 1 4
 
1. Tai lieu S7-1200.pdf
1. Tai lieu S7-1200.pdf1. Tai lieu S7-1200.pdf
1. Tai lieu S7-1200.pdf
 
Tai lieu S7-1200.pdf
Tai lieu S7-1200.pdfTai lieu S7-1200.pdf
Tai lieu S7-1200.pdf
 
Ip workgroup
Ip workgroupIp workgroup
Ip workgroup
 
Hướng dẫn cài đặt và cấu hình cacti trên cent os
Hướng dẫn cài đặt và cấu hình cacti trên cent osHướng dẫn cài đặt và cấu hình cacti trên cent os
Hướng dẫn cài đặt và cấu hình cacti trên cent os
 
Part 31 internet information service - iis -www.key4_vip.info
Part 31   internet information service - iis -www.key4_vip.infoPart 31   internet information service - iis -www.key4_vip.info
Part 31 internet information service - iis -www.key4_vip.info
 
15 routing và remote access services
15 routing và remote access services15 routing và remote access services
15 routing và remote access services
 
Hd nhanh cau hinh ip 20 g-1+0_itc-mbf
Hd nhanh cau hinh ip 20 g-1+0_itc-mbfHd nhanh cau hinh ip 20 g-1+0_itc-mbf
Hd nhanh cau hinh ip 20 g-1+0_itc-mbf
 
Báo cáo thực tập (hàng tuần)
Báo cáo thực tập (hàng tuần)Báo cáo thực tập (hàng tuần)
Báo cáo thực tập (hàng tuần)
 
Part 30 network address translation - nat -www.key4_vip.info
Part 30   network address translation - nat -www.key4_vip.infoPart 30   network address translation - nat -www.key4_vip.info
Part 30 network address translation - nat -www.key4_vip.info
 
Đồ Án Tốt Nghiệp Về Sử Dụng Các Lớp Rtp Api Xây Dựng Chương Trình Truyền Vide...
Đồ Án Tốt Nghiệp Về Sử Dụng Các Lớp Rtp Api Xây Dựng Chương Trình Truyền Vide...Đồ Án Tốt Nghiệp Về Sử Dụng Các Lớp Rtp Api Xây Dựng Chương Trình Truyền Vide...
Đồ Án Tốt Nghiệp Về Sử Dụng Các Lớp Rtp Api Xây Dựng Chương Trình Truyền Vide...
 
Vpn site to site giữa asa và draytek
Vpn site to site giữa asa và draytekVpn site to site giữa asa và draytek
Vpn site to site giữa asa và draytek
 
Lập trình PLC S7 1200 tiếng Việt-Chuong 3 cấu hình thiết bị
Lập trình PLC S7 1200 tiếng Việt-Chuong 3 cấu hình thiết bịLập trình PLC S7 1200 tiếng Việt-Chuong 3 cấu hình thiết bị
Lập trình PLC S7 1200 tiếng Việt-Chuong 3 cấu hình thiết bị
 

Network address translatio

  • 1. 7-291-1/5 Network Address Translation (NAT) I. NAT outbound (NAT ra) Mô hình: – Cho card LAN của PC2 nhận IP tự động từ Modem ADSL, ghi nhận thông tin và đánh IP tĩnh lại cho card LAN. – Cho card CROSS: đánh IP tĩnh 10.0.0.2/8 – Cho card NIC của PC1 (PC2): đánh IP tĩnh 10.0.0.3/8 (10.0.0.4/8), default gateway: 10.0.0.2, DNS: xem thông tin đã ghi trong card LAN. 1. Cấu hình máy PC02 làm NAT Server - Mở Routing and Remote Access  Right click chuột trên PC02 chọn Configure and Enable Routing and Remote Access  trong cửa sổ Welcome to the Routing and Remote Access Server Setpup Wizard, chọn Next  trong cửa sổ Configuration chọn ô Custom Configuration  click Next - Trong cửa sổ Custom Configuration  đánh dấu chọn ô NAT and Basic firewall và ô LAN routing  Next  trong cửa sổ Completing the Routing and Remote Access Server Setup Wizard  click Finish. Lưu ý: Khi kết thúc quá trình cấu hình hệ thống yêu cầu start Service, chọn Yes. - Trong cửa sổ Routing and Remote Access, right click chuột trên NAT/Basic Firewall, chọn New Interface - Trong cửa sổ New Interface for Network Address Translation (NAT)  chọn card LAN  OK.
  • 2. 7-291-2/5 - Trong cửa sổ Network Address Translation Properties – Lan Properties  chọn ô Public interface connected to private network  đánh dấu chọn ô Enable NAT on this interface  OK. - Trong cửa sổ Routing and Remote Access  right click chuột trên NAT/Basic Firewall, chọn New Interface - Trong cửa sổ New Interface for Network Address Translation (NAT)  chọn card Cross  OK. - Trong cửa sổ Network Address Translation Properties – Cross Properties  chọn ô Private interface connected to private network  OK.
  • 3. 7-291-3/5 - Trong cửa sổ Routing and Remote Access  vào IP Routing  right click chuột trên Static Routes chọn New Static Route…  trong cửa sổ Static Route cấu hình như sau: Interface: LAN Destination: 0.0.0.0 Network mask: 0.0.0.0 Gateway: 192.168.0.250 Metric: 1  OK Lưu ý: Gateway phải cùng net ID với địa chỉ IP card LAN - Trong cửa sổ Routing and Remote Access  Right click chuột trên PC02 chọn All Tasks  Restart 2. Kiểm tra: Máy PC01 Log on Administrator  mở Internet Explorer  truy cập vào địa chỉ http://www.yahoo.com Lưu ý: máy PC01 đã truy cập được Internet KẾT THÚC
  • 4. 7-291-4/5 II. NAT Inbound (NAT vào) Chuẩn bị: 1. Cấu hình Web Server trên máy PC01 Từ menu Start  Settings  Control Pannel  Add/Remove Programs  Add/Remove Windows Component  chọn mục Application Server  chọn Detail  đánh dấu chọn vào ô Internet Information Services (IIS)  OK  Next  Finish. Lưu ý: trong quá trình cài đặt IIS, chỉ đường dẫn vào thư mục I386 trong dĩa CD Windows server 2003 khi hệ thống yêu cầu. - Mở Windows Explore  vào thư mục C:Interpubwwwroot  tạo file Default.htm có nội dung tùy thích - Mở Internet Explorer  truy cập vào địa chỉ http://localhost Lưu ý: kiểm tra đã truy cập được trang web vừa mới tạo. 2. Cấu hình NAT Server trên máy PC02 - Mở Routing and Remote Access  chọn mục NAT/Basic Firewall  Right click chuột trên LAN chọn Properties  chọn tab Services and Ports  kéo thanh trượt xuống phía dưới chọn mục Web Server (HTTP)  trong hộp thoại Edit Service nhập địa chỉ IP của máy PC01 OK
  • 5. 7-291-5/5 - Trong Routing and Remote Access  right click phải trên PC02 chọn All Tasks  Restart Kiểm tra: Máy PC03 Mở Internet Explorer  truy cập vào địa chỉ http://192.168.0.2 (tuỳ theo IP đã nhận ban đầu) Lưu ý: máy PC03 đã truy cập thành công vào web site cửa máy PC01 Kết thúc