vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.xxx.xxx
NETMASK=255.255.255.0
GATEWAY=192.168.xxx.xxx
NETWORK=192.168.xxx.0
ONBOOT=yes
TYPE=Ethernet
Merubah Hostname
vi
/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=hostnamebaru.domain.co.id
GATEWAY=192.168.xxx.254
Tidak ada komentar:
Posting Komentar