Bill Davidsen wrote: > Patrick McHardy wrote: > >>> So is the "src" portion of my table intended to set the source IP, or >>> did I misread the doc? And is that a bug or a feature? >>> >> >> >> >> Source address selection is done before the first packet is generated, >> so the marks can't affect it. They just cause rerouting of the packet, >> but don't change the source address afterwards. >> > > So what is the source specification used for then? If it doesn't set the > source IP, (and it doesn't, I need an SNAT rule), and it doesn't force > that source IP out the designated NIC, (doesn't do that, that's why I > came up with all the MARK rules), what exactly does it do? Or is it just > for documentation? With routing by fwmark, its entirely useless. The only possibility to use it would be to support setting a per-socket nfmark value. - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html