The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SCO get MAC Address jcarter2333 High Level Programming 11 02-08-2007 09:51 AM
How to Achive IP address through MAC(Ethernet) address krishnacins IP Networking 3 08-29-2005 08:45 PM
ce0 and ce1 have the same mac address BG_JrAdmin SUN Solaris 2 07-08-2005 07:30 PM
network address and broadcast address? pnxi UNIX for Dummies Questions & Answers 7 11-10-2003 11:29 PM
IP address krishna UNIX for Advanced & Expert Users 10 03-20-2002 05:36 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-11-2001
confused confused is offline
Registered User
  
 

Join Date: Jul 2001
Posts: 1
set ip address

I'm new to Solaris.
How do I set a server's IP address?

Thanks in advance.
  #2 (permalink)  
Old 07-11-2001
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,522
ifconfig

The ifconfig command binds IP addresses to network interfaces.
  #3 (permalink)  
Old 07-12-2001
htsubamoto htsubamoto is offline
Registered User
  
 

Join Date: Jun 2001
Posts: 41
If you wanto to set ip address and keep this address after boot, edit your /etc/hostname.interface file, where interface is the interface you want to bind the address. If this file contains the hostname of your system you can also change the ip address in /etc/hosts file.
Note: if you have more than one NIC, there must be the same number of /etc/hostname.interface files as NICs you have. By default, solaris only creates the hostname.interface file for the first NIC in your system. If you want to bind an IP addres to another card, you must put the IP address in these files (/etc/hostname.interface)

Regards

HTT
  #4 (permalink)  
Old 07-12-2001
htsubamoto htsubamoto is offline
Registered User
  
 

Join Date: Jun 2001
Posts: 41
I missed that... the procedure I sent before must be used if you want to change the servers local IP address, or if you want to bind a new IP address to another NIC. If you want to change the ip resolution of a server's name, as NEO said, change it in the DNS server.

HTT
Sponsored Links
Closed Thread

Bookmarks

« Network??? | statd »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:44 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0