卸网卡重启后lo(回环loopback)配置信息丢失,再装网
因为要做局域网服务器,装了两块网卡,卸下后,重启进linux8.0,kuduz报告硬件改动,我选择remove网络配置文件,导致lo环路的信息丢失.关机装好两块网卡重启后用ifconfig命令,发现只有eth0和eth1的配置信息,所有浏览器都无法上网,我能用什么命令把lo配置加上去吗?如何操作?求高手指点,谢谢! /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 真是太感谢了,不然我又得重装系统!
页:
[1]