Computing.Net > Forums > Solaris > how to setup IP,Gateway ?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how to setup IP,Gateway ?

Reply to Message Icon

Name: vikkymoorthy
Date: January 30, 2009 at 16:28:38 Pacific
OS: Solaris 10
CPU/Ram: 1 GB
Product: Ibm / E
Subcategory: Configurations
Comment:

Hi all,

I'm a new user of Solaris, I like to know how to setup IP and gateway. I have installed Solaris 10 on x86.

Thanks,

Vikky



Sponsored Link
Ads by Google

Response Number 1
Name: jefro
Date: February 3, 2009 at 19:54:30 Pacific
Reply:

The simple answer is using dhcp when you installed it. If you have a home setup it should be working in most cases.... unless

Solaris is a bit lacking in support for common nics.

Start with ifconfig -a and see what it says. Might have to su to root.

I thought some versions of 10 had a nice little gui screen to config network like other linux os's.

"Best Practices", Event viewer, host file, perfmon, antivirus, anti-spyware, Live CD's, backups, are in my top 10


0

Response Number 2
Name: hiteshthappa
Date: May 10, 2009 at 22:40:37 Pacific
Reply:

Hi
If you are in a network then :-
To setup your ip and gateway do the following:

log in as root anddopen terminal.
if you know which interface you are using then do the following:

1) ifconfig <interface> x.x.x.x up
(x.x.x.x is the IP you want to give or is available)

or if you dont know then:

1) enter the command "ifconfig -a"
Note: identify the interface you are using should be something like one of these rtls0, eht0, etc.
if its not there then enter the command
tail -f /var/adm/messages and plug and unplug your network cable and see the change in the messages and from ther note down your interface name.

2) ifconfig <interface> plumb
3) ifconfig <interface> x.x.x.x up

For gateway:

edit the file /etc/defaultrouter and entee teh gateway ip in this file.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: how to setup IP,Gateway ?

How to setup internet? Solaris 8 www.computing.net/answers/solaris/how-to-setup-internet-solaris-8/4597.html

how to catch ip or get info www.computing.net/answers/solaris/how-to-catch-ip-or-get-info/2713.html

How to set up RAID with A1000 www.computing.net/answers/solaris/how-to-set-up-raid-with-a1000/3472.html