I don't understand why 2 routers. Maybe I'm missing something. Unless you have 2 networks that need to be separate only one is needed. If you have a wireless router, use it as a wireless access point and not a router. Which means turn off DHCP on the wireless router and don't configure or use the WAN connection. Depending on the capabilities of the router you can connect a LAN port on Router2 to your ADSL (Router1) router and assign an IP address that's in the same network as Router1.
----- Original Message ---- From: Holla <[EMAIL PROTECTED]> To: gentoo-user@lists.gentoo.org Sent: Friday, January 11, 2008 8:18:37 AM Subject: Re: [gentoo-user] Routing problem ? On Jan 11, 2008 10:22 AM, Mike Mazur <[EMAIL PROTECTED]> wrote: > Hi, > > > On Jan 11, 2008 12:14 PM, kashani <[EMAIL PROTECTED]> wrote: > > Holla wrote: > > > 192.168.1.1 > > > +-+ +------------+ > > > | |-----------| Router1 |=========ASDL conn > > > | | +------------+ > > > | | > > > | | > > > | | > > > | | 192.168.1.23 +-------+ 192.168.2.43 > > > | |------------------| PC1 |----)))............. > > > +-+ +-------+ . > > > . > > > Passive Hub . > > > 192.168.2.1 . > > > +------------+ . > > > | Router2 |--))).. > > > +------------+ > > > | > > > | > > > +------+ > > > | PC2 | > > > +------+ > > > 192.168.2.24 > > > > Yep it's a routing problem. > > > > Router1 needs a route to point back to PC2 so when traffic bound for it > > comes it, it'll know what to do with it. > > route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.23 > > Also if you want PC2 to access the net, you would need PC1 to be smart > enough to route/NAT packets from PC2 to Router 1. Thanks, but I only have a very limited understanding of this matter. Does this mean I had to add netfilter to the kernel and configure iptables ? sathish > Mike > > -- > gentoo-user@lists.gentoo.org mailing list > > -- gentoo-user@lists.gentoo.org mailing list