I didn't have to do this.
- I have used Ygdrasil, SLS and Slackware Linux.
- Now, I cannot resist to install RedHat Linux. I bought an official RedHat Linux 5.0 CD-ROM.
- This package automatically install dhcpcd and even PostgreSQL. It seemed to me very convenient. But do you know "Good news goes on crutches." ?
- I started X and changed eth0's 'interface configuration protocol' to dhcp on the 'Control-panel'. I added eth1 and assigned my private IP address. But the Linux box cannot get IP address from ISP's DHCP server.
- It took some time to find out what 'Control-panel' did. I think this is a typical problem when you use GUI. They shoud document what GUI based programs update files and provide ways to do the same things from command line.
- I'm always be reminded that we should read manuals carefully. In chapter 'General Parameters of the Instllation
Guide' tells that "However, if any two ethernet cards use the same driver (e.g., two 3c509's or a 3c595 and
a 3c905), you will need to compile a custom kernel with ethernet driver built in".
I made a new kernel and finally IPmasquerade and dhcpd worked. Followings are what I did.
- Install RedHat Linux 5.0.
- make a new kernel to enable 3c509.
- Add append="ether=0,0,eth1" in lilo.conf.
- From 'Control-panel', start Network Configurator and enable Network Packet Forwarding(IPv4) on Routing.
- Leave default gateway and default gateway device blank.
- Push Add button and define
eth1 Internal network address Netmask
- In Network Configurator, edit and add Interfaces as follows;
eth0 0.0.0.0 dhcp eth1 IP Address (for Internal net) none
- Leave Kernel Configurator in Control-panel unchanged. You don't have to add eth1 in this.