I'm trying to set up a 2 gateway connection for my LAN, and I've tried the LARTC way of doing it... so far all i get is, in /var/log/syslog:
Code:
Jan 15 00:51:21 Reboot kernel: MASQUERADE: Route sent us somewhere else.
Jan 15 00:51:26 Reboot kernel: printk: 4 messages suppressed.
Jan 15 00:51:26 Reboot kernel: MASQUERADE: Route sent us somewhere else.
Jan 15 00:51:31 Reboot kernel: printk: 5 messages suppressed.
Jan 15 00:51:31 Reboot kernel: MASQUERADE: Route sent us somewhere else.
Jan 15 00:51:36 Reboot kernel: Shorewall:all2all:REJECT:IN=eth2 OUT= MAC=... SRC=192.168.0.4 DST=192.168.0.1 (....) SPT=34074 DPT=53 LEN=48
Jan 15 00:51:36 Reboot kernel: printk: 9 messages suppressed.
Jan 15 00:51:36 Reboot kernel: MASQUERADE: Route sent us somewhere else.
The multipath works only on the server, as the LAN clients can't connect to anything else but the server. IP forwarding IS enabled... This happens after I enable the multipath with:
Code:
# iproute change default scope global nexthop via $P1 dev $IF1 weight1 \
nexthop via $P2 dev $IF2 weight1
Of course, if i set $P1=$P2 and $IF1=$IF2 everything works (as in with the T1, T2 tables set up and stuff), but that's having one active gateway.
I'm using shorewall (2.0.8) on the Mandrake-Linux poweed webserver (10.1 Official w/ default 2.6.8.1-12mdk-i586-up-1GB kernel)