Ubuntu Server 2 NIC's one for LAN and one for Internet one router
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.
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
No comments:
Post a Comment