Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
How to setup Static IP Routes on 4 Debian Machines.
Hello All,
First Thanks for viewing my Thread. I have 4 debian boxes networked together through a basic 5 port switch. I am trying to simulate 2 Local Area Networks joined together by a WAN. Right now I can communicate with A <--> B, B<----> C, C<----->D. However, I cannot communicate with Host A to Host D which is the whole point of this experiment. It has to be my static routing is not right. This is a confusing area to me. Right now my routes are
Host A
Destination ____Gateway ____Genmask ... Use Iface
10.0.62.0 ____ 0.0.0.0 ____255.255.255.0 ____eth0
0.0.0.0 ____10.0.62.249____ 0.0.0.0 ____eth0
Can I leave the last 2 default routes in place so I can get to internet
or do I have to fully close this network down so it can fullfill experiment requirements. I have been using static routes
route add -net and i used route add default gw for host A and D
What am I doing wrong? Thanks so much again!
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe