LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 08-07-2008, 06:24 AM   #1
soumalya
Member
 
Registered: Nov 2006
Posts: 260

Rep: Reputation: 31
solaris ip addresing problem


Sir

i am using solaris sparc 10. my ip is 192.168.101.100 255.255.254.0

1)but when i try ping from 192.168.10 series its int pinging but when 192.168.101. series its fine

2)i cant change my ip also when i change graphically after rebooting it remain same

pls help me to solve these two proble?


thanks in advance
 
Old 08-07-2008, 07:59 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
1: either a broadcast address mismatch or a missing route

2: have a look at the /etc/hostname.<your-interface-name-here> and /etc/hosts files.
 
Old 08-07-2008, 09:38 AM   #3
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
I'd bet the netmask is wrong on one side or the other. 255.255.254.0 on the 101 side means it 192.168.100 and 192.168.101 are on the same wire, so its going to route 192.168.10.x to its default route. I'm guessing that the 192.168.10.x side has a mask of 255.255.0.0 so it thinks that 192.168.101.x is on the same wire as it is so the packets never reach their destination.
 
Old 08-07-2008, 10:27 AM   #4
Rowley
Member
 
Registered: Jul 2008
Distribution: Solaris 10, OpenSolaris, CentOS 5
Posts: 40

Rep: Reputation: 15
Two things you must do first:

1/ route get 192.168.10.0
c/ netstat -rn

I'll bet goooooooogle has some great hits if you type in "change IP solaris"
 
Old 08-07-2008, 10:27 PM   #5
eggixyz
Member
 
Registered: Apr 2008
Posts: 310

Rep: Reputation: 30
Hey there,

If you've set everything up to point back to /etc/hosts and /etc/netmasks, you should only have to change your IP there and, if you want to avoid using ifconfig and route, just reboot. /etc/hostname.* /etc/inet/ip*, etc should all contain the name and /etc/nsswitch.conf should instruct the "host" lookup to check "files" either before or after any other methods you have listed.

Could be I'm misunderstanding your issue as well. I would recommend changing it by using the CLI, rather than the GUI and check to see if you need to add a static route. The problem might be really obvious from the command line.

This link is for changing the hostname, but just make sure your IP is in /etc/hosts and that all the other files refer to the host by name, so you don't have to update multiple files to change your IP

http://linuxshellaccount.blogspot.co...s-machine.html

Best wishes,

Mike
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Cool distro of the day: Damn Small Solaris (yes, I said Solaris) LXer Syndicated Linux News 0 02-26-2008 01:20 AM
LXer: Compiz on Solaris x86 - Eye Candy for Solaris’s Desktop LXer Syndicated Linux News 1 05-30-2007 02:31 PM
LXer: Hp Puts Solaris on More X64 Servers, Partners for Solaris Emulation LXer Syndicated Linux News 0 02-07-2007 07:21 AM
great solaris website for newbies http://solaris-x86.org/ feetyouwell Solaris / OpenSolaris 2 12-06-2006 12:14 AM
Not as much of a Solaris problem rether hardware Ultra 10 problem (video card) neo77777 Solaris / OpenSolaris 7 06-24-2003 08:36 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration