Can't ping ??

Can't ping ??

Post by Wilson Chan » Sun, 20 Jul 1997 04:00:00



--------------C912484AE40F4BCEBB62DF84
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi, everyone :

I'm just install solaris 2.5.1 completly. But it can't work normally.
It's a sun sparc 5 station,  a router.

When the installation, I choose some option :
 1. Name services --> others
 2. system  part of a subnet --> yes
 3. netmask --> 255.255.255.240
 4. domain --> cs.tku.edu.tw

When I used "ping xxxxxxxxxx", it can't work.
THe routing table is correct.
But I used cammonad "arp -a", displayed:

             interface      IP - address        Netmask
                                         .
                                         .
                le0           xxxxxxxxxxx    255.255.255.255
                                         .             ^^^^^^^^^^^^^^^^^

Someone can tell me:
           How can I change netmask to 255.255.255.240?

--------------C912484AE40F4BCEBB62DF84
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
Hi, everyone :

<P>I'm just install solaris 2.5.1 completly. But it can't work normally.
<BR>It's a sun sparc 5 station,&nbsp; a router.

<P>When the installation, I choose some option :
<BR>&nbsp;1. Name services --> others
<BR>&nbsp;2. system&nbsp; part of a subnet --> yes
<BR>&nbsp;3. netmask --> 255.255.255.240
<BR>&nbsp;4. domain --> cs.tku.edu.tw

<P>When I used "ping xxxxxxxxxx", it can't work.
<BR>THe routing table is correct.
<BR>But I used cammonad "arp -a", displayed:

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
interface&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IP - address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Netmask
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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by Chris O'Rega » Sun, 27 Jul 1997 04:00:00


[Please use address listed below if replying by e-mail.]



WC>Someone can tell me:
WC>           How can I change netmask to 255.255.255.240?

First, please don't post in HTML.

You can change the netmask by editing /etc/netmasks and then rebooting the
system.

--
    ____________________________________________________________________

              Department of Electrical and Computer Engineering
                   Concordia University, Montreal, Canada
                http://www.ECE.Concordia.CA/~chris/addr.html

 
 
 

1. Canned "ping"

    Within a ksh script, I would like to first determine whether or not
a remote
host is alive before I attempt other network access to it, (file reads
or writes).
The ping command seems to be the logical solution, but if I have to wait
for
the ping command to fail due to network time-out to indicate that the
remote
host is not available I've gained nothing over just letting my other
network
access commands time-out.

    Is there a way to execute ping wrapped in a timer - such as in a
subprocess
that gets killed by it's parent if it doesn't end within a practical
time interval?
It seems to me that that should work, but what I'm really looking for is

someone who would share code that has already been written.

    Much appreciated.

2. 2 sound cards at once

3. D-link DE220 can PING his own IP, but can't PING others'

4. Does anyone know a good fax/printer/scanner/copier?

5. NETGEAR FA410 Can PING out can't be PING'd

6. xdm and 'init[1]: Id "c1" respawning too fast...'

7. It's not bad canned meat...

8. recv(2) EPIPE ??

9. Can ping "localhost" but can't ping my own IP...why?

10. Can't ping local host but can ping others

11. Win98 can ping Linux, but Linux can't ping Win98 box

12. Help - can't ping one of my machines (but it can ping me).