為什麽不是192.168.7.113呢??

由 河边星星 在 10-17-2004 14:47 发表:

為什麽不是192.168.7.113呢??

我有兩塊網卡。。怎麽指定其中的哪一塊作為dhcp用。。

其中只能指定客戶DNS啊。。。

cat /etc/dhcpd.conf

ddns-update-style none;

subnet 192.168.7.0 netmask 255.255.255.0 {

option routers 192.168.7.252;

option subnet-mask 255.255.255.0;

option domain-name "sh.excell.com.tw";

Seting up an ip address is better here

option domain-name-servers 192.168.7.112,202.101.10.10;

[root@shlinux root]# cat /etc/hosts

192.168.7.113 shlinux.sh.at-scale.com shlinux

127.0.0.1 localhost

192.168.7.109 erp0

192.168.1.6 fileserver

192.168.7.112 shlinux.sh.at-scale.com shlinux

而且我在/etc/hosts中都指定了。。這樣是否會産生問題。。。。

M:>ping shlinux

Pinging shlinux [192.168.7.112] with 32 bytes of data:

Reply from 192.168.7.112: bytes=32 time<10ms TTL=64

為什麽不是192.168.7.113呢??


Redhat AS3(Taroon)_2.4.21-4.ELsmp+RTL-8139+WD80GJB+HY 512M

Giga-byte:Intel_865+Pentium2.6G+AC'97+Integrated Graphics Device

本人是吃菜的鸟...

近期关注点LDAP

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