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 18.104.22.168 dev eth1 scope link 22.214.171.124/25 dev eth1 proto kernel scope link src PREMIUM_IP metric 1 126.96.36.199/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 188.8.131.52 dev eth0 proto static