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.

Mike
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to