|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
set ip address
I'm new to Solaris.
How do I set a server's IP address? Thanks in advance. |
| Sponsored Links | |
|
|
|
#2
|
||||
|
||||
|
ifconfig
The ifconfig command binds IP addresses to network interfaces.
|
| Sponsored Links | ||
|
|
|
#3
|
|||
|
|||
|
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
|
|||
|
|||
|
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 | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SCO get MAC Address | jcarter2333 | 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 | 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 |
|
|