I've got a bit of a stumper here; I've been scouring Google for 3 days and have not come up with a solution...
First off, I have a Sun SPARCStation 20 with the following network interfaces: le0, hme0, qfe0, qfe1, qfe2, qfe3. My ultimate goal is to have this machine pull multiple IP addresses dynamically from my ISP (Comcast HSI Pro) and then act as a firewall / NAT / router / load balancer to my other Windows / Solaris clients and web servers. What I'd like to configure is outlined below:
le0 - DHCP from Comcast
hme0 - DHCP from Comcast
qfe0 - DHCP from Comcast
qfe1 - Static interface, 192.168.10.1, hostname purplerouter
qfe2 - Static interface, 192.168.10.40, hostname purpledragon
qfe3 - Unassigned / Growth (there if I need it...)
So, this is a complicated little network box! I have successfully configured and UP'ed interfaces qfe1 and qfe2, which are accessible from my LAN. The big problem occurs when I enable DHCP on the other interfaces... To configure the DHCP interfaces, I created the following files:
/etc/hostname.le0 (empty file)
/etc/hostname.hme0 (empty file)
/etc/hostname.qfe0 (empty file)
/etc/dhcp.le0 (only contains the entry "wait 300")
/etc/dhcp.hme0 (only contains the entry "wait 300")
/etc/dhcp.qfe0 (only contains the entry "wait 300")
/etc/hosts (has entries for "192.168.10.1 purplerouter" and "192.168.10.40 purpledragon"
After I reboot the machine with the "reboot -- -r" command, the le0 interface comes up and pulls an IP address from Comcast. Then the hme0 interface tries to do the same, but never completes, nor does the qfe0 complete. After waiting about 15 - 20 minutes for timeouts, I go to the /etc directory only to find that /etc/hosts has been wiped out and replaced with some stupid DHCP entry and none of the statically assigned addresses are UP.
I'm at a loss... I really want to use this box as a router / firewall because of all of the local network interfaces it has (and the box really isn't good for much else anyway). But I'm pulling my hair out!!!
If anyone needs any additional information, please shoot me a quick note via email at firstname.lastname@example.org or post here. I'm allocating all of my 90 points to this one...
Thanks in advance for the help!