Simple Intranet setup

This is a pretty simple problem. What I'm tryig to do is set up two Linux machines in a network, using ethernet. Now one of the machines has two ethernet cards, one of which is connected to my campuses backbone. The problem I'm having is that I can't get the two Linux machines to talk to each other. I know that all three ethernet cards are working, and I know that the cable connecting them is good (I've tested this). I'm using IP address of 192.168.2.1 and 192.168.2.2, which I beleive are of the addresses reserved for this kind of thing. When I check the kernel routing table, the 192.168.2.0 network appears, and is mapped to the correct device (eth1 and eth0, respectively). But still no data is going between the two machines (ie. ping doesn't work). I'm using RedHat Linux 4.2, with kernel 2.0.30. Thanks.
lonnellAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

richcastoCommented:
Can you please include a printout of "netstat -rn" and also what response you get from ping?
0
lonnellAuthor Commented:
The response I get from a netstat -rn command is the following:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
169.229.97.0    0.0.0.0         255.255.255.0   U      1500 0          0 eth0
192.168.2.0     0.0.0.0         255.255.255.0   U      1500 0          0 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0 lo
0.0.0.0         169.229.97.1    0.0.0.0         UG     1500 0          0 eth0

and ping gives:
PING juggaknot (192.168.2.2): 56 data bytes

--- juggaknot ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss

This is after I ctrl-c it, since it just sits there.




0
feenixCommented:
Have you set the routing correctly? Try:
route add 192.168.2.0 -net 255.255.255.0 eth1/0
(if I remember the parameters correctly)
This should set up the routing information.

0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

sauronCommented:
What is the routing table on the other machine like?

Look at the output of ifconfig. Do your interfaces appear as up? when you ping another machine, then do ifconfig again, does the TX/RX packet count go up?

Need more information to answer this one.
0
bryanjonesCommented:
First see if you can ping your own machine, then see if you can ping the default route that is in between both machines if you can ping the machine and the default route see if both machines have the same netmask


ie--

                  CAMPUS BACKBONE
                        |
                        |   xxx.xxx.xxx.xxx netmask xxx.
                        |
                         / \
                  YOUR First Linux machine
                        192.168.2.1  what is the netmask here
                        |
                        |
                        |
                         / \
                  YOUR Next Linux machine
                       192.168.2.2 what is the netmask here

make sure that the netmasks are the same and you have a default route like the first linux box.


The most common problem in routeing from one machine to another is that either the netmasks are in correct or that there is no default route to route through.                          
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lonnellAuthor Commented:
Hello Sauron,

I've checked the ifconfig and all devices are up. So eth0 and eth1 on the machine connected to my campus ethernet, and eth0 on the other machine (as well as lo) all appear. When I do a ping from either machine, the TX count goes up, but the RX count does not. I'll be happy to provide any additional information. Thanks.

Lonnell
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.