?
Solved

Solaris 8 can't ping

Posted on 2003-03-09
27
Medium Priority
?
746 Views
Last Modified: 2013-12-21
I have 3 pcs. I configured 2 of theses with windows 2000 pro and one with solaris, everything goes fine. but I can't ping from my machine with solaris 8 (intel) or ping to this machine (between the windows machines I can ping). The network card on solaris seens to be correctly configured. below follows the contents of my setup files:

###/etc/hosts

127.0.0.1 localhost
10.60.10.98  alesterpc1 loghost //solaris machine
10.60.10.99  walesterpc1        // windows machine
10.60.10.100 walesterpc2        // windows machine

###/etc/nsswitch.conf

hosts : files dns

###/etc/hostname.elxl0

A.B.C.98

###/etc/hostname6.elxl0

A.B.C.98

###/etc/defaultrouter   (empty)



When a do ifconfig -a the answer is :

lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
     inet 127.0.0.1 netmask ff000000
elxl0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
     inet 10.60.10.98 netmask ffffff00 broadcast 10.60.10.255
     ether 0:1:2:6a:cf:cf
lo0: flags=2000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6> mtu 8252 index 1
     inet6 ::1/128
elxl0: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
     ether 0:1:2:6a:cf:cf
     inet6 fe80::201:2ff:fe6a:cfcf/10
                       

Do you know what i'm doing wrong?

0
Comment
Question by:alester
[X]
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
27 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 8100955
Are you using fix ip for the Solaris box?

If you are using fix ip:
1).
/etc/hostname.elxl0
should containing your hostname, and you should also put the infor in /etc/hosts file.
2). put your router ip in /etc/defaultrouter,
eg:
echo "123.12.10.1" > /etc/defaultrouter  
3) Put you DND server infor in:
/etc/resolv.conf
eg:
nameserver 123.12.10.5
search your-search-domainname
4). reboot

If you are using the Solaris box as a HDCP client:

1) create the 2 empty files:
cat /dev/null > /etc/hostname.elxl0
cat /dev/null > /etc/dhcp.elxl0

2) reboot





0
 
LVL 10

Expert Comment

by:elf_bin
ID: 8101838
You have both IP4 & IP6 loaded, is that required?  I'd remove one (i.e.: simplify!)

Put in your name servers in /etc/resolv.conf (if you have any).

10.x.x.x is a private network & the default subnet mask is 255.0.0.0, but I noticed you've got your elx0 interface set to 255.255.255.0, are the Win2K boxes set to this too?  Check the Win2K broadcast address!

Are you getting link?

Thats about all I can think of at the moment!

0
 

Author Comment

by:alester
ID: 8102754
dear elv_bin,

I think that:


for an adress like A.B.C.XX  the default subnet mask is 255.255.255.0

for an adress like A.XX.XX.XX the default subnet mask is 255.0.0.0
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:alester
ID: 8102788
yuzh

yes - I´m using fix ip for the Solaris box.

#/etc/hostname.elxl0
#should containing your hostname, and you should also put #the infor in /etc/hosts file.

I´ll try to put the hostname instead the ip adress .


##put your router ip in /etc/defaultrouter,

I don´t have a router, only those 3 boxs.
Should I put the adress of the solaris machine?



## Put you DNS server infor in:
/etc/resolv.conf

And I don´t have a DNS server

thank you.
0
 

Author Comment

by:alester
ID: 8102798
elf_bin

How I remove the configuration for IPV6,
Just deleting hostname6.elxl0?


thank you
0
 
LVL 38

Expert Comment

by:yuzh
ID: 8102924
if you don't have a router, delete /etc/defaulter file.


0
 

Author Comment

by:alester
ID: 8102966
ok, thank you
0
 

Author Comment

by:alester
ID: 8102972
how about other setup files, are they ok?
0
 

Author Comment

by:alester
ID: 8103001
thanks, how about other setup files, are they ok?
0
 
LVL 38

Expert Comment

by:yuzh
ID: 8103207
you /etc/inet/netmasks file should looks like:

10.60.0.0 255.255.255.0




0
 

Author Comment

by:alester
ID: 8103620
thank you. I'll try as soon as possible (these machines stay at home)
0
 
LVL 38

Expert Comment

