
On Sat, Aug 26, 2006 at 10:50:51AM +0200, Per Jessen wrote:
Per Jessen wrote:
I'm trying to assign a virtual IP to the loopback interface 'lo':
/etc/sysconfig/network/ifcfg-lo:
# Loopback (lo) configuration IPADDR_1=127.0.0.1/8 NETWORK=127.0.0.0 BROADCAST=127.255.255.255 STARTMODE=onboot USERCONTROL=no IPADDR_2=192.168.2.231/32
Configuration looks good to me. I might try adding NETWORK_2=255.255.255.255
Can anyone spot why this isn't working?
I should add that the first ip-address 127.0.0.0/8 is added, but the second 192.168.2.231/32 isn't.
How do you check for that? ifconfig might not show your secondary address. Try "ip addr show dev lo" Do you by any chance use 192.168.2 network on some other interface? What if you try to add it manually using this command: ip addr add 192.168.2.231/32 dev lo -Kastus