Sorry, about the confusion Jack. I really appreciate the help.
It's a slack 9.1 box with proftpd running three virtual ftp servers
each bound to a specific IP address. Our firewall should block
everything other than ftp connections on the DMZ side. I want LAN
connectivity so I don't have internal users blowing bandwith on eth0,
eth1, or eth2.
The only thing I did was add the IP's to the rc.inet1.conf and run the
initial netconfig script (which only configures 1 card). Otherwise it
is stock Slackware.
I don't really care how inefficient it is to use three separate ports
to connect to the internet. I don't think it really makes the system
that much more complex. I understand I can alias them all to one
port. Just pretend they're backups for each other.
As stated earlier:
eth0: 12.x.x.7
eth1: 12.x.x.9
eth2: 12.x.x.10
eth3: Preferably DHCP assigned. Otherwise a static 10.0.0.135 address
will be fine.
eth4

unused as of yet possibly soon to be used though)
ASCII art as requested:
_______________________
| FTP SERVER |
eth(x) | 0 1 2 3 4 |
| * * * * * |
------------------------
| | | |
| | | |
| | | |
------------- ----------
|DMZ'd Switch| |LAN Switch|(10.x.x.x)
------------- ----------
|
Firewall
|
*---------*
|Internet |
*---------*
It's a Slackware 9.1 Box.
/etc/networks reads:
loopback 127.0.0.0
localnet 12.x.x.0
/etc/rc.d/rc.inet1.conf reads:
# Config information for eth0:
IPADDR[0]="12.x.x.7"
NETMASK[0]="255.255.255.128"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
# Config information for eth1:
IPADDR[1]="12.x.x.9"
NETMASK[1]="255.255.255.128"
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
# Config information for eth2:
IPADDR[2]="12.x.x.10"
NETMASK[2]="255.255.255.128"
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""
# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""
# Config information for eth4:
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]=""
DHCP_HOSTNAME[4]="yes"
# Default gateway IP address:
GATEWAY="12.x.x.1"
# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging
output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"
Output of the route command:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
localnet * 255.255.255.128 U 0 0
0 eth0
localnet * 255.255.255.128 U 0 0
0 eth1
localnet * 255.255.255.128 U 0 0
0 eth2
10.0.0.0 * 255.255.255.0 U 0 0
0 eth4
loopback * 255.0.0.0 U 0 0
0 lo
default 12.x.x.1 0.0.0.0 UG 1 0 0
eth0
As I have said before, eth4 will not pickup DHCP. I have tried:
dhcpcd eth4 to no avail. There are other computers plugged into the
same LAN switch getting dhcp addresses.
I have tried:
ifconfig eth4 10.0.0.135 netmask 255.255.255.0 broadcast 10.0.0.255 up
route add 10.0.0.0 gw 10.0.0.1 eth4 and many variants, also to no
avail.
The most important part is that eth0-2 are up and running and ftp
traffic gets passed to those three interfaces. The LAN connection is
not nearly as important.
I hope this gives you enough information.
Jake