1 |
Hi, |
2 |
I think I have a routing problem with network |
3 |
shown below (hope my ascii art survives) |
4 |
|
5 |
>From PC2, I cannot ping 192.168.1.1 and no internet. |
6 |
Also cannot ping ISP's DNS servers. But there is full |
7 |
connectivity between PC1 and PC2. |
8 |
|
9 |
At PC2, |
10 |
# traceroute 192.168.1.1 |
11 |
traceroute to 192.168.1.1 (192.168.1.1), 30 hops max, 40 byte packets |
12 |
1 * * * |
13 |
2 * * * |
14 |
|
15 |
I reached upto this point by following up the |
16 |
gentoo howtos, but now stuck. Any pointers ? |
17 |
|
18 |
thanks |
19 |
sathish |
20 |
|
21 |
|
22 |
|
23 |
|
24 |
192.168.1.1 |
25 |
+-+ +------------+ |
26 |
| |-----------| Router1 |=========ASDL conn |
27 |
| | +------------+ |
28 |
| | |
29 |
| | |
30 |
| | |
31 |
| | 192.168.1.23 +-------+ 192.168.2.43 |
32 |
| |------------------| PC1 |----)))............. |
33 |
+-+ +-------+ . |
34 |
. |
35 |
Passive Hub . |
36 |
192.168.2.1 . |
37 |
+------------+ . |
38 |
| Router2 |--))).. |
39 |
+------------+ |
40 |
| |
41 |
| |
42 |
+------+ |
43 |
| PC2 | |
44 |
+------+ |
45 |
192.168.2.24 |
46 |
|
47 |
-------------------------------------------------------------- |
48 |
Router1 (UTSStarCom ISP supplied) : |
49 |
- router IP 192.168.1.1 |
50 |
- wireless enabled but not used |
51 |
|
52 |
-------------------------------------------------------------- |
53 |
PC1: (gentoo) |
54 |
|
55 |
- eth0 (192.168.1.23) and wireless (192.168.2.43) |
56 |
- no iptables configuration |
57 |
- routing table entries |
58 |
Kernel IP routing table |
59 |
Destination Gateway Genmask Flags Metric Ref Use Iface |
60 |
192.168.2.0 * 255.255.255.0 U 0 0 0 ra0 |
61 |
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 |
62 |
loopback * 255.0.0.0 U 0 0 0 lo |
63 |
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 |
64 |
|
65 |
|
66 |
# echo "1" > /proc/sys/net/ipv4/ip_forward |
67 |
|
68 |
|
69 |
# Kernel Networking options |
70 |
# |
71 |
CONFIG_UNIX=y |
72 |
CONFIG_XFRM=y |
73 |
CONFIG_INET=y |
74 |
CONFIG_IP_ADVANCED_ROUTER=y |
75 |
CONFIG_ASK_IP_FIB_HASH=y |
76 |
CONFIG_IP_FIB_HASH=y |
77 |
CONFIG_IP_ROUTE_VERBOSE=y |
78 |
CONFIG_INET_XFRM_MODE_TRANSPORT=y |
79 |
CONFIG_INET_XFRM_MODE_TUNNEL=y |
80 |
CONFIG_INET_XFRM_MODE_TRANSPORT=y |
81 |
CONFIG_INET_XFRM_MODE_TUNNEL=y |
82 |
CONFIG_TCP_CONG_BIC=y |
83 |
-------------------------------------------------------------- |
84 |
|
85 |
Router2 (WRT54GL) |
86 |
- router IP 192.168.2.1 |
87 |
- wireless enabled and used |
88 |
-------------------------------------------------------------- |
89 |
PC2 (gentoo) |
90 |
- static IP address 192.168.2.24 |
91 |
- routing table entries |
92 |
|
93 |
Kernel IP routing table |
94 |
Destination Gateway Genmask Flags Metric Ref Use Iface |
95 |
192.168.2.43 * 255.255.255.255 UH 0 0 0 eth0 |
96 |
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0 |
97 |
192.168.1.0 192.168.2.43 255.255.255.0 UG 0 0 0 eth0 |
98 |
loopback * 255.0.0.0 U 0 0 0 lo |
99 |
default 192.168.2.43 0.0.0.0 UG 0 0 0 eth0 |
100 |
-- |
101 |
gentoo-user@l.g.o mailing list |