Changing The Ip Address - IBM N Series Hardware Manual

System storage
Hide thumbs Also See for N Series:
Table of Contents

Advertisement

Changing the IP address

To change the IP address of a filer, perform these steps:
1. List the contents of the /etc/hosts file to note the N series name and associated IP
address. For example, in the following listing, the filer's name is n3300a, its IP address is
9.11.218.146, and it is associated with interface e0a (Example A-16).
Example A-16 List host name
n3300a> rdfile /etc/hosts
#Auto-generated by setup Sat May 5 23:06:14 GMT 2007
127.0.0.1 localhost
9.11.218.146
# 0.0.0.0
2. To change the network IP address, run this command:
ifconfig <interface_name> <new_IP_address> netmask <mask>
Prerequisite: You must be connected to the console to use this command. If you are
connected by telnet, the connection will be terminated after running the ifconfig
command.
See Example A-17.
Example A-17 Changing network IP
n3300a> ifconfig e0a 9.11.218.147 netmask 255.255.255.0
n3300a> netstat -in
Name
e0a
e0b*
lo
3. If you want this IP address to be persistent after the N series is rebooted, update the
/etc/hosts for IP address changes in the associated interface. For netmask and other
network parameters, update the /etc/rc. You can modify this file from the N series
console, CIFS, or NFS. The example uses a CIFS connection to update these files. See
Figure A-10.
Figure A-10 Listing host name from Windows
n3300a n3300a-e0a
n3300a-e0b
Mtu
Network
Address
1500 9.11.218/24 9.11.218.147
1500 none
none
8160 127
127.0.0.1
Ipkts Ierrs Opkts Oerrs Collis Queue
33k
0
13k
0
0
0
52
0
52
Appendix A. Getting started
0
0
0
0
0
0
0
0
0
311

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents