Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to route packets from some processes(unique pids/uids) to desired network connection.

So, Suppose we have 4 processes with pids 10, 11, 12, 13 respectively; and we have two network connections eth0, eth1.

How can we make sure that the packets from process ids 10 & 11 are routed through eth0 while packets from process ids 12 & 13 are routed through eth1 ?

share|improve this question
What OS are you talking about? – Zoredache Aug 5 '11 at 6:31
my OS is Ubuntu 11.04 Linux Kernel 2.6.38 – Animesh Sinha Aug 5 '11 at 6:43
Check this question please… – Dragos Aug 5 '11 at 7:05
Check this question please:… – Dragos Aug 5 '11 at 7:06

Your Answer


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

Browse other questions tagged or ask your own question.