Solaris Network doesn't work properly


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris Network doesn't work properly
# 1  
Old 06-05-2007
Solaris Network doesn't work properly

Hi to all!

I want to learn step by step easily how to configure my Solaris for network. I know alot about Solaris Network configuration. But I have some problems.

When I install Solaris, and I plug-in my network cable to Solaris. Then I run:
ifconfig -a plumb
then I do
ifconfig bge0 dhcp

It don't get IP from dhcp.

I edited my /etc/default/defaultrouter file and I removed comment of SIG TERM (something like this) comment and I restarted. But again it don't get IP from my dhcp server. BUt all other Linux and Windows OS runnig computers in my network does.

And when I give my IP address manually with ifconfig, I cannot ping from my windows OS to hostname of Solaris.

my solaris OS's hostname is Solaris.
When I ping in windows to ping Solaris... It cannot find my pc
but when I try to ping to SOlaris OS's IP I can...

Please advice about networking basics in SOlaris.

Thanks alot
# 2  
Old 06-05-2007
When you are pinging the hostname you need to have DNS on your network. If you dont have a server running DNS you could always work around that by adding the name and IP in the windows host file (not always recommended) .
# 3  
Old 06-06-2007
Thanks

Thanks for response...

But that is not my first and last problem.

First: If I should have DNS server, so why all my Linux and windows computers can ping each other in my network?

Second: Why my solaris box cannot get IP from my DHCP server?
I did sys-unconfig and I set my network settings to get IP from DHCP server, but after 10 min it said failed to get IP. why?

How can I configure my solaris workstation to get IP from DHCP server?

I have Solaris 10 with kernel 5.10

Thanks
# 4  
Old 06-06-2007
Again

It not worked...

In my dhcp server, I cannot see Solaris hostname listed. Therefore I cannot ping to my solaris workstation. But all other computers in my network, I have their name in my network and I can see them.

In my DHCP server I see all hostnames, but I cannot see my Solaris OS's hostname...Why?

I went to sys-unconfig page and I set my network settings to get IP from DHCP server... But after a lot of time it failed... I don't know why?

I cannot see SOlaris Hostname in my dhcp server. It seems Solaris don't connect to dhcp sever and don't sends it's own hostname and don't gets IP address from DHCP server...

How I can solve this?
# 5  
Old 07-21-2008
MySQL vijay..

Try this.

ifconfig "interface name" dhcp release
ifconfig "interface name" dhcp start or auto dhcpSmilie

if you got resolved , post the steps .. will be usefull for forum members.
# 6  
Old 07-21-2008
ifconfig -a plumb is wrong syntax
you should use ifconfig bge0 plumb instead
# 7  
Old 07-21-2008
what are your contents within /etc/hosts, /etc/inet/ipnodes? And the OS release you're running?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Drop_caches doesn't work on Solaris but works on RHEL6

Hello Experts, I am performing performance tests on a few mysql select queries. I use the following command to clear the memory disk caches. sync && echo 3 | sudo tee /proc/sys/vm/drop_caches I however see that the above command works on RHEL6 but doesn't work on Solaris 10. I asked... (4 Replies)
Discussion started by: Anirudh Kumar
4 Replies

2. Red Hat

TAB button doesn't work properly

Hi, I have list of files under a directory as shown below. /home/root -rw-r--r-- 1 user 0 Aug 27 06:08 rough.txt -rw-r--r-- 1 user 0 Aug 27 06:08 test.sh Now when i use to read the rough.txt, i did cat r and then pressed TAB button. Below is the resulting string after pressing TAB... (2 Replies)
Discussion started by: vel4ever
2 Replies

3. Solaris

Mount command doesn't work on Solaris System

Hi All, I am using a solaris Sun-Fire-V440 server. The OS is solaris. My problem is whenever I run the command mount | grep "^/ " | sed -e 's,^.*dsk/\(*\).*$,\1,' it should return a disk value as "d30" as it does on each of my other servers.But on this server I am not getting any o/p from... (3 Replies)
Discussion started by: vivek.goel.piet
3 Replies

4. Solaris

Solaris 10, Samba 358 doesn't work after patching

Hi Forum, I updated my Solaris 10 (10/09) with the current Oracle patch file and moved the smb.conf to /etc/samba/smb.conf. Anyway, since patching, no Windows client is able to connect the share. It says password is wrong, but its the right pw. My smb.conf: bash-3.00# cat... (4 Replies)
Discussion started by: borsti007
4 Replies

5. UNIX and Linux Applications

Gvim doesn't work properly

Hello All, I am using gvim ( redhat linux machine). backspace doesnot work properly. can some boby suggest a solution ? i have checked with older version. backspace works in it. Thanks Shiv (1 Reply)
Discussion started by: shiv.emf
1 Replies

6. Solaris

grep -e doesn't work on solaris

grep -e doesn't work in Soalris. Same script with grep -e worked on AIX/HP/LINUX.. I would like to search a list of patterns on "log.txt" like ... grep -e FATAL -e ERROR log.txt I get the error message as grep: illegal option -- e Usage: grep -hblcnsviw pattern file . . . (3 Replies)
Discussion started by: jmkraja
3 Replies

7. UNIX for Dummies Questions & Answers

Mail/Xmail doesn't work on Solaris 10

Hi again everyone. I have recently installed Solaris 10 on a server. Everything seems to work fine (users can be added and can log in, internet connectivity works, etc). However I'm struggling to get mail or mailx to work. Say there are two users on my server, Bob and Mary. Server hostname... (3 Replies)
Discussion started by: EugeneG
3 Replies

8. HP-UX

pstat_getdisk() call doesn’t work properly in HPUX 11.31 (11i V3)

As per the man page, pstat_getdisk() call returns the number of instances, which could be 0 upon successful completion, otherwise a value of -1 is returned. Please have a look at this sample program -> #include <stdio.h> #include <sys/pstat.h> int main() { int j = 0, ret; struct... (2 Replies)
Discussion started by: sandiworld
2 Replies

9. Shell Programming and Scripting

ls -d doesn't work on Solaris

Hello, the ls -d command to only list directories in a directory doesn't seem to work on Solaris and the man command says to use that combination: ls -d Anyone have the same problem and find a resolve? Thanks BobK (9 Replies)
Discussion started by: bobk544
9 Replies

10. UNIX for Advanced & Expert Users

rcp on solaris doesn't work

Hi I have 2 Solaris boxes A and B, A running solaris 9, and B running solaris 6. when i try to use rcp on A like this:- A> rcp file.txt B:/path/file.txt I get into standard input and nothing happens!! Then On the target machine B, if i try, B> rcp otherfile.txt B:/path/otherfile.txt... (1 Reply)
Discussion started by: 0ktalmagik
1 Replies
Login or Register to Ask a Question