Gentoo Archives: gentoo-user

From: Holla <holla.net@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Routing problem ?
Date: Fri, 11 Jan 2008 15:16:26
Message-Id: 51e438da0801110715sf3e2297u29072e70f84ad970@mail.gmail.com
In Reply to: Re: [gentoo-user] Routing problem ? by kashani
1 On Jan 11, 2008 8:44 AM, kashani <kashani-list@××××××××.net> wrote:
2 > Holla wrote:
3 > > 192.168.1.1
4 > > +-+ +------------+
5 > > | |-----------| Router1 |=========ASDL conn
6 > > | | +------------+
7 > > | |
8 > > | |
9 > > | |
10 > > | | 192.168.1.23 +-------+ 192.168.2.43
11 > > | |------------------| PC1 |----))).............
12 > > +-+ +-------+ .
13 > > .
14 > > Passive Hub .
15 > > 192.168.2.1 .
16 > > +------------+ .
17 > > | Router2 |--)))..
18 > > +------------+
19 > > |
20 > > |
21 > > +------+
22 > > | PC2 |
23 > > +------+
24 > > 192.168.2.24
25 >
26 > Yep it's a routing problem.
27 >
28 > Router1 needs a route to point back to PC2 so when traffic bound for it
29 > comes it, it'll know what to do with it.
30 > route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.23
31 >
32
33 Thanks, I added this route at the Router1 and now can ping 192.168.1.1
34 at PC2. But still can't ping DNS server from PC2.
35
36 At PC2
37 # traceroute 218.248.240.46 (ISP's DNS server)
38 traceroute to 218.248.240.46 (218.248.240.46), 30 hops max, 40 byte packets
39 1 192.168.2.43 (192.168.2.43) 1.730 ms 0.840 ms 0.920 ms
40 2 192.168.1.1 (192.168.1.1) 1.440 ms 1.469 ms 1.287 ms
41 3 * * *
42 4 * * *
43
44 At PC1
45
46 # traceroute 218.248.240.46
47 traceroute to 218.248.240.46 (218.248.240.46), 30 hops max, 40 byte packets
48 1 192.168.1.1 (192.168.1.1) 0.848 ms 0.706 ms 0.681 ms
49 2 117.192.128.1 (117.192.128.1) 19.712 ms 18.878 ms 19.920 ms
50 3 218.248.160.134 (218.248.160.134) 19.292 ms 19.796 ms 19.190 ms
51
52
53 Any idea why this is so ?
54
55 sathish
56
57 > kashani
58 >
59 > --
60 > gentoo-user@l.g.o mailing list
61 >
62 >
63 --
64 gentoo-user@l.g.o mailing list