--- Mark Shields <[EMAIL PROTECTED]> wrote: > On 8/24/07, BRM <[EMAIL PROTECTED]> wrote: > > > > Ok, first - I wasn't sure which list this should go to, so if this > is > > the wrong list please just let me know. > > > > I am in the process of upgrading my server from a P90 running > Slackware > > to a "newer" system running Gentoo 2007.0. Everything is pretty > okay > > until I got to doing the network config. My basic config is as > follows: > > > > Public DHCP'd Interface -> eth0 (default gw) > > Private Lan Interface #1 -> eth1 > > Private Lan Interface #2 -> eth2 > > I also have a number of IP Aliases on the eth1 & eth2. > > Thus far, in /etc/conf.d/net, I have the following: > > config_eth0("dhcp") > > config_eth1(<list of static IP addresses>) > > config_eth2(<static ip address>) > > What is the proper way to do this under Gentoo? > eth0 gives you the default gw via DHCP, and you're trying to set a > default > gw for eth1, right? If so, you can't do that. There can only be one > default gateway (hence the name). What are the functions of the NICs > on the > private networks (eth1/eth2)?
Running "route -n" does not show any of the three interfaces set as a default gateway - all three are set as gateways (UG) though. I'm aware there can only be one _default_ gateway. I'm really trying to get the default routing to go through eth0. I still have to get to working on my firewall rules (haven't done that yet), but this is the first step. Ben -- [EMAIL PROTECTED] mailing list