*nix split eth interfaces
Hi all!
I have a RH9 server that I've setup for several different purposes. I use it as a workstation and also as a server. Mostly it is my media server. I have ripped almost every single CD that I have to the hard drive and offer it to everyone on my home lan. (watch out RIAA!!... just cause I didn't want to keep loosing my CDs cause my brother is an idiot...) I also have some video and etc. I house my intranet page which I use only for myself for access to my ebooks from work and school. I have ssh setup so I can use VNC and have remote access.
With all that said... I have two interfaces.
For some reason, I can't get traffic from one service to go over one specific interface.
Example:
I'm transftering data over smb (samba) and I'm also downloading up2date packages.
When I do an "iptraf" and look at which interfaces are being used... only eth0 is in use.
How can I make certain services go over specific interfaces.
Ideal setup... at the moment.
eth0 for
web
remote desktop (ssh/vnc)
misc web programs
eth1 for
samba (file/print)
The reason I want to change it up is so I can get the maximum amount of data over each interface. Since I'm downloading updates, my file tranfers are slower (though not much).
Is this possible?
I haven't found too much info in regards to this. Mostly using two interfaces for a firewall/internet connection sharing/etc.
Any advise or opinions are (as usual) greatly appreciated!
Thanks in advance!