Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

61.43.52.242 dev eth1  scope link

61.43.52.128/25 dev eth1  proto kernel  scope link  src PREMIUM_IP  metric 1

75.12.33.0/24 dev eth0  proto kernel  scope link  src REGULAR_IP  metric 1

169.254.0.0/16 dev eth0  scope link  metric 1002

default via 1.3.3.7 dev eth0  proto static
share|improve this question

1 Answer 1

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.

http://lartc.org/howto/lartc.rpdb.multiple-links.html

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

 
discard

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