I follow the alias discussion and I add now "aliases" like this:

cat > /etc/sysconfig/network-devices/ifconfig.eth0/ipv4.0 << "EOF"
ONBOOT=yes
SERVICE=ipv4-static
IP=192.168.0.101
#GATEWAY=192.168.0.1
PREFIX=24
BROADCAST=192.168.0.255
EOF


It seems to work but there some problems with ifconfig:

eth0 Link encap:Ethernet  HWaddr 00:E0:81:2A:67:EF
      inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
      UP BROADCAST RUNNING MULTICAST  MTU:1500
      txqueuelen:1000

eth0 Link encap:Ethernet  HWaddr 00:E0:81:2A:67:EF
      inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
      UP BROADCAST RUNNING MULTICAST  MTU:1500
      txqueuelen:1000


My 192.168.0.101 "alias" doesn't show up. I think that's not good.

Does a final "alias" solution exists out there?


Thanks
Zoran
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to