On Wed, 10 Jul 2002, Ximo Llacer wrote: > Jim. > > Thanks for your help. > > All this is to try another thing. > > I'm beginning with this and I donīt know how get help. > > My true problem is the next : > > I've got 3 lans: > > Lan A: 192.168.200.0 = all my clients computers are coneccted. > Lan B: 192.168.2.0 = there are 3 hosts where the clients A must be > access. > Lan C: 192.168.3.0 = where is connected the router > > Linux: > Eth0: 192.168.200.100 > Eth1: 192.168.2.100 > Eth2: 192.168.3.100 > > Router : 192.168.3.17 > > LINUX has 3 ethernets so I can separate traffic and after set filters. > > -------Lan A -- LINUX -- Lan C ==Internet > | | > | Lan B > All | | > Hosts hostCA hostCB > > > I want to use the linux red hat 7.3 to access internet lan C and access > another lanB from LAN A. > > How Could mount this strategy ? > > Is It must be very complicated ? >
Ximo, This looks even simpler to deal with. 1. All client hosts (192.168.200.x) should have their default route to 192.168.200.100. 2. Your Linux host (it is a router, too) should have its default route to 192.168.3.17. 3. Your hosts on LAN B should have their default routes set to 192.168.2.100. That's it. To summarize, however, the configuration is simple on all internal hosts--just a default route to the appropriate LAN interface on your Linux router, 192.168.200.100 on LAN A, and 192.168.2.100 on LAN B. The route table on the Linux router is only slightly more complicated: Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2 0.0.0.0 192.168.3.17 0.0.0.0 UG 0 0 0 eth2 You are using IP addresses for your LANs in the private address space. (See RFC1918 for more in private addresses) This means that your client hosts, LAN B hosts, and your linux router cannot communicate to the global internet _unless_ your internet router, 192.168.3.17, does NAT (network address translation) for all the private addresses you have assigned. Good luck, Jim _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list