1 |
Some quick thoughts: |
2 |
|
3 |
On Friday 12 January 2007 10:09, Dale wrote: |
4 |
> Hi |
5 |
> |
6 |
> I have done this before. Maybe something has changed because I can not |
7 |
> get it to work now. My main rig is called smoker. The second rig is |
8 |
> currently booted off the CD. I plan to use my main rig to sync and get |
9 |
> |
10 |
> distfiles off of. This is off smokers /etc/conf.d/net file: |
11 |
> > config_eth0=( "192.168.0.1 netmask 255.255.255.0 broadcast |
12 |
> > 192.168.0.255" ) |
13 |
> |
14 |
> More info from smoker: |
15 |
> > eth0 Link encap:Ethernet HWaddr 00:01:53:81:00:E7 |
16 |
> > inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 |
17 |
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
18 |
> > RX packets:34 errors:0 dropped:0 overruns:0 frame:0 |
19 |
> > TX packets:205 errors:0 dropped:0 overruns:0 carrier:0 |
20 |
> > collisions:0 txqueuelen:1000 |
21 |
> > RX bytes:16458 (16.0 Kb) TX bytes:5670 (5.5 Kb) |
22 |
> > Interrupt:10 Base address:0xc000 |
23 |
> > |
24 |
> > root@smoker / # ping 192.168.0.2 |
25 |
> > PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data. |
26 |
> > From 192.168.0.1 icmp_seq=1 Destination Host Unreachable |
27 |
> > From 192.168.0.1 icmp_seq=2 Destination Host Unreachable |
28 |
> > From 192.168.0.1 icmp_seq=3 Destination Host Unreachable |
29 |
> > |
30 |
> > --- 192.168.0.2 ping statistics --- |
31 |
> > 5 packets transmitted, 0 received, +3 errors, 100% packet loss, time |
32 |
> > 4009ms |
33 |
> > , pipe 3 |
34 |
> > root@smoker / # |
35 |
> |
36 |
> If it helps any, I see traffic going over the network in gkrellm. |
37 |
|
38 |
So, we know that packets go out, but we don't know if they are returned. We |
39 |
also don't know if in case they are returned your iptables knock them out. |
40 |
|
41 |
> > root@smoker / # iptables -L |
42 |
> > Chain INPUT (policy ACCEPT) |
43 |
> > target prot opt source destination |
44 |
> > ACCEPT tcp -- anywhere anywhere tcp dpt:http |
45 |
> > DROP all -- anywhere anywhere state |
46 |
> > INVALID,NEW |
47 |
> > |
48 |
> > Chain FORWARD (policy ACCEPT) |
49 |
> > target prot opt source destination |
50 |
> > DROP all -- anywhere anywhere state |
51 |
> > INVALID,NEW |
52 |
> > |
53 |
> > Chain OUTPUT (policy ACCEPT) |
54 |
> > target prot opt source destination |
55 |
> > root@smoker / # |
56 |
|
57 |
Try again after you take iptables down, /etc/init.d/iptables stop, so that you |
58 |
eliminate one factor at a time. |
59 |
|
60 |
> Route returns loopback and that is all. Looks suspicious to me. It |
61 |
> doesn't have iptables installed on the CD. I guess there are none. |
62 |
> |
63 |
> Oh, to test the cable, I set both to the same address. When I tried to |
64 |
> bring up the network, it gave me a error that the address was in use or |
65 |
> something like that. It saw it at least. |
66 |
> |
67 |
> Can someone tell me what I am doing wrong? It has to be me. It almost |
68 |
> always is. |
69 |
|
70 |
What does this give you: |
71 |
|
72 |
# cat /proc/sys/net/ipv4/icmp_echo_ignore_all |
73 |
|
74 |
HTH. |
75 |
-- |
76 |
Regards, |
77 |
Mick |