- 论坛徽章:
- 0
|
DHCP好像论坛里讲得不多,现在想了解下这方面的知识,做了下面的尝试,大家给分析下:\r\n1、将网口ce0配置成DHCP\r\n# ifconfig ce0 dhcp\r\nifconfig: ce0: interface is not under DHCP control\r\n# ifconfig ce0 dhcp\r\nifconfig: ce0: wait timed out, operation still pending...\r\n2、查看\r\n# ifconfig -a\r\nlo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1\r\n inet 127.0.0.1 netmask ff000000\r\nce0: flags=1004842<BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2\r\n inet 0.0.0.0 netmask 0\r\n ether 0:3:ba:2b:c1:1\r\nce1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3\r\n inet 192.168.200.134 netmask ffffff00 broadcast 192.168.200.255\r\n ether 0:3:ba:2b:c1:0\r\n3、连接上网线,再次查看\r\n# ifconfig -a\r\nlo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1\r\n inet 127.0.0.1 netmask ff000000\r\nce0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2\r\n inet 192.168.200.234 netmask ffffff00 broadcast 192.168.200.255\r\n ether 0:3:ba:2b:c1:1\r\nce1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3\r\n inet 192.168.200.134 netmask ffffff00 broadcast 192.168.200.255\r\n ether 0:3:ba:2b:c1:0\r\n4、telnet 192.168.200.234 失败\r\n\r\n操作上存在什么问题,失败的原因是什么? |
|