You may now get your CentOS installs and updates locally on Limestone’s network. When routed correctly, it will not count against your monthly bandwidth.
Yum Configuration
Edit the config:
1 |
vi /etc/yum.repos.d/CentOS-Base.repo |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
[base] name=CentOS-$releasever - Base baseurl=http://centos.mirror.cust.lstn.net/$releasever/os/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 [update] name=CentOS-$releasever - Updates baseurl=http://centos.mirror.cust.lstn.net/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 [addons] name=CentOS-$releasever - Addons baseurl=http://centos.mirror.cust.lstn.net/$releasever/addons/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 [extras] name=CentOS-$releasever - Extras baseurl=http://centos.mirror.cust.lstn.net/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 [centosplus] name=CentOS-$releasever - Plus baseurl=http://centos.mirror.cust.lstn.net/$releasever/centosplus/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 |
Correctly Route the Traffic
1 |
ip route add 10.0.0.0/8 via <strong>private-gateway-ip</strong> dev <strong>private-interface</strong> |
1 |
10.0.0.0/8 dev <strong>private-interface</strong> |
1 |
10.0.0.0/8 dev eth1 |