<html>
<body>
I'm trying to setup our master node as a gateway for the slave nodes to
access the outside network, and running into a roadblock...<br><br>
I've added to the slave nodes /etc/sysconfig/network:<br>
GATEWAY=10.1.1.128<br>
GATEWAYDEV=eth0 <br><br>
I've added to the master node /etc/sysconfig/network:<br>
GATEWAY=128.230.72.1<br>
GATEWAYDEV=eth1<br>
FORWARD_IPV4=yes<br><br>
and echo 1 &gt; /proc/sys/net/ipv4/ip_forward<br><br>
although am confused if I need the ip masquerading to get it
working.&nbsp; The kernel doesnt appear to have what's needed for
this.<br><br>
&gt;netstat -M<br>
netstat: no support for `ip_masquerade' on this system.<br><br>
on master/gateway:<br>
&gt; /sbin/route<br>
<tt>Kernel IP routing table<br>
Destination&nbsp;&nbsp;&nbsp;&nbsp;
Gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Genmask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Flags Metric
Ref&nbsp;&nbsp;&nbsp; Use Iface<br>
128.230.72.0&nbsp;&nbsp;&nbsp;
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
255.255.255.0&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth1<br>
10.1.1.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
255.255.255.0&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth0<br>
169.254.0.0&nbsp;&nbsp;&nbsp;&nbsp;
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
255.255.0.0&nbsp;&nbsp;&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth1<br>
default&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
128.230.72.1&nbsp;&nbsp;&nbsp;
0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
UG&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth1<br><br>
</tt>on slave node:<br>
[node1] /etc/sysconfig &gt; /sbin/route<br>
<tt>Kernel IP routing table<br>
Destination&nbsp;&nbsp;&nbsp;&nbsp;
Gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Genmask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Flags Metric
Ref&nbsp;&nbsp;&nbsp; Use Iface<br>
10.1.1.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
255.255.255.0&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth0<br>
169.254.0.0&nbsp;&nbsp;&nbsp;&nbsp;
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
255.255.0.0&nbsp;&nbsp;&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth0<br>
default&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
10.1.1.128&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0.0.0.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
UG&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth0<br><br>
</tt>I've tried turning off iptables on master, which allows the slave to
get the first hop but no further<br>
and an attempt to traceroute from slave results in:<br>
traceroute to 216.239.37.99 (216.239.37.99), 30 hops max, 38 byte
packets<br>
&nbsp;1&nbsp; hepc1 (10.1.1.128)&nbsp; 0.223 ms&nbsp; 0.259 ms&nbsp;
0.239 ms<br>
&nbsp;2&nbsp; * * *<br>
&nbsp;3&nbsp; * * *<br><br>
suggesting the request is getting to the master, but not past it, but
master can traceroute/ping/etc out.<br><br>
<br>
Ideas?&nbsp; Thanks.<br>
<x-sigsep><p></x-sigsep>
=======================================================<br>
Dan
Kirkpatrick&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>&nbsp;&nbsp; <br>
Computer Systems Manager<br>
Department of Physics&nbsp; and&nbsp; College of Arts &amp; Sciences<br>
Syracuse University, Syracuse, NY<br>
<a href="http://www.physics.syr.edu/help/%A0%A0%A0" eudora="autourl">
http://www.physics.syr.edu/help/&nbsp;&nbsp; </a> Fax:(315) 443-9103<br>
=======================================================<br>
<b>Please direct all requests directly to consult@cas.syr.edu<br>
</b>======================================================= </body>
</html>