I have ipmasq_icmp loaded as after the connection is completed, I can
ping the target system.  The problem lies in the change from not dialed
up to dialed up.

In reference to the MS ping program, I was thinking the same thing you
were and wrote my own ping program.  This program opens the socket,
sends a ping, closes the socket, and then reopens the socket again to
send the next ping. This also fails.  

My next test was to set up a second linux box that would replace the MS
machine for this test and see if it operates in the same manner


Charles H. Deling


        -----Original Message-----
        From:   Jason Morgan [SMTP:[EMAIL PROTECTED]]
        Sent:   Thursday, November 12, 1998 6:34 AM
        To:     [EMAIL PROTECTED]; [EMAIL PROTECTED]
        Subject:        Re: Strange ping results

        If you are using IP masquerading, i.e. The windows machine has a

        172.x.x.x 10.x.x.x 192.168.x.x address and you ISP is on the
'real' 
        internet then you have to have ipmasq_icmp loaded on Linux for
ping 
        to work from ms-windows (or any other machine on your local net)


        > Subject:       Re: Strange ping results
        > From:          <[EMAIL PROTECTED]>
        > To:            [EMAIL PROTECTED] (Deling, Charles)
        > Date:          Wed, 11 Nov 1998 21:33:18 +0000 (GMT)
        > Cc:            [EMAIL PROTECTED]

        > Deling, Charles wrote:
        > > I have set up several Windows machines connected to a Linux
box running
        > > diald.
        > > 
        > > If the Linux box has not dialed into the ISP, and I ping a
site on the
        > > Internet (from the Linux box), ping will fail until the dial
up
        > > connection is completed, then it will successfully start
pinging the
        > > site. During this period, I will not stop and restart the
ping program,
        > > I just let it run and it (after getting dialed up) starts
pinging the
        > > target
        > > 
        > > If the Linux box has not dialed into the ISP, and I ping a
site on the
        > > Internet from one of the Windows machines, it will continue
to fail even
        > > after the connection is made.  The only way it will start to
succeed is
        > > I stop the ping program and restart it. Then it will ping
the target
        > > system.
        > > 
        > > What gives????
        > 
        > Very simple.  Linux pingcan handle that the IP address
changed.  MS ping
        > can't.  At least, I'm guessing this is your configuration.
        > 
        > If your pings re-negotiated their connection each time, they'd
work, but
        > since that'd be useful, and intelligent, and stuff, they
don't.
        > 
        > Admittedly, I haven't played extensively with MS ping, and
only once did
        > I mess with a diald setup with a remote linux box trying to
ping through
        > the main machine.  I can't remember for certain if I actually
tried ping
        > in that case.
        > 
        > > I am trying to use ping as part of a batch file to check and
see when
        > > the connection has been made before starting a telnet
session.
        > 
        > Does the ping command let you give a ping count?  If so, you
can specify
        > that, and run it in a loop until it works.
        > 
        > Ed Grimm
        > 
        > -

        > To unsubscribe from this list: send the line "unsubscribe
linux-diald" in
        > the body of a message to [EMAIL PROTECTED]
        > 

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to