Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing ip address from CLI

Status
Not open for further replies.

NAMEIF

Technical User
Oct 4, 2002
24
0
0
GB
Hello

I am attempting to change the IP address and gateway address from CLI. I have done this once before, I have forgotten what i am doing wrong here.

#ifconfig eth-s2pc1co <new ipaddress> netmask <mask>

Is there anything else i must do after this, nothing changes on my interface, in voyager it still shows the old IP address, I need to do it from CLI and not voyager.
Also if you could advise on commands for changign gateway

Many Thanks
 
you should be able to run 'lynx' from the cli and change it in there
 
lynx,

please explain in more details. I am a beginner, and are the commands right that i mentioned earlier.
 
lynx is a text based browser. It allows you to access the voyager stuff from you ssh/telnet/console session. From the CLI type lynx, press return and you're away
 
i have tried this, it is different procedure to what i have done in the past, i am wanting to know the procedure of doing it from directly CLI rather than going via lynx.

Please help

Thanks
 
the command is fine, but is not effectively being applied,

# ifconfig eth-s2p1c0 x.x.x.x netmask x.x.x.x

then when i do

# ifconfig -a

it shows the old ip address of that interface,

I need to change this Ip address for the above interface using CLI.

I have tried rebooting FW still shows old IP address.

 
1) As stoo said, you should be using lynx if you have Nokia

2) You should be using "sysconfig" if you have SPLAT.

3) If you really know what you're doing, you can use "dbset"
to change IP address. to go even further, you can
even edit the /config/active file to accomplish what you
want. one more thing about using dbset command, make sure
you do "dbset :save" before you reboot the device.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top