marsson 发表于 2003-3-31 21:58:14

卸网卡重启后lo(回环loopback)配置信息丢失,再装网

因为要做局域网服务器,装了两块网卡,卸下后,重启进linux8.0,kuduz报告硬件改动,我选择remove网络配置文件,导致lo环路的信息丢失.关机装好两块网卡重启后用ifconfig命令,发现只有eth0和eth1的配置信息,所有浏览器都无法上网,我能用什么命令把lo配置加上去吗?如何操作?求高手指点,谢谢!

llc 发表于 2003-3-31 22:48:47

/etc/sysconfig/networking/ifcfg-lo
/etc/sysconfig/network-scripts/ifcfg-lo

内容如下:
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback

marsson 发表于 2003-4-1 07:22:14

真是太感谢了,不然我又得重装系统!
页: [1]
查看完整版本: 卸网卡重启后lo(回环loopback)配置信息丢失,再装网