Gentoo Archives: gentoo-user

From: Dale <dalek@××××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Need help networking two machines.
Date: Fri, 12 Jan 2007 10:16:28
Message-Id: 45A75E6C.7070802@exceedtech.net
1 Hi
2
3 I have done this before. Maybe something has changed because I can not
4 get it to work now. My main rig is called smoker. The second rig is
5 currently booted off the CD. I plan to use my main rig to sync and get
6 distfiles off of. This is off smokers /etc/conf.d/net file:
7
8 > config_eth0=( "192.168.0.1 netmask 255.255.255.0 broadcast
9 > 192.168.0.255" )
10 More info from smoker:
11
12 > eth0 Link encap:Ethernet HWaddr 00:01:53:81:00:E7
13 > inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
14 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
15 > RX packets:34 errors:0 dropped:0 overruns:0 frame:0
16 > TX packets:205 errors:0 dropped:0 overruns:0 carrier:0
17 > collisions:0 txqueuelen:1000
18 > RX bytes:16458 (16.0 Kb) TX bytes:5670 (5.5 Kb)
19 > Interrupt:10 Base address:0xc000
20
21 > root@smoker / # ping 192.168.0.2
22 > PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
23 > From 192.168.0.1 icmp_seq=1 Destination Host Unreachable
24 > From 192.168.0.1 icmp_seq=2 Destination Host Unreachable
25 > From 192.168.0.1 icmp_seq=3 Destination Host Unreachable
26 >
27 > --- 192.168.0.2 ping statistics ---
28 > 5 packets transmitted, 0 received, +3 errors, 100% packet loss, time
29 > 4009ms
30 > , pipe 3
31 > root@smoker / #
32
33 If it helps any, I see traffic going over the network in gkrellm.
34
35 > root@smoker / # route
36 > Kernel IP routing table
37 > Destination Gateway Genmask Flags Metric Ref
38 > Use Iface
39 > nas2.greenwood1 * 255.255.255.255 UH 0 0
40 > 0 ppp0
41 > 192.168.0.0 * 255.255.255.0 U 0 0
42 > 0 eth0
43 > loopback * 255.0.0.0 U 0 0 0 lo
44 > default nas2.greenwood1 0.0.0.0 UG 0 0
45 > 0 ppp0
46 > root@smoker / #
47 Yea, ppp0 would be that slow as crap dial-up connection I have. < cries >
48 > root@smoker / # iptables -L
49 > Chain INPUT (policy ACCEPT)
50 > target prot opt source destination
51 > ACCEPT tcp -- anywhere anywhere tcp dpt:http
52 > DROP all -- anywhere anywhere state
53 > INVALID,NEW
54 >
55 > Chain FORWARD (policy ACCEPT)
56 > target prot opt source destination
57 > DROP all -- anywhere anywhere state
58 > INVALID,NEW
59 >
60 > Chain OUTPUT (policy ACCEPT)
61 > target prot opt source destination
62 > root@smoker / #
63
64 Now the info from the second rig is a bit hard to get. I can't exactly
65 copy and paste here. Help me get this working and I'll copy and paste
66 all you want. LOL Second rig is the same setup except it is set to
67 address 192.168.0.2. I did restart the network though, on both rigs.
68
69 Route returns loopback and that is all. Looks suspicious to me. It
70 doesn't have iptables installed on the CD. I guess there are none.
71
72 Oh, to test the cable, I set both to the same address. When I tried to
73 bring up the network, it gave me a error that the address was in use or
74 something like that. It saw it at least.
75
76 Can someone tell me what I am doing wrong? It has to be me. It almost
77 always is.
78
79 Thanks for the help.
80
81 Dale
82
83 :-) :-) :-)
84
85 --
86 www.myspace.com/dalek1967
87
88 --
89 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Need help networking two machines. Daniel Iliev <danny@××××××××.com>
Re: [gentoo-user] Need help networking two machines. Mick <michaelkintzios@×××××.com>