Sponsored Content
Contact Us Forum Support Area for Unregistered Users & Account Problems how to change the ip address in solairs box Post 302162533 by udhayashankar on Tuesday 29th of January 2008 08:49:27 AM
Old 01-29-2008
Quote:
Originally Posted by phatan
Hi,

How to change the ip address in solaris box , I have gone like this
fist i have #ifconfig <interface> 10.3.14.11 up
then i have edited in /etc/hosts and /etc/nodename.
i dont know how to start the services and is it complusary to reboot.
if i am wrong please guide me.

Please hlep me -- Thanks in advance.
Phatan
To change the ip address in solaris
#ifconfig eri0 10.3.14.11 up
There is no need to edit the host and nodename files manually, All the host config files will get updated automatically...
to start the services in solaris10 you have to user svcadm
 

10 More Discussions You Might Find Interesting

1. IP Networking

change my current IP address

Dear All , I have Sun Solaris 8 machine . during installation i gave the machine ip address 192.168.0.50 and gatway 192.168.0.1 . now i hvae to change the IP address and the gateway ! how ?? i know i have to use ifconfig , but how can i change it and the gateway ??? also where from i... (4 Replies)
Discussion started by: tamemi
4 Replies

2. UNIX for Dummies Questions & Answers

How do I get the IP address of my local unix box???

Hiya all, How do I get the IP address of my local unix box??? IPconfig - don't exist nslookup - only for other boxes.... I have my Fedora Server now on the office network. Can ping others, can get onto internet via web proxy.... Also: How do I create a Drive Share, so our windows... (9 Replies)
Discussion started by: marty 600
9 Replies

3. IP Networking

How to change IP address

Can anyone tell me how to change the IP address on a unix server, as I have no idea whatsoever. Thanks (2 Replies)
Discussion started by: itservices
2 Replies

4. IP Networking

Change a Unix IP address

I have purchased a Dec unix Ver 3.2c machine that is about ten years old. I need to get this machine on our network (windows 2003 domain) so I can copy files to it. I know I need to change the IP address, but where and how do I change it? What else do I chang? Thanks Randy (8 Replies)
Discussion started by: randy1
8 Replies

5. Programming

[C] Change IP and MAC address

Hello, I need to write a program using C language which allow me to change the IP and MAC addresses of a given interface... Now I fork the process and by exec I'm using the "ifconfig interf X.X.X.X" command... but i can't use this solution because i have to avoid the context switch... Can someone... (4 Replies)
Discussion started by: gilby985
4 Replies

6. UNIX for Dummies Questions & Answers

[Solved] Box with a new MAC address can't connect to the internet

Hi, i replaced one of my UNIX machines last week, the old box had an external IP address before. Everything is the same as the previous box and the only difference is the new one has a different MAC address (of course, since the mother boards are different). The problem is the new machine can't... (2 Replies)
Discussion started by: tezarin
2 Replies

7. Forum Support Area for Unregistered Users & Account Problems

Change email address

How can I change email address registered with my unix.com account (1 Reply)
Discussion started by: hiten.r.chauhan
1 Replies

8. UNIX for Dummies Questions & Answers

How can i change the ip address in RHEL 6?

I need to change the ip address in RHEL 6 . Please tell me the files to be edited....complete procedure.......... Don't tell the graphical method ........ Explain everything in CLI ........... Thanks in Advance:b: (3 Replies)
Discussion started by: vamshigvk475
3 Replies

9. IP Networking

Cannot change mac address

ubuntu / xubuntu 13.10 and 14.04 (this issue should exist in debian as well) I use wifi to connect to internet. I would like to change the wifi card mac address before connecting. Let's call the original mac address, macA, and the new mac address, macB. I do the following: ifconfig wlan0... (2 Replies)
Discussion started by: arpagon
2 Replies

10. UNIX for Beginners Questions & Answers

Resolution Won't Change on Headless Linux Box?

Hello All, Wasn't sure if I was supposed to post this under Hardware so posting here... Device: CuBox-i OS: OpenSuSE 13.1 Uname: Linux CuBox-PC 3.14.14-cubox-i #1 SMP Sat Sep 13 03:48:24 UTC 2014 armv7l armv7l armv7l GNU/Linux Window Manager: XFCE Display Manager: lightdm (*XDM?) I... (2 Replies)
Discussion started by: mrm5102
2 Replies
HOSTADDR(1)						      General Commands Manual						       HOSTADDR(1)

NAME
hostaddr - show ethernet address, IP address or hostname SYNOPSIS
hostaddr [-eia] [-E eth-device] [-I ip-device] DESCRIPTION
Without any of the -eia options, hostaddr shows the ethernet address, IP address and hostname of the local host on one line in the given order. With options only the wanted fields are shown, still in the same order, not in option order. OPTIONS
-e Show the ethernet address. -i Show the IP address. This will not work if no IP address has been found by RARP or by setting it with ifconfig(8). -a Show the fully qualified hostname. The IP address is shown again if it can't be translated to a host name. (This usually indicates that the DNS reverse address translation tables are incomplete.) SEE ALSO
ifconfig(8), rarpd(8), nonamed(8), set_net_default(8), boot(8). DIAGNOSTICS
"Timeout" Hostaddr timed out trying to get the IP address. This means that the network connection is out of order or that the setup of the machine is bad. AUTHOR
Kees J. Bot (kjb@cs.vu.nl) HOSTADDR(1)
All times are GMT -4. The time now is 11:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy