On 14 May 99, at 21:47, Peter Banik wrote about
"[Masq] masq w/multiple netwoks and":
|...
| Recently the ISDN uplink has been replaced by a leased line uplink with
| a Cisco 1000, with a few 'official' IP addresses. I should now do
| masquerading the existing subnets so, that their traffic should be
| forwarded via 3 dedicated IP addresses - each subnet on its own addresss
| - in order to our ISP can do accounting to the subnets independently.
|
| The Linux box has 4 eth adapters:
| 192.168.0.1 - eth0, subnet 1
| 192.168.1.1 - eth1, subnet 2
| 10.0.0.1 - eth2, subnet 3
| 194.88.37.154 - eth3, non-private IP addresses assigned by the ISP,
| connected to the Cisco on 194.88.37.153
| .155 - eth3:0
| .156 - eth3:1
|
| What should I do to masq subnet1 _only_ via 194.88.37.154, subnet2 via
| .155, etc?
It would probably be easiest to set up three gateway boxes, one for
each subnet. The basic problem is routing. If doing this on a
single masq box is possible at all, it will require something called
"source routing", where routing decisions are made based on the
source address as well as the destination address.
I think I heard that the 2.2.x kernels have support for source
routing, but I have no experience with it.
- Fred Viles <mailto:[EMAIL PROTECTED]>
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]