The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Linux LiveCD Router 2.0.40 (Default Router branch) iBot Software Releases - RSS News 0 12-27-2008 09:20 AM
Linux LiveCD Router 2.0.32 (Default Router branch) iBot Software Releases - RSS News 0 09-10-2008 09:00 AM
Linux LiveCD Router 2.0.30 (Default Router branch) iBot Software Releases - RSS News 0 09-05-2008 07:50 AM
Linux LiveCD Router 2.0.27 (Default Router branch) iBot Software Releases - RSS News 0 05-14-2008 07:30 PM
Linux LiveCD Router 2.0.26 (Default Router branch) iBot Software Releases - RSS News 0 03-03-2008 05:00 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 08-03-2009
chebarbudo's Avatar
chebarbudo chebarbudo is offline
Registered User
  
 

Join Date: Nov 2008
Location: various
Posts: 188
Question howto start with gateway / router / masquerading

Hi there,

I have only basic knowledge in Unix but I'm eager to learn.
I have a new complex (for me) exercice and I have no idea how to start.
I have a regular network on witch I'm trying to plug another network.

Here is an image of the physical network.

  • On the left is the original, three-node, standard, home network (192.168.1.0 / 255.255.255.0): An internet box (192.168.1.1), my computer (192.168.1.32) and a server (cassiopeia 192.168.1.224).
  • I've added two ethernet adapters to cassiopeia.
    • One belongs to the top right network (172.16.199.0 / 255.255.255.0): a four-node network with cassiopeia (172.16.199.1) and 3 machines (172.16.199.151..153)
    • The second belongs to the bottom right network (172.16.70.0 / 255.255.255.0): a two-node network that could host more machines but I'm laking a switch.
All three networks work fine and all machines within the same network can communicate.

What I need is to set cassiopeia (a GNU/Linux Debian) to enable communication between networks:
  • Set cassiopeia as gateway to the internet for 172.16.199.xxx
  • Set cassiopeia as gateway to the internet for 172.16.70.1
  • Set cassiopeia as a link between the two 172.16 networks
Let me give more specific needs:
  • When 172.16.70.151 requests something like 172.16.199.152, it stays in the top right network
  • When 172.16.70.151 requests something like 172.16.70.1, it's routed to the bottom right network
  • When 172.16.70.151 requests something like Google, it's routed to the internet box
  • When 172.16.70.1 requests something like 172.16.199.151, it's routed to the top right network
  • When 172.16.70.1 requests something like Google, it's routed to the internet box
So far, I have set machines like this:
  • address = 172.16.199.151..153
    netmask = 255.255.255.0
    gateway = 172.16.199.1
  • address = 172.16.70.1
    netmask = 255.255.255.0
    gateway = 172.16.70.254
Now comes my question:
What should I install on cassiopeia (GNU/Linux Debian) to serve my needs? Is is a gateway, a router or what? Do you know free softwares? Do you know man pages to help me configure it?

Thanks for your help.
Santiago
 

Bookmarks

Tags
gateway, network, router

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:13 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0