Configure Network setting in Linux web Hosting Virtual Private Server VPS

In the LINUX Server there is two network setting one is Private and another one is Public network. We configure the network settings as per IPs given to us.

Steps to configure Private network settings
• Vi /etc/sysconfig/network-scripts/ifcfg-eth0
IPADDR=
BROADCAST=
NETWORK=
NETMASK=
GATEWAY=
BOOTPROTO=
ONBOOT=

Configure Name server file
• Vi /etc/resolv.conf
Name Server settings

Configure Router setting
• Vi /etc/sysconfig/network-scripts/route-eth0

stop the iptables
Chkconfig iptables off
by through these conman also you can switch off the iptbales or firewall.

System-config-sercuritylevel
You must Disable firewall and selinux it is very important step.

Service network restart
Network restart screen

Restart network configuration service in Virtual Private Server VPS

Related post