From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Zapczynski Subject: Re: unable to route traffic between two networks on Red Hat 6.2 Date: Tue, 09 Apr 2002 14:11:56 -0400 Sender: linux-admin-owner@vger.kernel.org Message-ID: <3CB32EEC.823B07B9@quarterleaf.com> References: <3CB2F02F.F05435A6@quarterleaf.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------84893A5063FC3049E07A6C3E" List-Id: To: linux-admin@vger.kernel.org This is a multi-part message in MIME format. --------------84893A5063FC3049E07A6C3E Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "James A. Goodwin" wrote: > You say in your message that your router eth0 is 10.1.1.100 but you > then say that your gateway is set as 10.1.1.1 > > Shouldn't the gateway be the appropriate router address for that side > of the network. > The 10.1.1.1 gateway specified is actually our firewall on that network which gets us out to the internet. If specifying that causes a problem, I can remove it, because the 192.168.0.0 clients do not need to get to the internet. They only need access to the 10.1.1.0 network. I tried setting the gateway in /etc/sysconfig/network and /etc/sysconfig/static-routes to 10.1.1.100 which is the router I set up, and unfortunately I still can't route traffic from 192.168.0.0 to 10.1.1.0. Thanks, -Ian > > >Hello all. > > > >I am a Sun administrator needing to get a router set up on Red Hat 6.2. > >I am simply trying to join two private networks, 192.168.0.0 and > >10.1.1.0. The router I have configured has eth0 at 10.1.1.100 and eth1 > >at 192.168.1.1. I do not need to be able to route traffic to the > >internet using NAT -- I only need a DHCP server on my 192.168.0.0 > >network to give out IP addresses on that network (this works fine) that > >will allow users to access the 10.1.1.0 network. > > > >On my router, currently I can ping an address on the 10.1.1.0 network, > >but not when I use something like ping -I 192.168.1.1 10.1.1.1 to do > >so. This should work, right? > > > >/etc/sysconfig/network looks like: > > > >NETWORKING=yes > >HOSTNAME=myhost.mydomain > >GATEWAYDEV=eth0 > >GATEWAY=10.1.1.1 > >FORWARD_IPV4=YES > > > >/etc/sysconfig/static-routes has: > > > >eth1 net 192.168.0.0 netmask 255.255.0.0 gw 192.168.1.1 > >eth0 net 10.1.1.0 netmask 255.255.255.0 gw 10.1.1.100 > > > >Can anyone please point out what I am missing or otherwise doing wrong? > >Even if the answer is "buy a book", a suggestion on which one might help > >me is welcome also. > > > >Again, I don't need to be concerned about NAT, firewalls or security at > >this point, which is why I haven't touched ipchains for this purpose. I > >assume I don't need it only to route traffic between two networks, no? > > > >Thanks much in advance! > > > >-Ian > > > >Content-Type: text/x-vcard; charset=us-ascii; > > name="ianz.vcf" > >Content-Transfer-Encoding: 7bit > >Content-Description: Card for Ian Zapczynski > >Content-Disposition: attachment; > > filename="ianz.vcf" > > > >Attachment converted: Macintosh HD:ianz.vcf (TEXT/ttxt) (00007AA9) > > -- --------------84893A5063FC3049E07A6C3E Content-Type: text/x-vcard; charset=us-ascii; name="ianz.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ian Zapczynski Content-Disposition: attachment; filename="ianz.vcf" begin:vcard n:Zapczynski;Ian tel;work:215-283-4877 x120 x-mozilla-html:FALSE url:http://www.quarterleaf.com/ org:The Sycamore Group adr:;;;;;; version:2.1 email;internet:ianz@quarterleaf.com title:Sun Certified System/Network Administrator fn:Ian Zapczynski end:vcard --------------84893A5063FC3049E07A6C3E--