Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Another routing problem

Avatar of palanisaravanan
palanisaravanan asked on
Linux Networking
14 Comments1 Solution309 ViewsLast Modified:
I have 3 Linux machines(Debian woody) A,B,C.
A and B are in same network.
C is in diffrent network.
I want to use B as the gateway for A for connecting to the C network.
A and B are in network
A    IPaddress -

B     IP address

C is in network
     IP address -

Now I want  to connect from network to network and vice versa.

For this In machine B I did a routing.
      route add -net netmask  dev eth0
and in Machine C
   route add -net netmask  dev eth0
  done.Now i am able to ping from machine B to C.

 No  I want to use my Machine B as Gateway for A to access the other network.
 For this In Machine A in the routing entry I added

     route add -net netmask gateway dev eth0.
                     But I cud not ping or ssh to C from A .From C also I cud not ping to A .But I can access Machine B  .
Why?.Am i did anything wrong?.            
Avatar of Jivko

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 14 Comments.
See Answers