Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 have a site that uses eth0, which is a saturated gbit line, to deliver streaming media. I want to setup a separate "premium" line on eth1, to give special users "priority access" to the site. I have a 2nd 100mbit dedicated line for this.

Basically, when someone uses it goes thr eth0, when someone uses it would use eth1

I use lighttpd

Cant figure it out....

This is what I have now, yet all traffic still goes thru eth0

[root@localhost ~]# ip route show dev eth1  scope link dev eth1  proto kernel  scope link  src PREMIUM_IP  metric 1 dev eth0  proto kernel  scope link  src REGULAR_IP  metric 1 dev eth0  scope link  metric 1002

default via dev eth0  proto static
share|improve this question
up vote 3 down vote accepted

You need to setup routing to make sure that packets go back out the same interface they came in on. This does not happen by default.

share|improve this answer
No cigar, didnt work. – user11350 Feb 4 '10 at 0:14
it does work. for someone to be able to help you, you are going to need to update your question with the changes that you made to the system after following that guide. – Justin Feb 4 '10 at 1:58

Your Answer


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