Hello.

I have installed a hurricane distribution and I wanted to use the
IP aliasing feature of the graphical net configurator.
Ok.
I wanted on my ethernet adaptater to support two ip subnet,
one in 195.6.130.64 netmask 255.255.255.240 and one
192.168.10.0 netmask 255.255.255.0
The former is something like a public IP domain, and the latter
one a 'private'. This is not the point anyway. I wanted to
use the 195.6.130.66 IP for real and 192.168.10.12 as a virtual IP
for my adaptater.
So I set-up a network configuration with the graphical tool,
but the route were always false. For the Virtual IP, the route were
IP=192.168.10.12  Netmask=255.255.255.255, route type : Host.
But I never mentionned such things to the graphical configurator,
the 'virtual' netmask was set-up to 255.255.255.0
So I looked at the ifup script in /etc/sysconfig/network-scripts,
and there is a 'if' condition that make a virtual IP a host route only :

#    if [ "$ISALIAS" = no ] ; then
        route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE}
#    else
#       route add -host ${IPADDR} ${DEVICE}
#    fi

I have added the comment ('#' char) myself to prevent this.

Is this behaviour NORMAL ? Why Ifup has been coded like that ?

---
Jerome Bonnet

PS : I have not subscribed the mailing list so please answer me on my
email
[EMAIL PROTECTED]




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to