On the internet often see a lot of friends on the Linux platform to set up the Internet Café Server question more, the real meaning of the solution is not many, after a lot of references to the article after the continuous testing finally succeeded, so with this article, nonsense less said, we began. I'm using the RED9 version, and the rest is very similar.
The installation process is very simple, after installation, we need to modify the files are mainly the following:
Receptacle This file means the main http://www.aliyun.com/zixun/aggregation/35922.html "> network settings file
Ifcfg-eth0 eth0 This file means the NIC settings file
Ifcfg-eth1 eth1 This file means the NIC settings file
Hosts this file means the network host name configuration
Static-routes This file means static routing table files
Rc.local IPTABLES This file means script
sysctl.conf Linux This file means kernel IP forwarding enable files
These files correspond to the following directories:
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth1
Hosts
/etc/sysconfig/static-routes
/etc/rc.d/rc.local
/etc/sysctl.conf
First of all, we modify the Ifcfg-eth2 (we later connect Netcom ip:11.11.11.11) ifcfg-eth1 (telecommunications ip:22.22.22.22) and Ifcfg-eth0 (intranet) three files. This is the IP address file of the NIC!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.