Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way I can give traffic over IPv6 a higher priority than traffic over IPv4?

Purpose is 2-fold: Promote IPv6, and be able to connect even when my server is swamped by IPv4 users.

share|improve this question
    
You almost certainly can't prioritize inbound traffic, unless you control the device that decides what inbound traffic to put on the wire. –  David Schwartz Oct 5 '12 at 9:54

1 Answer 1

I have no experience with tc, but it appears that you can at least limit traffic based on specific markers set via iptables. If that works, you can then just limit IPv4 traffic to, say, 95% of your interface’s bandwidth by setting the appropriate marker in iptables, but not in ip6tables.

Further reading of the associated manpages probably would reveal more information :)

Regarding David Schwartz’ remark, I would like to point out that, provided traffic is TCP-based, appropriate delaying of TCP ACK packages should do the trick with regard to inbound traffic – although, certainly, not perfectly so.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.