Hello,
I have a problem with localhost and the routing is not working.
I manually have to switch to CLI during boot and enter below
commands after each boot of the PC, else cron, mail-daemon,
and others relying on localhost-communication is not working:
ifconfig lo 127.0.0.1 up
route add -host 127.0.0.1 lo
then it works fine, but I cannot find a location to make this change permanent.
Maybe you can shed some light on this.
Here are the config files:
ls -d /etc/sysconfig/network/ifcfg-*
/etc/sysconfig/network/ifcfg-eth-id-[MY_MAC]
/etc/sysconfig/network/ifcfg-lo
[HOSTNAME]:~/bin/tst> cat /etc/sysconfig/network/ifcfg-eth-id-[MY_MAC]
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='[DRIVER_NAME]'
NETMASK='255.255.255.0'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
UNIQUE=[UNIQUE_ID]
USERCONTROL='no'
_nm_name='bus-pci-0000:00:12.0'
with my eth0 all is fine.
[HOSTNAME]:~/bin/tst> cat /etc/sysconfig/network/ifcfg-lo
# Loopback (lo) configuration
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
BROADCAST=127.255.255.255
STARTMODE=onboot
USERCONTROL=no
I do not find any config-errors.
What additional information would be useful to troubleshoot this issue?