1 |
On Jan 11, 2008 10:22 AM, Mike Mazur <mmazur@×××××.com> wrote: |
2 |
> Hi, |
3 |
> |
4 |
> |
5 |
> On Jan 11, 2008 12:14 PM, kashani <kashani-list@××××××××.net> wrote: |
6 |
> > Holla wrote: |
7 |
> > > 192.168.1.1 |
8 |
> > > +-+ +------------+ |
9 |
> > > | |-----------| Router1 |=========ASDL conn |
10 |
> > > | | +------------+ |
11 |
> > > | | |
12 |
> > > | | |
13 |
> > > | | |
14 |
> > > | | 192.168.1.23 +-------+ 192.168.2.43 |
15 |
> > > | |------------------| PC1 |----)))............. |
16 |
> > > +-+ +-------+ . |
17 |
> > > . |
18 |
> > > Passive Hub . |
19 |
> > > 192.168.2.1 . |
20 |
> > > +------------+ . |
21 |
> > > | Router2 |--))).. |
22 |
> > > +------------+ |
23 |
> > > | |
24 |
> > > | |
25 |
> > > +------+ |
26 |
> > > | PC2 | |
27 |
> > > +------+ |
28 |
> > > 192.168.2.24 |
29 |
> > |
30 |
> > Yep it's a routing problem. |
31 |
> > |
32 |
> > Router1 needs a route to point back to PC2 so when traffic bound for it |
33 |
> > comes it, it'll know what to do with it. |
34 |
> > route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.23 |
35 |
> |
36 |
> Also if you want PC2 to access the net, you would need PC1 to be smart |
37 |
> enough to route/NAT packets from PC2 to Router 1. |
38 |
|
39 |
Thanks, but I only have a very limited understanding of this matter. |
40 |
Does this mean I had to add netfilter to the kernel and configure |
41 |
iptables ? |
42 |
|
43 |
sathish |
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
> Mike |
50 |
> |
51 |
> -- |
52 |
> gentoo-user@l.g.o mailing list |
53 |
> |
54 |
> |
55 |
-- |
56 |
gentoo-user@l.g.o mailing list |