LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 789|回复: 1

為什麽不是192.168.7.113呢??

[复制链接]
发表于 2004-10-17 14:47:17 | 显示全部楼层 |阅读模式
我有兩塊網卡。。怎麽指定其中的哪一塊作為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呢??
 楼主| 发表于 2004-10-17 14:57:45 | 显示全部楼层
\\192.168.7.112是可以訪問
\\192.168.7.113是不可以訪問....
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表