The UNIX and Linux Forums  

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 08: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 10:29 PM
IP address krishna UNIX for Advanced & Expert Users 10 03-20-2002 04:36 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-11-2001
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.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-11-2001
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 5,905
ifconfig

The ifconfig command binds IP addresses to network interfaces.
Reply With Quote
  #3 (permalink)  
Old 07-12-2001
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
Reply With Quote
  #4 (permalink)  
Old 07-12-2001
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Bookmarks

Tags
None

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

Advanced Search
Display Modes Rate This Thread
Rate This Thread:




All times are GMT -4. The time now is 11:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66