Setup a default Gateway
vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=wan.nixcraft.in
GATEWAY=74.86.49.129
NETWORKING_IPV6=yes
HOSTNAME=wan.nixcraft.in
GATEWAY=74.86.49.129
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0" HWADDR=specifc mac address NM_CONTROLLED="no" ONBOOT="yes" BOOTPROTO="static" IPADDR=ip address here. NETMASK=netmask here.
vi /etc/resolv.conf
nameserver 8.8.8.8 nameserver 8.8.4.4
/etc/init.d/network restart
ไม่มีความคิดเห็น:
แสดงความคิดเห็น