Solaris - Assign Static IP


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris - Assign Static IP
# 1  
Old 05-12-2010
Solaris - Assign Static IP

Hi,
I have cloned a SOLARIS 8 (BLADE 150) Hard Disk and have put into other system. So, now how do I configure the NIC and assign static IP for this new machine ?
# 2  
Old 05-12-2010
This would be the minimal to do, assuming the NIC is eri0:
Code:
ifconfig eri0 ip-address up
echo ip-address > /etc/hostname.eri0

You then probably want to set a default route, name service configuration, netmasks if required, ...
# 3  
Old 05-12-2010
Quote:
Originally Posted by jlliagre
This would be the minimal to do, assuming the NIC is eri0:
Code:
ifconfig eri0 ip-address up
echo ip-address > /etc/hostname.eri0

You then probably want to set a default route, name service configuration, netmasks if required, ...
Hi,
For just assigning a static ip, is the above two lines enuf ?
# 4  
Old 05-12-2010
basically yes.

however, you may have communication issues if you do not configure other network specific files such as what jlliagre said.
# 5  
Old 05-12-2010
Quote:
Originally Posted by pupp
basically yes.

however, you may have communication issues if you do not configure other network specific files such as what jlliagre said.

1. Can you please provide me a detail on that too ?
2. Also, I would like to change my hostname too ?

And, all settings should be preserved once I reboot the system.
# 6  
Old 05-12-2010
Quote:
Originally Posted by angshuman_ag
1. Can you please provide me a detail on that too ?
You need to provide details first. We can't guess what your network requirements are.
Quote:
2. Also, I would like to change my hostname too ?
Code:
hostname new-hostname
hostname > /etc/nodename

Note that this might be quite disruptive if you have applications that rely on the previous hostname.
Quote:
And, all settings should be preserved once I reboot the system.
Hopefully.
# 7  
Old 05-12-2010
Quote:
Originally Posted by jlliagre
You need to provide details first. We can't guess what your network requirements are.
Code:
hostname new-hostname
hostname > /etc/nodename

Note that this might be quite disruptive if you have applications that rely on the previous hostname.
Hopefully.

My Network requirement is like Salaris A will be MASTER and other Solaris B will networked as a client to this master. Now, this MASTER containns an entry for the Client. So, I want to change this client to that particular IP and Hostname
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris static IP changed (non DHCP)

We have 2 solaris 10 t5240 servers with static IP addresses on nxge0 I/F which were rebooted a few days back with a known good config that has been in place for years (for /etc/hosts, /etc/hostname.nxge0, /etc/netmasks, etc) They are not using dhcp. About the same time today, both of their... (7 Replies)
Discussion started by: hdatontodo
7 Replies

2. Solaris

Solaris 11 problem with static ip

I have installed Solaris 11.2 in VMware Player, networked in bridged mode. When Solaris uses DHCP everything is OK, I can reach internet, as well as other systems on my LAN. When I switch to static, I have connections to my LAN, but can not get to internet, the DNS resolution is somehow not... (2 Replies)
Discussion started by: migurus
2 Replies

3. Programming

Even the Static cURL Library Isn't Static

I'm writing a program which uses curl to be run on Linux PCs which will be used by a number of different users. I cannot make the users all install curl on their individual machines, so I have tried to link curl in statically, rather than using libcurl.so. I downloaded the source and created a... (8 Replies)
Discussion started by: BrandonShw
8 Replies

4. Solaris

How to assign static ip address to the server having solaris 10. i.e. nge0

hi, how to assign static ip address to the server having solaris 10. assign static ip to nge0 which will sustain across reboots which will include all settings including gateway setting etc.. (2 Replies)
Discussion started by: pankajd
2 Replies

5. UNIX for Dummies Questions & Answers

Static IP address for solaris 10 virtual machine

Hi All I am having a solaris 10 virtual machine on vista (using vmware 7) laptop. Now i want to access virtual machine from vista using putty. Problem is that i insalled the solaris machine as dhcp. and whenever i connect to internet or reboot my system the IP address of solaris... (1 Reply)
Discussion started by: ankurk
1 Replies

6. IP Networking

I need HELP to Set up Coyote Linux router with 1 static IP & 64 internal static IP

hello, i need help on setting my coyote linux, i've working on this for last 5 days, can't get it to work. I've been posting this message to coyote forum, and other linux forum, but haven't get any answer yet. Hope someone here can help me...... please see my attached picture first. ... (0 Replies)
Discussion started by: dlwoaud
0 Replies

7. Solaris

How to assign MAC address to N/W interface in solaris

I m having interface ce0 ce1 and its sub interfaces for that. I want to give MAC addresses for the same. How will I assign it. Please give solution for the same (4 Replies)
Discussion started by: sunray
4 Replies

8. Solaris

how to assign the rights to groups in solaris

Hi, how to assign the rights(admin,..) to groups . I can create group using groupadd. but i don't know how to assign rights and adding members please tell me how to do that Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies

9. Solaris

Basic Solaris static routing

Hi All, :(:confused: I have scoured the web and can't find this anywhere. What I am trying to do is set up a static route through an available gateway on a server, and then test connectivity through TELNET. I have done this on AIX (I already had this procedure). On AIX I would use SMIT. ... (7 Replies)
Discussion started by: jeffpas
7 Replies

10. Solaris

Setting up static ip-adresses, Solaris 10

Hello, Iam having problems getting more then one ip to work here is my setup! Hostname: nexus NIC: e000g1 (example ips) My ips 80.80.80.15 to 80.80.80.20 Defaultrouter 80.80.80.1 nameservers 80.80.80.100 and 80.80.80.200 How would i do this? Any help would be mutch appriciated!... (7 Replies)
Discussion started by: empty
7 Replies
Login or Register to Ask a Question