1 |
This may not be amd64-specific, in which case I apologise, but I'm having |
2 |
problems commissioning a wireless network. I've connected a wireless access |
3 |
point to a second NIC on this box and given them both new network addresses. |
4 |
Both eth0 and eth1 are up and I can ping the WAP, but I cannot connect to |
5 |
its Web server because all HTTP traffic goes down the wrong wire. |
6 |
|
7 |
I have: |
8 |
|
9 |
# cat /etc/conf.d/net |
10 |
config_eth0=( "192.168.129.25 netmask 255.255.255.0 broadcast 192.168.129.255" ) |
11 |
config_eth1=( "192.168.133.1 netmask 255.255.255.0 broadcast 192.168.133.255" ) |
12 |
routes_eth0=( "default via 192.168.129.1" ) |
13 |
|
14 |
# route -n |
15 |
Kernel IP routing table |
16 |
Destination Gateway Genmask Flags Metric Ref Use Iface |
17 |
192.168.129.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 |
18 |
192.168.133.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 |
19 |
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo |
20 |
0.0.0.0 192.168.129.1 0.0.0.0 UG 0 0 0 eth0 |
21 |
|
22 |
wstn ~ # grep 133 /etc/hosts |
23 |
192.168.133.1 wstn.wlan wstn.home |
24 |
192.168.133.33 spirit.wlan spirit |
25 |
192.168.133.229 netgear.wlan netgear |
26 |
|
27 |
(netgear is the WAP and spirit is a laptop the other side of it.) |
28 |
|
29 |
# traceroute netgear |
30 |
traceroute to netgear.wlan (192.168.133.229), 30 hops max, 46 byte packets |
31 |
1 netgear.wlan (192.168.133.229) 0.548 ms 0.368 ms 0.366 ms |
32 |
|
33 |
# links http://netgear |
34 |
Times out and the WAP LEDs don't flicker. The same happens when I'm not |
35 |
root, and when I specify '192.168.133.229' instead of 'netgear'. If I run |
36 |
tcpdump on eth0 and eth1 I see the HTTP traffic going down the wrong interface. |
37 |
|
38 |
I've tried unsetting http_proxy, even setting it to a bogus 192.168.133.229, |
39 |
but that makes no difference. 'grep -r proxy /etc' reveals nothing once I've |
40 |
taken http_proxy out of /etc/profile. 'env | grep proxy' also shows nothing. |
41 |
|
42 |
Why is HTTP traffic going the wrong way? It's taking the default route |
43 |
instead of the specific one it should know about. Bizarrely, Win XP on the |
44 |
same box has no trouble so I know the hardware is fine. |
45 |
|
46 |
-- |
47 |
Rgds |
48 |
Peter. |
49 |
-- |
50 |
gentoo-amd64@g.o mailing list |