LINUX Proxy Server route settings-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Route settings
2. edit/etc/sysconfig/static-route
Add a static route
Eth0 (device name) net (Network Address) 192.168.0.0 (subnet) netmask 255.255.255.0 (gateway address) gw
192.168.0.1
3. edit/etc/resolv. conf.
Nameserver 61.139.2.69 nameserver (DNS server) 202.100.4.15 (IP server address of DNS)
4. edit/etc/sysconfig/network
NETWORKING = yes
HOSTNAME = localhost. localdomain
FORWARD_IPV4 = yes
GATEWAY = 192.168.0.1 Internet GATEWAY
GATEWAYDEV = bond0 connection to the Internet 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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service