IP Set-Up Solaris 10 vs Solaris 8


 
Thread Tools Search this Thread
Operating Systems Solaris IP Set-Up Solaris 10 vs Solaris 8
# 1  
Old 09-30-2008
IP Set-Up Solaris 10 vs Solaris 8

Ralf indicated what to do for Solaris 8, is this the same in Solaris 10?

EA


You set your gateway in /etc/defaultrouter. Edit that file with the new IP you need.

To set the IP of the machine you change the entry in /etc/hosts for the hostname of the machine. Make sure /etc/hostname.hme0 (or whichever interface you are using) has the correct hostname in it.

Change both of those and reboot and you'll be all set. If you want to do it without rebooting, make those changes so it does come up correctly next time then do the following:

1. Use the route command to set your default route on the fly. It should be*

route add default IP_OF_GATEWAY

but check man route to be sure you get the syntax right for what you're needing to do.

2. Use ifconfig to change the IP address of the interface on the fly. It should be

ifconfig hme0 down
ifconfig hme0 NEW_IP_ADDR
ifconfig hme0 up

Again, use the correct interface if you're not on hme0.

Good luck!

Ralph
# 2  
Old 09-30-2008
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Set ACL permissions Solaris

I want to set ACL permissions using this command in solaris 10 , but I get an error message. server# mkdir dir1 server# setfacl -m user:allan:rwx dir1 setacl error: Operation not applicable Any one can help in this matter. Please use CODE tags as required by forum rules! (2 Replies)
Discussion started by: AbuAliiiiiiiiii
2 Replies

2. UNIX for Dummies Questions & Answers

set -o vi not working in Solaris 9

Hi Got 2 solaris boxes - one uses set -o vi happily (put it in .profile) The other reports: -o: bad option(s) Both are solaris 9 and both users have $SHELL set to /bin/ksh Any ideas?? Thanks (4 Replies)
Discussion started by: robbien
4 Replies

3. Solaris

I can't set locale in Solaris 8

Hi gentlemen. I would change LANG=C to iso_8859_5. I have tried some variante, but it doesn't work. Thanks. (24 Replies)
Discussion started by: wolfgang
24 Replies

4. Solaris

Set up solaris boot server only

Is it possible to set up a boot server only ( no install server ) for booting up the systems from network for recovery purposes ? What are the steps included for it ? (1 Reply)
Discussion started by: fugitive
1 Replies

5. Solaris

C Set++ compiler on Solaris

Can we use C Set++ compiler on Solaris for converting 32-bit application to 64-bit? I wants to use it with lint tools for finding out the erros while porting a code. Any pointers will be helpful. (1 Reply)
Discussion started by: amit_27
1 Replies

6. Solaris

Can I set sun trunking1.3 with solaris 8?

My scenario as below. sun server(8.0) --trunk setting ( (1Gbps/1 port) X3 )---> switch network (cisco) -> nfs server. I use sun trunking software verion 1.3. and also set nfs tcp. After I setup, The data transfer only 1 port and speed is about 20MB/s. I also try to set LACP at both... (0 Replies)
Discussion started by: nataris
0 Replies

7. Solaris

Solaris 10 kernel Params, Set/Get?

I am experienced with Solaris 8 where this type of thing was handled from /etc/system but now I have a Solaris 10 server and I am having trouble determining how to interact with the kernel parameters. I need to know how to check the values of the following, of the DB people I work with. MAX... (8 Replies)
Discussion started by: NewSolarisAdmin
8 Replies

8. UNIX for Dummies Questions & Answers

Where are Oracle variables set in Solaris 5.9

Hi, It is solaris 5.9, and Oracle 10G is the database. If i login as user, and give 'env' command i can see the Oracle environment variables are set. PATH=/usr/bin:/usr/sbin:/usr/lib:/etc/ssh:/opt/oracle/app/oracle/product/10.2.0/db_1/bin:/opt/oracle/crs/oracle/product/10.2.0/crs_1/bin... (1 Reply)
Discussion started by: scriptlearner
1 Replies

9. Solaris

How to set history key in Solaris

Hi Solaris guys, I just have my solaris 10 setup on x86 old box... How can i get history key? eg. Linux using up/down arrow key to call history command... HPUX using Esc-k How can i do the samething in Solaris? Thanks in advanced! Regards, gary (3 Replies)
Discussion started by: timontt
3 Replies

10. Programming

character set solaris

hi , i am trying to work on a script that transforms some special Dutch characters and send them to a Xerox printer .. the problem is that while doing so iam unable to identify th correct character set that is used by solaris , to transfer these characcters to Xerox character set . thanks... (2 Replies)
Discussion started by: ppass
2 Replies
Login or Register to Ask a Question