On Tue, Jun 17, 2003 at 10:41:05PM -0500, Austin R. Longino wrote:
> I was wondering how i could run 2 network cards in debian, i have 2 and wana connect 
> to 2 different networks. How do i tell the services what network to run on and 
> possibly run a couple on both. I ahve tried it before, but it ended up that one or 
> the other service would "choose" which nic to run on

Okay fine.. I've already shot myself in the foot.. acted ridiculous and
abused the list worse than what I was complaining about.

for the first question, all I read the first time:
I'm almost certain you could of found this on google but here you go
bring up eth0, bring up eth1... one you might be using dhcp for 
the other case use ifup/ifconfig... 

then use route to add routes as needed, for examples see the man page.
to find out what the routes table looks like at each step you can use
'netstat -rn'

now for the second question, setup for each daemon is different, apache
you add one thing to the config, for your ftp server you do something 
different... or you can just use iptables and filter out traffic
on say a given port based for each nic,  notice -i in ipfilters lets you
specify the in-interface.

There, now back to studying.. and I'm picky about HTML mail..  it bugs me.
what the hell does it add... to me it just make messages take up more room
in my inbox... sorry for the bitchyness.
 
-Omar


_______________________________________________
Siglinux mailing list
[EMAIL PROTECTED]
http://www.utacm.org/mailman/listinfo/siglinux

Reply via email to