Home > Archive > Linux/Unix > November 2003 > ifconfig





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ifconfig
speedracer

2003-11-05, 5:06 pm

How do I renew my IP like in windows with ifconfig?


Thanks.
prezbedard

2003-11-05, 7:20 pm

type either man or info before ifconfig it will explain how to use it.
Boulware5

2003-11-05, 7:24 pm

# ifup eth0
# ifdown eth0

That will go out and fetch an IP

# ifconfig eth0 10.111.238.5
Assigns a static IP of 10.111.238.5 to eth0.
dearsanjay

2003-11-06, 1:18 am

Hi folks

you must be looking for some way to change ip address with some powerfull tool/ command utility. ifconfig is one of the simplest and good comman utility that could be used..


remember a word of caution: while using ifconfig you must specify the full lenght ip address , mean ip, netmask, and if needed gateway too.And must see that things went right by using the -a option

COMMAND LINE:

ifconfig eth0 192.175.170.171 netmask 255.255.255.0 up

ifconfig -a eth0

besides you can use "netconfig" , "neat" , but they need some of GIMP modules be loaded( which by default).

ifconfig is a static command line utility.i.e the ip setting gets lost the moment we restart the system . Others are for sure permanent store.

try using others as well and see the difference ...
speedracer

2003-11-06, 11:52 am

cool! thanks for the help!
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2009 examnotes.net