by:yuzh
ID: 8107437
Hi alester,

   Just in case you have problem to understand the file format, there is an easy way to make it work without have to worry about what files need to be changed.

   1. unconfig the system, type in:
   /usr/sbin/sys-unconfig
   to undo your systems configuration, and then reboot your system.

   2. When system boot up, just following the screen to fill in all the new information about you system configuration. (hostname, IP, netmasks, etc)

   This should get your system going.

   
     
0
 

Author Comment

by:alester
ID: 8108395
I executed all the suggested steps, I seem that the configurations are ok, but i'm still not able to see windows machines (ping).  
\
when I execute:  ping loghost
the reply is:  loghost is alive

ping solaris-IP
the reply is:  solaris-IP is alive

but ping windows-IP
the reply:  no answer from windows-IP
0
 
LVL 38

Expert Comment

by:yuzh
ID: 8108414
Have you try to use a windows PC to ping the Solaris box?
0
 
LVL 38

Expert Comment

by:yuzh
ID: 8108432
please check you hareware, cable, hub etc. Since we don't know how the box was setup. It is better to use "sys-unconfig" and then reconfig allSolaris box.

Make sure that all the boxes (PCs, Solaris box) is in the same subnet, use the same netmasks (255.255.255.0)


 
0
 

Author Comment

by:alester
ID: 8108459
all pcs have installed windows 2000 pro , only one has solaris, when i boot from windows 2000 , the lan work fine.
so obviously cable, hardware, hub are ok.

yes, the subnet is the same on all machines.

thank you
0
 

Author Comment

by:alester
ID: 8108465
i tried to ping solaris machine from windows,
the answer is: request timed out
0
 
LVL 38

Expert Comment

by:yuzh
ID: 8108739
check if your NIC is in the Solaris 8 (Intel) hardware support list:

http://soldc.sun.com/support/drivers/hcl/index.html#S8

If it is not on the list, then you need to get another one.

If it is on the list. reconfig the box.

Cheers!
0
 

Author Comment

by:alester
ID: 8110766
In another time a used this box to access the internet by bootp/dhcp with cable modem and everything goes fine. Anyway, I checked on hardware compatible list and my card is there (3com 905C-TX). I don´t know why I´m having troble to make this simple configuration.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 8116105
You have not mention the box was setup for using bootp/dhcp before. The old setting can confusion the system. do a

rm /etc/dhcp.*
and then use: sys-unconfig ,
then reconfig the system, it only taks a few minutes to prove if it work.

If it doesn't work then check the hareware list.

Good luck, you needed.


 
0
 
LVL 2

Expert Comment

by:soupdragon
ID: 8116153
Sun systems can sometimes have problems auto-negotiating with hubs. If you are using 100Mb Full Duplex, uncomment the following lines in/kernel/drv/elxl.conf and reboot.

full-duplex=1;
speed=100;

Have you tried snoop whilst pinging to see if you can see any packets to or from your network interface?

SD
0
 

Author Comment

by:alester
ID: 8116615
yuzh, i forget to say that my box was formated after I used it with dhcp. so the config files doesn't exist.

thank you
0
 

Author Comment

by:alester
ID: 8116638
soupdragon, I'll do that to see what happens.

thank you
0
 

Expert Comment

by:chrisoyh
ID: 8150147
alester,

try this on one of the Win 2K boxes:
1) tracert <solaris_ip>
2) tracert <other_win2k_ip>

and see where the packet goes. If the packet cannot reach the Solaris machine, changes are the subnet mask is not set properly. If the packet reaches your Solaris box but never came back, then it means your Solaris host has no knowledge of what route to take to sent back the packet. This shouldn't be the case since they are in the same subnet.

Do a "netstat -rn" on all 3 machines to compare the routing tables. That may shed some light on your problem.

Btw, did you ensure that you did not, by any chance, use a cross-cable to connect your Solaris box to the hub?
0
 

Author Comment

by:alester
ID: 8353474
please forgive me for the delay.  I´ve been without time in these days but of anyway I tried all the steps that you they had recommended to me, but still don´t work.

thank you for the aid until this moment.
0
 

Accepted Solution

by:
alester earned 0 total points
ID: 8479472
I already solved this question just upgranding my system to solaris 9.
everything goes fine


thanks guys.
0
 

Expert Comment

by:YensidMod
ID: 8728623
alester solved his own question. Question will be PAQ'd and points refunded.

YensidMod
EE Moderator
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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 how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month9 days, 18 hours left to enroll

762 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