hello,
          This is in continuation of my network set up problem ....
          I recompiled the kernel on both m/c's with firewall and statistics
disabled ....
          It does not work even then ....

          So I decided to analyze tcpdump .....
          I wrote a small tcp server and client which just connect to each
other .....(server.c,client.c) ....
          When i run the client on the same m/c as the server ... they
connect ....

                              -----------           coax cable
------------
                             192.168.1.1    <------------------>
192.168.1.5

-----------                                          ------------

Pentium                                              486(8mb ram)
                            name-server

        When I run the client on the other m/c (taking care of server host
address and server port ...) , they don;t
         connect .....

        When I looked at the tcpdump o/p I found
               - When the server runs on the pentium , the server is
replying to the client's connect request with an ack (seq # properly updated
by 1) ..
                  But the client is not replying back .....the server
repeatedly tries before timing out .....

               - When the server runs on the 486 ... it does not ack the
connect request from the client ......

       So what is the problem here ....keeping in mind that ping is working
, nameserver quries from the 486 to the pentium get answered properly
       Both m/c's have redhat 5.2(2.0.36) from the same cd .... :-(

       Where do I go from here ......

       Note : any mistakes in my description of /etc/ files in earlier mails
are just typos ...




ramc





"Ramachandran.A" wrote:

> hello all,
>
>               This is in reference to my problem of not being able to do
> telnet,ftp .(two redhat 5.2 m.cs  , one is a 486dx2 , second 686)
>               Both are connected by a single lan cable ...(no hub)
>
>                I will stress again that the following files are ok  as
> per NET3-HOWTO.
>                      - /etc/inetd.conf   (tcpd,telnetd .... uncommented)
>
>                       - /etc/services     (all services uncommented)
>                      - /etc/host
>                      - /etc/host.conf    (order host,multi ..... )
>                      - /etc/host.allow
>                      - /etc/host.deny
>                      - /etc/nsswitch.conf
>                      - /etc/protocols
>                      - dns files are ok , name server is running
> properly
>
>                      - the routing table has an entry for the network
> (192.168.1.0) through eth0 (on both m/c's)
>                      - inetd is running on both machines .
>                      - i am able to do local telnet on each machine
>                      - one m/c is 192.168.1.1 and other 192.168.1.5
> (mask 255.255.255.0)
>                      - m/c's ping each other
>                      - tcpdump shows exchange of messages when i
> initiate telnet/ftp from one m/c to another
>                      - finally ftp/telnet timeout
>
>                     I ran inetd in debug mode . When i do telnet from
> second m/c , inetd reports the attempt after a delay (app 1 min)
>                     whereas it reports local attempts immediately .
>
>                     Then i decided to see the messages exchanged .
>                     But tcpdump says operation not permitted when i use
> the -s option to get say 100 bytes from each packet ....
>                     How do i tackle this ......
>
>                     I don;t know what i am missing .
>
>                     I would be really greatful if somebody points out
> where i am goofing up .....
>
> bye ....
>
> > hello,
> >    I am trying to connect two linux boxes in a private lan .
> >    Both boxes are running redhat 5.2 .
> >    The boxes are able to ping each other but are not able to do telnet
>
> >     ,ftp
> >     I have followed all the instructions in NET3-HOWTO.
> >     I have configured one of the boxes as a name server .This is
> working
> >     properly .
> >     nslookup is working properly on both machines .
> >     ftp and telnet timeout.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]

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

Reply via email to