Subject: Re: Routing by source address
To: None <tech-net@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
Date: 09/04/2006 21:51:08
>> Therefore, I have to tell NetBSD that it should route all packets
>> originating from the IP of ISP #1 through the gateway of ISP #1 and
>> so on (some kind of routing by source address).
I wanted just that (for almost that application). I wrote a
source-routing pseudo-interface to do this.
It currently exists only for 1.4T, as far as I know. When I scrape
together the round tuits, I'm going to roll it forward to something
more modern, probably -current. If you want its present (1.4T) state,
look under ftp.rodents.montreal.qc.ca:/mouse/source-tree/postpatches/ -
specifically, sys/dev/pseudo/if_srt.[ch] for the pseudo-device driver
and usr.sbin/srtconfig/* for the configuration utility.
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML email@example.com
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B