Re: problems connecting to a lan from another subnet
- From: Dances With Crows <danSPANceswitTRAPhcrows@xxxxxxxxx>
- Date: Thu, 31 Aug 2006 08:38:50 -0500
On 31 Aug 2006 00:48:12 -0700, danish staggered into the Black Sun and
said:
[I've] set up two [servers] using RHEL4. One is acting as a router,
the other is acting as a development server.
Router: eth0: running on dhcp, IP is 192.168.10.235, also connected to
my office lan. eth1: statically assigned IP: 172.22.1.1
Development server, statically assigned ip: 172.22.1.2
172.22.1.2 <--ping--> 172.22.1.1
172.22.1.2 <--ping--> 192.168.10.235
I cannot access any service on the office lan or the router from the
development server
Read the IP-Masqing HOWTO and follow the directions. The "router" is
not a router; it's a gateway--it can't really make routing decisions as
it only has 2 NICs. You'll need to execute a few iptables commands, and
"echo '1' > /proc/sys/net/ipv4/ip_forward" on the gateway.
I have shut down the firewall [on] both the machines.
Without a few iptables rules in place, nothing will work at all. I
don't use or recommend Redhat for anything, so I have no idea what its
"default firewall" does--but it's probably not the right thing. HTH,
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
http://www.brainbench.com / I don't practice what I preach, because I'm
-----------------------------/ not the kind of person I'm preaching to.
.
- References:
- problems connecting to a lan from another subnet
- From: danish
- problems connecting to a lan from another subnet
- Prev by Date: Re: locating a sourced file
- Next by Date: Re: Scheduling Jobs - Last day of the month - HOWTO?
- Previous by thread: problems connecting to a lan from another subnet
- Next by thread: Re: problems connecting to a lan from another subnet
- Index(es):
Relevant Pages
|