Gentoo Archives: gentoo-user

From: Mike Mazur <mmazur@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Routing problem ?
Date: Fri, 11 Jan 2008 04:53:14
Message-Id: 184110a70801102052m2b2a1a13g1b61d1d1259d4c5b@mail.gmail.com
In Reply to: Re: [gentoo-user] Routing problem ? by kashani
1 Hi,
2
3 On Jan 11, 2008 12:14 PM, kashani <kashani-list@××××××××.net> wrote:
4 > Holla wrote:
5 > > 192.168.1.1
6 > > +-+ +------------+
7 > > | |-----------| Router1 |=========ASDL conn
8 > > | | +------------+
9 > > | |
10 > > | |
11 > > | |
12 > > | | 192.168.1.23 +-------+ 192.168.2.43
13 > > | |------------------| PC1 |----))).............
14 > > +-+ +-------+ .
15 > > .
16 > > Passive Hub .
17 > > 192.168.2.1 .
18 > > +------------+ .
19 > > | Router2 |--)))..
20 > > +------------+
21 > > |
22 > > |
23 > > +------+
24 > > | PC2 |
25 > > +------+
26 > > 192.168.2.24
27 >
28 > Yep it's a routing problem.
29 >
30 > Router1 needs a route to point back to PC2 so when traffic bound for it
31 > comes it, it'll know what to do with it.
32 > route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.23
33
34 Also if you want PC2 to access the net, you would need PC1 to be smart
35 enough to route/NAT packets from PC2 to Router 1.
36
37 Mike
38 --
39 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Routing problem ? Holla <holla.net@×××××.com>
Re: [gentoo-user] Routing problem ? kashani <kashani-list@××××××××.net>