Date: 14-01-03 00:19
Do both of them have to come into the same box? or can you build a second box for wan-b?
if they do need to come into the same box, is that system running strictly as a router or does it have other services on it?
if you have to keep it on the same box, i would remove all services except for sshd, install routed or gated and set it up as strictly a router. this should allow you to use multiple default routes...
another thing you may want to look into is writing a script to set up your routing instead of using rc.conf and the defaultrouter setting.
just remove the defaultrouter setting and add a way for rc.network to call a short add_route script that will setup the routes for each line.
you could even go as far as to add directives to rc.conf... i used this method to add fastetherchannel support. i can turn fastetherchannel on and off via a setting in rc.conf... if on, it adds the kernel module ng_fec0.ko, bundles the interfaces and brings them up. If set to off, it skips to the next function in rc.network, as if i never changed anything.
what you are looking for isn't exactly easy, but definitely doable...
good luck and let us know if you have any more questions and how it works out for you.