Dear Linuxers,
I have a newwork of 2 machines running RH 7.0 on the network 192.168.2.0.
I was trying out Heartbeat(High availibility solution for Linux) on those 2 machines. I have configured Heartbeat to listen to ip 192.168.1.x. I tried to route request to 192.168.1.x to the network of 192.168.2.0. When I restart the network I get the error:
SIOCADDRT: No such device
In the docs of Heartbeat I found that I may need to enable IP aliasing in the kernel build. They asked to check for /usr/src/linux/.config and check CONFIG_IP_ALIAS=y. Now I don't find that file in the specified path. I just want to know on RH 7.0 how will I come to know whether that option is set or not.
Best regards,
Mayur Joshi
_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
You'll need to run the kernel config util for this. If you're comfortable with the bash command line, chdir to /usr/src/linux, and do a "make mrproper" followed by a "make config". If you prefer a somewhat more intuitive interface, use "make menuconfig" for a ncurses based console interface, or alternatively "make xconfig" if running X.
Al these "make <choice>config" options will give you a set of choices on kernel config, which you will have to enable. Next, a "make dep", followed by "make install", "make modules" and "make modules_install" should see you through the kernel rebuild.
Look at the Kernel HOWTO, where all this is explained in excruciating detail (http://linuxdoc.org).
HTH,
Krishnan
--- Mayur Joshi joshi_mayur@hotmail.com wrote:
Dear Linuxers,
I have a newwork of 2 machines running RH 7.0 on the network 192.168.2.0.
I was trying out Heartbeat(High availibility solution for Linux) on those 2 machines. I have configured Heartbeat to listen to ip 192.168.1.x. I tried to route request to 192.168.1.x to the network of 192.168.2.0. When I restart the network I get the error:
SIOCADDRT: No such device
In the docs of Heartbeat I found that I may need to enable IP aliasing in the kernel build. They asked to check for /usr/src/linux/.config and check CONFIG_IP_ALIAS=y. Now I don't find that file in the specified path. I just want to know on RH 7.0 how will I come to know whether that option is set or not.
Best regards,
Mayur Joshi
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Richard Stallman's Public Lecture 5pm 17th July, at TIFR. Linuxers mailing list Linuxers@mm.ilug-bom.org.in http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
__________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/