I have done a bit of research but i can find anything for my specific situation.
this is my network infrastructure
The Ubuntu server has a 6TB LVM that serves media + a newsgroup indexer
I want to have one NIC on the server used for internet use and one for serving LAN
I want to limit the Internet using wondershaper so it doesn't max it out for the other 10+ devices on the network.
the other will be open so that serving media isn't hamstrung when I try and limit one of the interfaces.
The problem is that all traffic is pushed through eth0
. therefore if I shape eth0
it also shapes all LAN and internet traffic. I just had a thought about running one of the lan cables directly to the router. At present they are both plugged into the switch.
EDIT: I have now changed it so that eth1 connects to the router directly and Eth0 remains to be connected to the switch
my routing table is as follows.
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0