--- Tom Hosiawa <[EMAIL PROTECTED]> wrote:
> > Then you can just modify values in /etc/conf.d/net for your 2nd NIC
> and 
> > after a reboot you should be fine.
> 
> I had problems setting the gateway for both nics in a single file, so
> I
> made separate net.eth0 and net.eth1 files in /etc/conf.d
> 
> I'm not sure if this is the correct way of doing things but it works

Good call Tom. 

I didn't even think about that little (major) detail. Hmmmm...
Eth0 is going to be connected to the cable modem via dhcpcd.
Eth1 is going to be connected to the internal lan via static address of
192.168.1.1.

I'm using Shorewall firewall right now and eth0 is masq'ed out through
ppp0...let me see....Hmmmmmm.....Well I just looked at /etc/conf.d/net
and eth0, which is (now) 192.168.1.1/24 doesn't have the Gateway set.
So I don't see needing to do anything with the type of setup that I'm
running when the time comes to install the other nic. All that I will
be doing is adding and extra entry to the above file leaving the
Gateway unset like it is now and I should be good to go. 

Thanks for pointing that out though.

JBanks




__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
[EMAIL PROTECTED] mailing list

Reply via email to