ifconfig

配置多个网卡 ifconfig -a 查看网络设备 eth0 / eth1 / lo (回路)。
ifconfig eth1 //设备1
ifconfig eth1 192.168.1.10 netmask 255.255.255.0 //设置网卡子网及ip
posted @ 2007-08-27 17:09  ahuo  阅读(475)  评论(0编辑  收藏  举报