Monday, July 21, 2008

Change IP in SUSE

Change the content of this file:

/etc/sysconfig/network/ifcfg-(yourdevicename)

Example:

BOOTPROTO='static'
BROADCAST=''
IPADDR='192.168.1.65'
MTU=''
NAME='Intel PRO/1000 T Server Adapter'
NETMASK='255.255.255.0'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
UNIQUE='JNkJ.yxXKhRPGaBB'
USERCONTROL='no'
_nm_name='bus-pci-0000:00:09.0'
PREFIXLEN=''

See this file for more descriptions:

/etc/sysconfig/network/ifcfg.template

No comments: