Differences between version 6 and previous revision of SourceBasedRouting.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 6 | Last edited on Monday, December 12, 2005 6:43:24 pm | by TimCareySmith | Revert |
Older page: | version 5 | Last edited on Monday, December 12, 2005 6:40:48 pm | by TimCareySmith | Revert |
@@ -110,10 +110,10 @@
<verbatim>
whisky:~# iptables -A OUTPUT -o eth0 -m owner --uid-owner 1004 -j MARK --set-mark 0x1
whisky:~# iptables -t mangle -nvL OUTPUT
Chain OUTPUT (policy ACCEPT 25152 packets, 6543K bytes)
- pkts bytes target prot opt in out source
destination
- 0 0 MARK all -- * eth0 .../0
.../0 OWNER UID match 1004 MARK set 0x1
+ pkts bytes target prot opt in out source
destination
+ 0 0 MARK all -- * eth0 .../0
.../0 OWNER UID match 1004 MARK set 0x1
</verbatim>
Secondly, create a rule in the RPDB specifying that packets MARKed 0x1 should use the ORCON routing table.
<verbatim>