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.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Networking > How to setup Static IP Routes on 4 Debian Machines.

Forgot Password?
 Linux Networking   Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 3 Weeks Ago   #1 (permalink)
Just Joined!
 
Join Date: Oct 2009
Posts: 3
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

Host B
10.0.64.0 ____10.0.63.250____ 255.255.255.0 ____eth0
10.0.63.0 ____0.0.0.0 ____255.255.255.0 ____eth0
10.0.62.0 ____0.0.0.0 ____255.255.255.0 ____eth0

Host C
10.0.62.248____ 10.0.63.249 ____ 255.255.255.255 ____ eth0
10.0.64.0 ____0.0.0.0 ____255.255.255.0 ____ eth0
10.0.63.0 ____0.0.0.0 ____255.255.255.0 ____ eth0
10.0.62.0 ____10.0.63.249 ____255.255.255.0 ____ eth0
0.0.0.0 ____10.0.64.1 ____0.0.0.0 ____ eth0 -internet

Host D
10.0.0.0 ____0.0.0.0 ____255.0.0.0 ____eth0
0.0.0.0 ____10.0.64.1 ____0.0.0.0 ____etho -internet

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!



LAN1 10.0.62.X --------WAN 10.0.63.X ----------LAN2 10.0.64.X

Host A ____________________Host B
IP: 10.0.62.248 ________ IP: 10.0.62.249
Mask: 255.255.255.0 ________IP2: 10.0.63.249
____________________________Mask: 255.255.255.0


Host C ____________________Host D
IP 10.0.64.250 ____________IP: 10.0.64.247
IP2: 10.0.63.250 ____________Mask 255.255.255.0
Mask: 255.255.255.0
danielmartinj is offline  


Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
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



All times are GMT. The time now is 05:44 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2