dns问题

由 hattrickr9 在 07-11-2004 23:28 发表:

dns问题

我用一台linux做网关(192.168.0.254),主交换机底下接的客户端全是指定IP地址,192.168.0.0这个网段,现在客户端的的网关和dns全设成192.168.0.254,我想知道这台linux的dns怎么设置才能让客户端能上网,其他的都没有问题,我把客户端的dns改成电信指定的就可以了,但是改成网关的地址就又不行,我想知道如何做到?


由 Snoopy 在 07-11-2004 23:41 发表:


网关上有dns服务开着吗 ? 不清楚你的意思

交换机指定192.168.0.0/24这个网段,你将你的ip设置成别的大于2小于254的ip作为网关


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 hattrickr9 在 07-11-2004 23:52 发表:


详细的情况是这样的:.254是网关的地址,局域网内的地址全部是指定IP地址都是192.168.0这个网段的不重复地址,其余所有的服务我都开好了也好用,本来局域网内的机器都是将dns设置成电信给的dns都是可以上网的,现在内网机器把电信的dns地址都改成了网关地址就是.254就不能上网了,应该是.254这个机器没做解析的问题,我想知道怎么解决这个问题?就是具体怎么在.254上设置?


由 hattrickr9 在 07-11-2004 23:54 发表:


网关上的dns服务肯定没开着,网内的机器把dns改成电信的就可以上网了,我想叫他们全部改成网关的地址上网,但是就不知道怎么改?


由 Snoopy 在 07-12-2004 00:16 发表:


还是不懂你的意思,

客户将ip地址设置成网关


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 hattrickr9 在 07-12-2004 00:25 发表:


再说详细点,比如有台客户端ip是192.168.0.89,以前他是这样设置的:网关是192.168.0.254,dns是电信给的(也就是设置成一个外部可用的dns地址),这样子都是没任何问题,现在我把客户端的dns改成192.168.0.254了,这样就不能上网了,但是他ping外部的ip都是可以PING通的,肯定是网关这台机器没做解析,我就想知道怎么让网关做dns解析?该如何做?这下清楚了吧?


由 hattrickr9 在 07-12-2004 00:26 发表:


斑竹你要是还不清楚就让我加你吧,我聊天工具上跟你说,谢谢啦,qq:33003087,msn:[email protected]


由 Snoopy 在 07-12-2004 03:02 发表:


明天晚上12点我会用windows,顺便开qq


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin t

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus