Re: problems connecting to a lan from another subnet
- From: ibuprofin@xxxxxxxxxxxxxxxxxxxxxx (Moe Trin)
- Date: Thu, 31 Aug 2006 14:56:15 -0500
On 31 Aug 2006, in the Usenet newsgroup comp.os.linux.misc, in article
<1157010492.796660.3550@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, danish wrote:
Ive set up two server's using RHEL4:
1) one is acting as a Router
2) the other is acting as a development server
Router: two interfaces:
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
OK - on the router, have you set it to forward packets? This doesn't
happen by default because you have two interfaces. There's probably some
wonderful Red Hat Tool to configure this, but the bottom line is that
there should be a line in /etc/sysconfig/network that sets the variable
FORWARD_IPV4 to true. On boot, the network scripts check that variable,
and set/clear a kernel parameter (/proc/sys/net/ipv4/ip_forward) that
actually controls packet forwarding.
Im able to ping
the router (which knows both of it's addresses, but the ping response
only uses the eth1 network stack.
I cannot access any service on the office lan
Do the systems on the office LAN know how to reach 172.22.1.2, or are
you expecting them to follow the bread crumbs left by packets coming
from that host?
or the router from the development server,
What error messages? What is in the server logs? What does a packet
sniffer show? Are those services on the router _listening_ to the
eth1 interface (netstat -tuan will indicate this)?
but I can access the normal service of ssh and http on 172.22.1.2.
You can reach yourself - not relevant.
Old guy
.
- References:
- problems connecting to a lan from another subnet
- From: danish
- problems connecting to a lan from another subnet
- Prev by Date: Re: Scheduling Jobs - Last day of the month - HOWTO?
- Previous by thread: Re: problems connecting to a lan from another subnet
- Next by thread: Kernel configuration file
- Index(es):
Relevant Pages
|