Solaris: LAN config ?

Posted on 2005-03-22
Medium Priority
Last Modified: 2013-12-21
How can I change IP address of my ethernet card? My current ethernet was in eri0: then change it to with the same gateway and netmask.

Guys, hope u can help me.
Question by:rodh_z
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 38

Accepted Solution

wesly_chen earned 500 total points
ID: 13604799

   Edit /etc/hosts file to reflect the change of IP   <hostname in /etc/hostname.eri0>

   The reboot the machine or do
ifconfig eri0 down; ifconfig eri0 netmask up
to change the IP without reboot. (/etc/hosts needs to be change so your IP will keep the changed one after reboot).


LVL 38

Expert Comment

ID: 13604805
Ooops, typos, it should be
Then reboot the machine or do....
LVL 38

Expert Comment

ID: 13608761
Please have a look at my answer in http:Q_21141856.html
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

LVL 16

Expert Comment

by:Hanno P.S.
ID: 13613460
For each network interface, there is a file named
in which you can either ut the IP address directly or (recommended) the host's name,
which than in turn must be found in /etc/hosts
LVL 16

Expert Comment

by:Hanno P.S.
ID: 13613473
Additionally, you can define netmask settings in the file /etc/netmasks and the default router in /etc/defaultrouter

Author Comment

ID: 13689752
Thnks Guys,

I tried ifconfig eri0 netmask up without reboot, it works.


Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month14 days, 16 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question