Hey everybody.
I've been running Linux on my router/server-box (recently file server
as well) for quite a few years, but after playing with Solaris
(primarily Dtrace and ZFS) the urge to switch finally got to me, and
here I am.
My setup is, or rather my goal is, as follows:
elxl0 - DHCP (ISP #1) - 83.x.x.x/19
elxl1 - DHCP (ISP #2) - 217.x.x.x/24
nge0 - static IP (LAN) - 192.168.1.1/24
Note: I use "server" and "router" pretty much interchangeably below.
I want elxl1 to be used by the *other* computers on the LAN, via NAT.
This is already set up and working great, thanks to IPF.
elxl0 is currently not connected, however. I'd like that connection
to be used by the server itself. In other words, when I open a web
page on 192.168.1.4, the connection goes though the router box and
exits on elxl1 via NAT. So far so good. If I open the web page from a
browser on the server itself, I want it to exit on elxl0.
This way, I can do server stuff (FTP/WWW-serving and torrents) on the
elxl0 connection (83.x.x.x), while having uninterrupted browsing/
chatting etc on the elxl1 connection (217.x.x.x).
After some googling, it seems that either
1) Solaris can't do this (without IPF) or
2) Solaris can do it, but it's waaay more work than it's worth for me.
In either case, I need some help... As stated above, I'm not
completely sure that this mailing list is the right place to ask, but
it won't hurt to try! I've searched, and either only found slightly
dissimilar problems, or solutions that are problems themselves. Any
hints / example rules are appreciated.
Thanks in advance.