PDA

View Full Version : cấu hình win2k3 làm router ???



technical
09-04-2007, 08:01 PM
mình muốn cấu hình win2k3 thành router:
LAN 1 : 192.168.1.0/24
LAN 2 : 10.0.0.0/8
Card mạng 1: 192.168.1.1
Card mạng 2: 10.0.0.1
Các bước cấu hình như sau:
Windows Server 2003 can do much more than just file sharing and Web site hosting. Using the Routing And Remote Access Services (RRAS) component, you can configure your Windows Server 2003 system to act as a router. For this to work, you need to have multiple network adapters on different subnets.

To set this up, follow these steps:

1. Start RRAS by going to Start | All Programs | Administrative Tools | Routing And Remote Access.
2. Locate the server in the left-hand pane, and right-click it.
3. Select Configure And Enable Routing And Remote Access from the shortcut menu. This launches a wizard.
4. On the first step of the wizard, select Custom Configuration, and click Next.
5. On the Custom Configuration page in the wizard, select the LAN Routing option.
6. Click Next, and click Finish.

In the RRAS window, right-click the server, and select Properties. On the General tab, you'll see the Enable This Computer As A Router option selected, along with the Perform LAN Routing Only option. On the IP tab, you'll see the Enable IP Routing option selected.
- Khi thực hiện ping từ máy LAN1 sang LAN2 thì not OK
- ping từ host 2 mạng vào 2 dịa chỉ trên win2k3 đều OK
Bạn nào có thể cho vài ý kiến về lỗi routing này được không ??? tại các host tại mỗi net việc đặt defaul gateway như thế nào ?? mình đã test đặt ip of card mạng trên win2k3 vẫn fail.

nguyennp
10-04-2007, 11:13 AM
mình muốn cấu hình win2k3 thành router:
LAN 1 : 192.168.1.0/24
LAN 2 : 10.0.0.0/8
Card mạng 1: 192.168.1.1
Card mạng 2: 10.0.0.1
Các bước cấu hình như sau:
Windows Server 2003 can do much more than just file sharing and Web site hosting. Using the Routing And Remote Access Services (RRAS) component, you can configure your Windows Server 2003 system to act as a router. For this to work, you need to have multiple network adapters on different subnets.

To set this up, follow these steps:

1. Start RRAS by going to Start | All Programs | Administrative Tools | Routing And Remote Access.
2. Locate the server in the left-hand pane, and right-click it.
3. Select Configure And Enable Routing And Remote Access from the shortcut menu. This launches a wizard.
4. On the first step of the wizard, select Custom Configuration, and click Next.
5. On the Custom Configuration page in the wizard, select the LAN Routing option.
6. Click Next, and click Finish.

In the RRAS window, right-click the server, and select Properties. On the General tab, you'll see the Enable This Computer As A Router option selected, along with the Perform LAN Routing Only option. On the IP tab, you'll see the Enable IP Routing option selected.
- Khi thực hiện ping từ máy LAN1 sang LAN2 thì not OK
- ping từ host 2 mạng vào 2 dịa chỉ trên win2k3 đều OK
Bạn nào có thể cho vài ý kiến về lỗi routing này được không ??? tại các host tại mỗi net việc đặt defaul gateway như thế nào ?? mình đã test đặt ip of card mạng trên win2k3 vẫn fail.

Mạng 192.168.1.0/24 --> đặt DG là 192.168.1.1
Mạng 10.0.0.0/8 --> đặt DG là 10.0.0.1
Failed mà báo là Destination unreachable hay Request time out ?
Nếu là Destination unreachable thì là do cấu hình Routing chưa đúng.
Nếu là Request time out thì bạn check lại Firewall ở 2 bên.

technical
10-04-2007, 10:28 PM
Mình ping thi request time out, client cai winxp, không hiểu firewall ở trên server hay clients, bạn có thể giải thích rõ hơn không.

angel_of_devil
11-04-2007, 12:52 AM
Tất nhiên là firewall của server. Vì hầu hết các firewall ko cấm lệnh ping. Bạn check lại firewall và policy của server xem sao!

nguyennp
11-04-2007, 12:34 PM
Mình ping thi request time out, client cai winxp, không hiểu firewall ở trên server hay clients, bạn có thể giải thích rõ hơn không.

Mình đang nói Firewall ở 2 máy XP, bạn ping đến máy làm Router được rồi mà.

compaq1501
19-06-2007, 09:11 AM
Sao ban kg dung Rip Version 2, ban Add cai Rip vao la dung duoc thoi

camaptrang
19-06-2007, 04:06 PM
Mạng 192.168.1.0/24 --> đặt DG là 192.168.1.1
Mạng 10.0.0.0/8 --> đặt DG là 10.0.0.1
Failed mà báo là Destination unreachable hay Request time out ?
Nếu là Destination unreachable thì là do cấu hình Routing chưa đúng.
Nếu là Request time out thì bạn check lại Firewall ở 2 bên.
bạn chỉ cần là đúng như thế này là ok rồi, chẳng cần cấu hình gì đâu bạn với 2003 thì vấn đề này đơn giản , bạn làm như sau :
- enable Routing and Remote Access.
- bạn chọn mục customer config
- chọn LAN Routing
- finish
rồi như vậy là bạn đã có thể ping qua ping lại được rồi.

dnh0210
21-10-2010, 10:30 PM
Mình làm tương tự như thế, nhưng chỉ 1 client(lan 2) và card mạng kia thì kết nối ra Internet (LAN 1)
IP của ISP là 192.168.1.1
LAN 2: 10.0.0.0
Vậy bạn nào có thể chỉ cho mình cách đặt IP cho cả 3 card mạng (1 client và 2 trên server) giúp mình với
Và cả cấu hình trong static route hay RIP gì cũng được.
Vì lúc thì mình ping báo lỗi Destination unreachable lúc lại Request time
Thanks nhé