Skip to content

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 ~]#
2 Comments Post a comment
  1. hearthrobes #

    thanks Azar

    February 21, 2012

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: