12 replies
Hi,
you may like to review the info. re, TCP/IP configuration files at:
Hope this helps.
by noorazman
by cavedweller
Your ip address is set at boot time in the following way: The hostname comes from /etc/hostname.{interface}. If you have the standard 100M utp port the file is /etc/hostname.hme0. The address is set by looking up the hostname in /etc/hosts. Evenif you use a naming service it must be set there (can't query the naming service until the network is up!) The file /etc/defaultdomain sets the domain name. Non-standard netmasks are specified in /etc/netmasks (if you subnet you must set the netmask here).
There are more network-related configuration files but these will get your address changed.
Be sure to use "ifconfig hme0" to check your settings after the system boots.
by noorazman
by noorazman
by dattatray_b
Dear Friend,
Follow the following step :-
1) Step 1 : login as root
2) Step 2 :
# ifconfig cardtype down
(Cardtype : le0 or lme0 etc.)
3) Step 3:
# ifconfig le0 newipaddress netmask newnetmask up
4) Step 4: After this change the /etc/hosts from all UNIX Servers and Workstations with new Server name and IP address
Pl. try out
Regards
D.V.Bhagwat
by noorazman
by west.daniel
Check out the sys-unconfig command. This
may do a little more than you need but it
is a very clean way to change the network
configuration. Basically, it resets the
hostname, NIS, timezone, IP address, subnet
mask, and root password. You then reboot
and go through a subset of the initial
installation screens prompting you to
re-enter this information. Make sure to
check out the man page on sys-unconfig to
be sure you have all of the information it
is going to reset.
by noorazman
by noorazman
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending