Skip to content
Advertisements

Archive for

Change ip address using linux terminal

Change network ip address

[root@siebelpoc ~]# system-config-network-tui

Enter

Select your ethernet & Enter

Change the ip address

After change it. restart network service.

 [root@siebelpoc ~]# service network restart

Additionaly If you want check your network ipaddress and default gateway

[root@siebelpoc ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:23:7D:24:03:BA
ONBOOT=yes
DHCP_HOSTNAME=siebel.ace-ins.com
TYPE=Ethernet
IPADDR=xx.xx.xx.xx
NETMASK=255.255.255.0
GATEWAY=xx.xx.xx.xx
USERCTL=no
IPV6INIT=no
PEERDNS=yes
[root@siebelpoc ~]#
Advertisements