Multiple --to-source not supported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to setup SNAT for a large network to roundrobin over two different /28s which are on the same interface.  The obvious way to do this with iptables doesn't like the dis-contiguous cidrs and complains:

/sbin/iptables -t nat -A eth1_masq -s 10.0.0.0/24 -d 0.0.0.0/0 -j SNAT --to-source 1.2.3.210-1.2.3.222 --to-source 4.5.6.50-4.5.6.62

iptables v1.4.3.2: Multiple --to-source not supported


This used to work in earlier 2.6 kernels, why doesn't it work anymore?

Any tips for workarounds?

Thanks!


--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux