<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 > /proc/sys/net/ipv4/ip_forward<br><br>
although am confused if I need the ip masquerading to get it
working. The kernel doesnt appear to have what's needed for
this.<br><br>
>netstat -M<br>
netstat: no support for `ip_masquerade' on this system.<br><br>
on master/gateway:<br>
> /sbin/route<br>
<tt>Kernel IP routing table<br>
Destination
Gateway
Genmask Flags Metric
Ref Use Iface<br>
128.230.72.0
*
255.255.255.0 U
0
0 0 eth1<br>
10.1.1.0
*
255.255.255.0 U
0
0 0 eth0<br>
169.254.0.0
*
255.255.0.0 U
0
0 0 eth1<br>
default
128.230.72.1
0.0.0.0
UG 0
0 0 eth1<br><br>
</tt>on slave node:<br>
[node1] /etc/sysconfig > /sbin/route<br>
<tt>Kernel IP routing table<br>
Destination
Gateway
Genmask Flags Metric
Ref Use Iface<br>
10.1.1.0
*
255.255.255.0 U
0
0 0 eth0<br>
169.254.0.0
*
255.255.0.0 U
0
0 0 eth0<br>
default
10.1.1.128
0.0.0.0
UG 0
0 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>
1 hepc1 (10.1.1.128) 0.223 ms 0.259 ms
0.239 ms<br>
2 * * *<br>
3 * * *<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? Thanks.<br>
<x-sigsep><p></x-sigsep>
=======================================================<br>
Dan
Kirkpatrick
<x-tab> </x-tab> <br>
Computer Systems Manager<br>
Department of Physics and College of Arts & 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/ </a> Fax:(315) 443-9103<br>
=======================================================<br>
<b>Please direct all requests directly to consult@cas.syr.edu<br>
</b>======================================================= </body>
</html>