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 media.domain.com it goes thr eth0, when someone uses premium.domain.com 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

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.


  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy