Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problem setting connmark with ip6tables

Reply
Thread Tools Display Modes

Problem setting connmark with ip6tables

 
 
Washington Ratso
Guest
Posts: n/a

 
      07-19-2011, 03:55 PM
I am upgrading some software to IPv6 and am running into a problem
setting connmark with ip6tables version 1.4.4.


With iptables, I can do:

iptables -A PREROUTING -i sat0 -t nat -m dscp --dscp $i -j CONNMARK --
set-mark 99

for i = 0 to 63 with no problem.



If I change to ip6tables:

ip6tables -A PREROUTING -i sat0 -t nat -m dscp --dscp $i -j CONNMARK --
set-mark 99

I get the following error:


ip6tables v1.4.4: can't initialize ip6tables table `nat': Table does
not exist (do you need to insmod?)


What is the syntax to set the connmark with ip6tables?
 
Reply With Quote
 
 
 
 
KR
Guest
Posts: n/a

 
      07-19-2011, 04:41 PM
On 19.07.2011 17:55, Washington Ratso wrote:
>
> If I change to ip6tables:
>
> ip6tables -A PREROUTING -i sat0 -t nat -m dscp --dscp $i -j CONNMARK --
> set-mark 99
>
> I get the following error:
>
>
> ip6tables v1.4.4: can't initialize ip6tables table `nat': Table does
> not exist (do you need to insmod?)


Of course, as there is no such thing as NAT in IPv6, and consequently no
'nat' table.

> What is the syntax to set the connmark with ip6tables?


I haven't tried it myself, but how about using the PREROUTING chain in
the 'mangle' table? It has a CONNMARK target.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem setting DSCP value Washington Ratso Linux Networking 1 05-20-2011 01:15 PM
Weird ip6tables mac= logging Rob van der Putten Linux Networking 0 03-23-2011 05:09 PM
2.4.32+CONNMARK support Piotr Linux Networking 0 08-08-2006 12:43 PM
iptables CONNMARK questions buck Linux Networking 0 07-22-2006 11:24 AM
a problem with nat table setting yozhang@gmail.com Linux Networking 2 02-01-2006 06:47 PM



1 2 3 4 5 6 7 8 9 10 11