Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "yang,fang" <yangfang@fudan.edu.cn>
To: lartc@vger.kernel.org
Subject: [LARTC] trouble when using IPMARK module
Date: Mon, 24 Sep 2007 11:07:28 +0000	[thread overview]
Message-ID: <0JOV0014XDDSON@mail.fudan.edu.cn> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 612 bytes --]

Hello,

 

I am trying to use iptables together with tc

I need to use IPMARK module of iptables, but I got a strange error after I
run 'iptables -t mangle -A POSTROUTING -o eth0 -j IPMARK --addr=dst
--and-mask=0xffff --or-mask=0x1000'

The command is copied from iptables manual itself (of course interface
changed)

I only got " iptables v1.3.5: Unknown arg `--addr=dst'

Try `iptables -h' or 'iptables --help' for more information."

 

Environment: CentOS5, iproute2-ss061002, iptables v1.3.5

I have tried several servers and got the same error.

 

Any further ideas?

Many thanks.

 

Regards,

yfang

 


[-- Attachment #1.2: Type: text/html, Size: 4895 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

             reply	other threads:[~2007-09-24 11:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-24 11:07 yang,fang [this message]
2007-09-24 12:17 ` [LARTC] trouble when using IPMARK module Peter V. Saveliev
2007-09-24 13:44 ` Mohan Sundaram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0JOV0014XDDSON@mail.fudan.edu.cn \
    --to=yangfang@fudan.edu.cn \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox