Win2003 ip靜態路由問題,請高手來指點,TKS>

shixianyong 2005-01-15 01:04:20
C:\>ipconfig /all

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : D-Link DFE-530TX PCI Fast Ethernet Adapte
r (rev.C)
Physical Address. . . . . . . . . : 00-05-5D-72-0C-A5
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 172.20.106.66
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 172.20.1.4
DNS Servers . . . . . . . . . . . : 172.20.100.4

C:\>tracert 172.16.254.3

Tracing route to 172.16.254.3 over a maximum of 30 hops

1 1 ms 1 ms 1 ms 172.20.1.4
2 2 ms 2 ms 1 ms 192.168.203.253
3 63 ms 63 ms 63 ms 10.1.1.1
4 66 ms 62 ms 63 ms 172.16.254.3

Trace complete.
這樣是ok的,能到172.16.254.3

但是我把Gateway改為172.20.100.4(如下)後就只能到172.20.1.4,
請問我要如何加路由才能到172.16.254.3

Physical Address. . . . . . . . . : 00-05-5D-72-0C-A5
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 172.20.106.66
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 172.20.100.4
DNS Servers . . . . . . . . . . . : 172.20.100.4
...全文
387 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
tutuit 2005-01-21
  • 打赏
  • 举报
回复
晕,你干嘛要把dns服务器作为网关呢?如果想要实现的话,需要设置172.20.100.4到172.16.254.3的路由
net_sky 2005-01-20
  • 打赏
  • 举报
回复
设定一条NAT策略看行不行。
shixianyong 2005-01-20
  • 打赏
  • 举报
回复
添加以上這段路由的時候報錯,
shixianyong 2005-01-18
  • 打赏
  • 举报
回复
添加以上這段路由的時候報錯,
shixianyong 2005-01-17
  • 打赏
  • 举报
回复
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 218.16.0.14 219.130.106.62 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
172.20.0.0 255.255.0.0 172.20.100.4 172.20.100.4 20
172.20.100.4 255.255.255.255 127.0.0.1 127.0.0.1 20
172.20.255.255 255.255.255.255 172.20.100.4 172.20.100.4 20
192.168.10.0 255.255.255.0 192.168.10.250 192.168.10.250 20
192.168.10.250 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.10.255 255.255.255.255 192.168.10.250 192.168.10.250 20
192.168.11.0 255.255.255.0 192.168.11.1 192.168.11.1 20
192.168.11.1 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.11.255 255.255.255.255 192.168.11.1 192.168.11.1 20
192.168.203.0 255.255.255.0 172.20.1.4 172.20.100.4 1
218.16.0.14 255.255.255.255 219.130.106.62 219.130.106.62 1
219.130.106.62 255.255.255.255 127.0.0.1 127.0.0.1 50
219.130.106.255 255.255.255.255 219.130.106.62 219.130.106.62 50
224.0.0.0 240.0.0.0 172.20.100.4 172.20.100.4 20
224.0.0.0 240.0.0.0 192.168.10.250 192.168.10.250 20
224.0.0.0 240.0.0.0 192.168.11.1 192.168.11.1 20
224.0.0.0 240.0.0.0 219.130.106.62 219.130.106.62 1
255.255.255.255 255.255.255.255 172.20.100.4 172.20.100.4 1
255.255.255.255 255.255.255.255 192.168.10.250 192.168.10.250 1
255.255.255.255 255.255.255.255 192.168.11.1 192.168.11.1 1
Default Gateway: 218.16.0.14
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
192.168.203.0 255.255.255.0 172.20.1.4 1

C:\Documents and Settings\Administrator>route add 172.16.0.0 mask 255.255.0.0 19
2.168.203.253 -p
The route addition failed: Either the interface index is wrong or the gateway do
es not lie on the same network as the interface. Check the IP Address Table for
the machine.

添加以上這段路由的時候報錯,
oyljerry 2005-01-15
  • 打赏
  • 举报
回复
路由器上之否有172.16.254.1
网络连接是怎么连的,
scz123 2005-01-15
  • 打赏
  • 举报
回复
估计和网络设备的路由有关
网关使用172.20.1.4

tracert 172.20.100.4 有什么结果呢?
heruo 2005-01-15
  • 打赏
  • 举报
回复
这个要在路由器上设置,先把路由器里的gateway映射为172.16.254.1
charleswu82 2005-01-15
  • 打赏
  • 举报
回复
不大懂,可能你可以看一下路由的地址池

6,185

社区成员

发帖
与我相关
我的任务
社区描述
windows网络管理与配置
社区管理员
  • 网络管理与配置社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