Hi,
I use RedHat 5.1 box with two modems and two ppp connections.
I can masquerade to any of these connections.
Is there any way to masquerade some hosts to ppp0
and some hosts to ppp1 simultaneously.
If I do:
/sbin/ipfwadm -F -a m -S 192.168.1.0 /255.255.255.224 -D 0.0.0.0/0.0.0.0 -W ppp0
and
/sbin/ipfwadm -F -a m -S 192.168.1.32 /255.255.255.32 -D 0.0.0.0/0.0.0.0 -W ppp1
and have two default routes
/sbin/route add default metric 1 dev ppp0
/sbin/route add default metric 0 dev ppp1
This works either for ppp0 or for ppp1.
It does not work simultaneously for both.
if I put
/sbin/route add default metric 1 dev ppp0
down it works for ppp1,
and if I put
/sbin/route add default metric 1 dev ppp1
down it works for ppp0.
Is there any way how BOTH connections can work?
Vladislav
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]