Force certain services to use specific network interface?
Ok, the explanation is lengthy, so bear with me here...
I've got Tiger Server running at home on an old G4 with an extra Ethernet card. The built-in 10/100 is used for the WAN connection. The additional card is 10/100/1000, so I use that to connect to my LAN.
I've got DSL with multiple static IPs. I have a 5-port switch connected to the DSL modem to split the WAN connection. One cable goes from the switch to the WAN port on the server, and the other goes to the WAN port of a Linksys router which does nothing but act as the gateway for all the machines on the LAN.
The server does DNS and DHCP, and mail. It is an OD master, and my accounts are mobile homes. The server also provides Software Update service.
I have the WAN connection on my server listed first, followed by the LAN connection, because I want the server to use the WAN for pulling down software updates and other things (Yes, I know it's all ultimately using the same bandwidth, but I like to keep things separated). I noticed that my mobile homes were syncing much more slowly than they should over gigabit, and when I investigated I discovered that the clients were in fact connecting to the server via the 10/100 WAN connection. I solved that by changing the home directories to use the server's LAN IP address instead of the server's DNS name.
The Software Update service, on the other hand, isn't so easy to fix. No matter what I do, the clients insist on connecting via the WAN interface on the server-- even if I specify the LAN IP address of the server as the Software Update server. If I block the SUS port on the WAN interface via the firewall, SU on the client machines stops working.
If I reorder the network interfaces so the LAN is first, all the server's outbound traffic goes through the Linksys. Is there a way to get this to work the way I want it (i.e. all traffic outbound from the server uses the server's WAN interface, but all traffic inbound from the LAN clients uses the server's LAN interface)?
If anyone can't wrap their mind around what I've described above, let me know and I'll whip up a quick diagram of my network and post a link to it.
TIA,
~Philly