IP configuration in Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris IP configuration in Solaris
# 1  
Old 06-20-2012
IP configuration in Solaris

Hi Experts,

- I have below two queries, please suggest.
1) I have 2 IP's in my server and want to remove 1 of the ip, so which are the files i need to modify as of my knowledge we need to modify (1) /etc/hosts remove the unwanted ip
(2) /etc/hostname.interface_name
Please suggest if any thing more i need to modify.

2) when i run "ifconfig -a" on the global server it shows x no of interfaces and vertual interfaces, how to identify which is the global server ip or interface.

Please advice, Thanks in advance.
# 2  
Old 06-20-2012
To stop Solaris configuring the interface at boot time remove the file /etc/hostname.<interface>

/etc/hosts is purely a "lookup" table. It is used to lookup the ip address of the hostname it finds in /etc/hostname.<interface> Nothing more than that.

To see what interfaces are being used by global and/or zones use the zoneadm command.

Remember that an ip interface can be shared between global and zone OR used exclusively by a zone.
This User Gave Thanks to hicksd8 For This Post:
# 3  
Old 06-21-2012
Thaks for the prompt reply,

My second question i still have a confusion, i mean i have a global server and it contains 4 zones, i want to find out what is the ip address assigned to global server or what interface it is using. Thanks in Advance.
# 4  
Old 06-21-2012
Code:
ifconfig -a

will tell which virtual interfaces are placed into non global zones with the "zone" keyword.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris configuration details.

How to find the entire configuration details of a solaris. I need to know what partion were made, which OS is used and wat version is used etc... Thanks to tell (4 Replies)
Discussion started by: kkalyan
4 Replies

2. Solaris

Solaris Zone configuration

So I have a zone, called assist. the server is running, I bound the network adapter to ce3, but it doesn't seem to work. I can't get out to the internet. I can ping the device from the host, but not from my desktop. here is the network configuration from the zone side: # ifconfig -a... (3 Replies)
Discussion started by: Kjons76
3 Replies

3. Solaris

Solaris Network Configuration

Hi How do I configure a network card in Solaris 10? using the command ifconfig, and also please advise me for persisting this ip address what are the files newly created and modify. I am a new baby in solaris:) (4 Replies)
Discussion started by: vipinmurali
4 Replies

4. Solaris

Solaris RSC configuration

Hi everyone, I've been reading across to configure the RSC that came with my SunFire v890 (along time ago) but I think there are several points I don't completely understand. First, I think I need a new IP address for the RSC, right? where should I attach the RSC? to my network (the same as the... (2 Replies)
Discussion started by: gcrespo
2 Replies

5. Solaris

SSH configuration in solaris 10

hye guys..i'm new here..just want to ask how to configure SSH service in solaris 10?? hope you all will help me..tq (2 Replies)
Discussion started by: FaiRiZuL
2 Replies

6. UNIX for Dummies Questions & Answers

DNS Configuration in Solaris 10

Hi All, I have a list of few DNS server with hostnmae and IP which I need to setup in Solaris Servers...Can any one pls tell me the steps for setting up the above in solaris 10 & 9???? (4 Replies)
Discussion started by: solaris5.10
4 Replies

7. Solaris

Solaris 10 Zones configuration

Help!!?? I have 2 zones showing 10.0.0.0 that needs to be deleted off the routing table. When i try to run #route delete 10.0.0.0:10.251.1.202 i get a insuffiecnt privileges message...So i assume i have to run it on the global zone. When i run the same command, #route delete... (1 Reply)
Discussion started by: 23patrick
1 Replies

8. UNIX for Advanced & Expert Users

SAN Configuration in Solaris

Hi, I have 4 servers that I connected SUN HBAs on. (SAN is IBM - ESS 800 with Brocade switch) I installed the SAN foundation kit, IBMsdd drivers, Solaris Patch 108974-50 & SANsurfer CLI. (I'm running Solaris 8 - HBA is SG-XPC11FC-QL2 On 1 of the 4 servers show the HBAs as CONNECTED, but... (3 Replies)
Discussion started by: Remi
3 Replies

9. Solaris

SAN Configuration in Solaris

I Have IBM ESS 800, trying to configure SAN storage using Fiber card. I installed the SDD driver & can see the disks however, when I did # datapath query device I have the disks shown in slices # ./datapath query device Total Devices : 8 Dev#: 0 Device Name: vpath1a Type:... (0 Replies)
Discussion started by: Remi
0 Replies

10. UNIX for Dummies Questions & Answers

FTP configuration in Solaris 5.7

Hi everybody ! How can I configure the ftp in solaris systems ? Wich files ? To resume : I want to create a user wich can get from a ftp session running from a PC, some files without going up in the directories. If I attached the ksh or sh shell to the user, he can go wherever he wants. If I... (7 Replies)
Discussion started by: MarcoW
7 Replies
Login or Register to Ask a Question