Routing packets to different available networks using process' pid / uid

2

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 ?

Animesh Sinha

Posted 2011-08-05T06:18:09.483

Reputation: 21

1What OS are you talking about? – Zoredache – 2011-08-05T06:31:28.287

my OS is Ubuntu 11.04 Linux Kernel 2.6.38 – Animesh Sinha – 2011-08-05T06:43:01.537

No answers