[ale] network question

Geoffrey lists at serioustechnology.com
Sat Jan 23 17:24:34 EST 2010


Damon L. Chesser wrote:
> On Sat, 2010-01-23 at 11:13 -0700, Robert L. Harris wrote:
>> Turn on forwarding on the machine on A then set the default route on  
>> the B machines to the machine on A
>>
>> :wq!
>> --
>>    Robert L. Harris
> 
> To be more clear:
> 
> cat /proc/sys/net/ipv4/ip_forward
> if it is not 1, you need to turn it on:
> 
> echo 1 > /proc/sys/net/ipv4/ip_forward
> 
> edit  /etc/sysctl to enable it at boot:
> net.ipv4.ip_forward = 1
> 
> Restart the network on the aaa host.
> 
> Now, if you use the "bbb" IP of the "aaa" host as a gateway on the bbb
> machines, you will be able to ping out.  On the aaa host, use your
> network gateway as the gw address, on the bbb hosts, use the bbb
> interface of the aaa host as the bbb gw.  If you are using iptables on
> the aaa hosts, you will need to modify the iptables rules to allow
> network traffic through put.  HTH

Ah, this is what I missed.  The firewall is likely causing havoc with 
the connectivity.  So, anyone suggest the proper iptables foo to 
accomplish this?

internet<->router(gateway for aaa network)aaa.aaa.aaa.aaa

aaa.aaa.aaa.aaa<->aaa.aaa.aaa.aab<->bbb.bbb.bbb.bbb ???


> 
>> On Jan 23, 2010, at 10:36, Geoffrey <lists at serioustechnology.com> wrote:
>>
>>> Here's the scenario.
>>>
>>> Two networks:
>>>
>>> aaa.aaa.aaa.000
>>> bbb.bbb.bbb.000
>>>
>>> network aaa has access to internet.  network bbb needs to access
>>> internet via a machine on aaa.
>>>
>>> Assumption is, simply create a route between aaa and bbb.  Does not  
>>> seem
>>> to work, bbb can not get to internet.
>>>
>>> -- 
>>> Until later, Geoffrey
>>>
>>> "I predict future happiness for America if they can prevent
>>> the government from wasting the labors of the people under
>>> the pretense of taking care of them."
>>> - Thomas Jefferson
>>> _______________________________________________
>>> Ale mailing list
>>> Ale at ale.org
>>> http://mail.ale.org/mailman/listinfo/ale
>>> See JOBS, ANNOUNCE and SCHOOLS lists at
>>> http://mail.ale.org/mailman/listinfo
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
> 
> 
> 


-- 
Until later, Geoffrey

"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson


More information about the Ale mailing list