Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Need help networking two machines. Dale <dalek@××××××××××.net>