Hi All,

I'm at a loss with this.

I need to get multipath source routing working in Trustix 2
Specifically, to get services on the Trustix box to respond to the
outside world from port forwards from 2 gateways.

I have done extensive searching on Google, and from what I can tell, the
following is required.

CONFIG_IP_ADVANCED_ROUTER
CONFIG_IP_MULTIPLE_TABLES
CONFIG_IP_ROUTE_MULTIPATH

These need to be enabled in the kernel. My /boot/config-2.4.28-11tr shows all
3 options enabled.

Here's my configs, i'm using an alias on the nic for the second ip.

Ip addr list
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo

2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000

    link/ether 00:03:ff:22:7b:7f brd ff:ff:ff:ff:ff:ff

    inet 192.168.20.238/24 brd 192.168.20.255 scope global eth0

    inet 192.168.20.237/24 brd 192.168.20.255 scope global secondary
eth0

Route -n
192.168.20.0    0.0.0.0         255.255.255.0   U     0      0        0
eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0
lo  
0.0.0.0         192.168.20.254  0.0.0.0         UG    0      0        0
eth0

ip rule
0:      from all lookup local

32765:  from 192.168.20.237 lookup 1

32766:  from all lookup main

32767:  from all lookup default     

ip route list table 1
default via 192.168.20.252 dev eth0  src 192.168.20.237

Obviously, 192.168.20.254 is one gateway (default), and 192.168.20.252
is the other.

>From my understanding, this is all that's required. I shouldn't need an
iptables stuff or kernel flags.

I tried the same configuration on an old redhat 9 box and it worked.

Any ideas?

Thanks

Mark

_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to