Network IP address:
1. ifconfig eth0 down
ifconfig eth0 192.168.56.100 netmask 255.255.255.0
ifconfig eth0 up (lose effectiveness after reboot)
2. setup -> network service
3. /etc/sysconfig/network-scripts/ifcfg-eth0
Disable IPV6
/etc/sysconfig/network
NETWORKING_IPV6=yes -> no
reboot
/etc/modprobe.conf
alias net-pf-10 off
alias ipv6 off
sudo /etc/init.d/ip6tables stop
sudo /sbin/chkconfig --level 35 ip6tables off
remove any IPV6 address in /etc/hosts
Service Automatically Startup
chkconfig [servicename] on
Firewall and SELinux
these staff will block some service from accessing outside.
disable firewall
iptables -F
chkcofnig iptables off
disable SELinux
setenfornce 0
本文详细介绍了如何解决网络IP地址配置导致的问题,包括通过ifconfig命令调整接口状态和配置文件修改来解决IP地址无效的问题,同时提供了防火墙和SELinux的关闭方法,确保网络服务的正常启动。

394

被折叠的 条评论
为什么被折叠?



