Host Name
Edit file /etc/sysconfig/network
[root@vikas ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=vikas.coralsip.com
[root@vikas ~]#
IP
Edit file /etc/sysconfig/network-scripts/ifcfg-eth(n)
[root@vikas network-scripts]# cat ifcfg-eth0
# Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:40:F4:C1:F0:BB
ONBOOT=yes
NETMASK=255.255.255.0
IPADDR=192.168.4.13
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
BROADCAST=192.168.4.255
NETWORK=192.168.4.0
GATEWAY=192.168.4.254
[root@vikas network-scripts]#
OR use the cmd and edit the host name, ip and dns
neat
system-config-network or
system-config-network-tui or
system-config-network-gui
No comments:
Post a Comment