Well, after about 40 hours of playing with this, I confess.  I don't know
jack about network routing.

I am setting up a 2 pc network (so far).  The problem is that neither PC can
see each other, yet data "appears" to be passing to the hub. The second
issue may be related to the first, but "arp" is showing me the the hardware
address is not being assigned.

I have debugged all of the hardware issues and don't believe there is
anything wrong there.

My server PC is set to 192.168.1.1, my second pc is 192.168.1.2
/etc/host file is:

192.168.1.1         pc1.mydomain.com    mine
192.168.1.2          pc2.mydomain.com   yours
192.168.1.3         pc3.mydomain.com  theirs.

/etc/networks file is:
localhost                    127.0.0
mydomain.com         192.168.0


I have DNS up and running just fine ( or so I believe. :) )

When I set my route as:

    ifconfig lo 127.0.0.1
    route add 127.0.0.1
    route add -net 192.168.1.0  netmask 255.255.255.0 eth0
    route add default gw 192.168.1.1

At this time, I issue a 'netstat -rn' ( oops, may have been 'route')
    my route table looks incorrect.  It is:

    Destination            Gateway                        netmask
metrics    iface
    192.168.1.0                   *                            255.255.255.0
U            0            eth0
      loopback                        *                            255.0.0.0
U         0            lo
    default                              *
255.255.255.255    U           0            eth0


DOES THIS LOOK CORRECT?

I have run tcpdump and captured the output, but again, I'm not very familiar
with it:
    22:00:01.427518 pc1.mydoman.com > pc2.mydomain.com icmp: echo request
    22:00:02.427518 pc1.mydoman.com > pc2.mydomain.com icmp: echo request
    22:00:03.427518 pc1.mydoman.com > pc2.mydomain.com icmp: echo request
and on and on.

I have tried using different netmasks with my default route, none help.  To
me, it appears that the data is
being transmitted to my network, but neither end can see each other.  No, I
have not touched the /etc/services nor the /etc/protocol files from the
Linux Redhat 5.1 installation.


My Second issue:  #2.  When I inquire into the arp table, the second PC
which I am
attempting to ping shows the PCs address, but no hardware address associated
with it.  I can remap the arp entry (arp -s test 00:11:22:22:33 ...) to my
ethernet card, but I still can not ping my second box. ( yes, all of the
blinky blinky's are going off on the back of the ethernet card and my hub.

>From the second PC, not surprising, I can not ping my server. Again, the
cards in both PCs tell me something is going on, as well as the hub.


Thank you all very much in advance.  And please, don't tell me to read of
DNS & BIND, nor TCP/IP nor Linux Administrators book one more time. :)  What
I really would like to see is what the FULL output of the following commands
SHOULD look like.

netstat -rn
arp
cat /proc/net/arp
tcpdump -c 10             (only 10 lines of a ping please. )

Thanks again.



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

Reply via email to