1 |
On Saturday 26 May 2007 17:30, Sven Braun wrote: |
2 |
> On 5/26/07, Chris C. <kildau-ml@×××.de> wrote: |
3 |
> > On Saturday 26 May 2007 16:56, Sven Braun wrote: |
4 |
> > > Ich habe das ganze nochmal mit mehreren Netzwerkkarten durchgespielt, |
5 |
> > |
6 |
> > und |
7 |
> > |
8 |
> > > festgestellt, dass (nur!) eine mit dem "dritten" Rechner harmoniert, |
9 |
> > > und das auch nur, wenn sie ohne die dritte Karte im Hauptrechner |
10 |
> > > eingebaut |
11 |
> > |
12 |
> > ist. |
13 |
> > |
14 |
> > > Wenn ich jetzt eben eine dritte Karte einbaue, kann lediglich der |
15 |
> > |
16 |
> > "zweite" |
17 |
> > |
18 |
> > > Rechner angepingt werden, der "dritte" ist nicht ansprechbar. |
19 |
> > > Nun frage ich mich ernsthaft, woran das liegen kann .. habt ihr eine |
20 |
> > |
21 |
> > leise |
22 |
> > |
23 |
> > > Ahnung ? |
24 |
> > > |
25 |
> > > (Bei der Topologie: |
26 |
> > > |
27 |
> > > |
28 |
> > > [internet] --- router |
29 |
> > > |
30 |
> > > |
31 |
> > > [pc1]---[pc2] |
32 |
> > > |
33 |
> > > o-----[pc3] |
34 |
> > > |
35 |
> > > ) |
36 |
> > |
37 |
> > Zeig doch mal die Ausgabe von route -n und ifconfig, bzw ip route und ip |
38 |
> > addr. |
39 |
> |
40 |
> Klar, auf dem pc1: |
41 |
> |
42 |
> route -n |
43 |
> |
44 |
> route -n |
45 |
> Kernel IP routing table |
46 |
> Destination Gateway Genmask Flags Metric Ref Use |
47 |
> Iface |
48 |
> 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 |
49 |
> eth1 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 |
50 |
> 0 eth2 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 |
51 |
> 0 eth0 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 |
52 |
> 0 lo 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 |
53 |
> 0 eth0 |
54 |
> |
55 |
> ifconfig |
56 |
> |
57 |
> ifconfig |
58 |
> eth0 Link encap:Ethernet HWaddr 00:17:31:BC:09:3F |
59 |
> inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 |
60 |
> inet6 addr: fe80::217:31ff:febc:93f/64 Scope:Link |
61 |
> UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 |
62 |
> RX packets:95 errors:0 dropped:0 overruns:0 frame:0 |
63 |
> TX packets:58 errors:0 dropped:0 overruns:0 carrier:0 |
64 |
> collisions:0 txqueuelen:1000 |
65 |
> RX bytes:13029 (12.7 Kb) TX bytes:10784 (10.5 Kb) |
66 |
> Interrupt:23 Base address:0xc000 |
67 |
> |
68 |
> eth1 Link encap:Ethernet HWaddr 00:13:46:28:54:29 |
69 |
> inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0 |
70 |
> inet6 addr: fe80::213:46ff:fe28:5429/64 Scope:Link |
71 |
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
72 |
> RX packets:22 errors:0 dropped:0 overruns:0 frame:0 |
73 |
> TX packets:15 errors:0 dropped:0 overruns:0 carrier:0 |
74 |
> collisions:0 txqueuelen:1000 |
75 |
> RX bytes:1548 (1.5 Kb) TX bytes:1206 (1.1 Kb) |
76 |
> Interrupt:17 Base address:0xe000 |
77 |
> |
78 |
> eth2 Link encap:Ethernet HWaddr 00:C0:26:01:56:CA |
79 |
> inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0 |
80 |
> inet6 addr: fe80::2c0:26ff:fe01:56ca/64 Scope:Link |
81 |
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
82 |
> RX packets:19 errors:0 dropped:0 overruns:0 frame:0 |
83 |
> TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 |
84 |
> collisions:0 txqueuelen:1000 |
85 |
> RX bytes:3260 (3.1 Kb) TX bytes:378 (378.0 b) |
86 |
> Interrupt:18 |
87 |
> |
88 |
> lo Link encap:Local Loopback |
89 |
> inet addr:127.0.0.1 Mask:255.0.0.0 |
90 |
> inet6 addr: ::1/128 Scope:Host |
91 |
> UP LOOPBACK RUNNING MTU:16436 Metric:1 |
92 |
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0 |
93 |
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 |
94 |
> collisions:0 txqueuelen:0 |
95 |
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
96 |
> |
97 |
> auf dem pc2: |
98 |
> |
99 |
> ifconfig |
100 |
> eth0 Link encap:Ethernet HWaddr 00:16:17:BB:53:4E |
101 |
> inet addr:10.0.0.3 Bcast:10.0.0.255 Mask:255.255.255.0 |
102 |
> inet6 addr: fe80::216:17ff:febb:534e/64 Scope:Link |
103 |
> UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 |
104 |
> RX packets:64 errors:0 dropped:0 overruns:0 frame:0 |
105 |
> TX packets:71 errors:0 dropped:0 overruns:0 carrier:0 |
106 |
> collisions:0 txqueuelen:1000 |
107 |
> RX bytes:8434 (8.2 Kb) TX bytes:12738 (12.4 Kb) |
108 |
> Interrupt:18 Base address:0x8000 |
109 |
> |
110 |
> lo Link encap:Local Loopback |
111 |
> inet addr:127.0.0.1 Mask:255.0.0.0 |
112 |
> inet6 addr: ::1/128 Scope:Host |
113 |
> UP LOOPBACK RUNNING MTU:16436 Metric:1 |
114 |
> RX packets:7 errors:0 dropped:0 overruns:0 frame:0 |
115 |
> TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 |
116 |
> collisions:0 txqueuelen:0 |
117 |
> RX bytes:784 (784.0 b) TX bytes:784 (784.0 b) |
118 |
> |
119 |
> |
120 |
> |
121 |
> route -n |
122 |
> |
123 |
> Kernel IP routing table |
124 |
> Destination Gateway Genmask Flags Metric Ref Use Iface |
125 |
> 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 |
126 |
> 127.0.0.0 127.0.0.0 255.0.0.0 UG 0 0 0 lo |
127 |
> |
128 |
> und pc3 |
129 |
> |
130 |
> ifconfig |
131 |
> |
132 |
> eth0 Link encap:Ethernet HWaddr 00:19:DB:21:4B:52 |
133 |
> inet addr:10.0.0.4 Bcast:10.0.0.255 Mask:255.255.255.0 |
134 |
> UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 |
135 |
> RX packets:64 errors:0 dropped:0 overruns:0 frame:0 |
136 |
> TX packets:71 errors:0 dropped:0 overruns:0 carrier:0 |
137 |
> collisions:0 txqueuelen:1000 |
138 |
> RX bytes:8434 (8.2 Kb) TX bytes:12738 (12.4 Kb) |
139 |
> Interrupt:23 Base address:0x8000 |
140 |
> |
141 |
> lo Link encap:Local Loopback |
142 |
> inet addr:127.0.0.1 Mask:255.0.0.0 |
143 |
> UP LOOPBACK RUNNING MTU:16436 Metric:1 |
144 |
> RX packets:7 errors:0 dropped:0 overruns:0 frame:0 |
145 |
> TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 |
146 |
> collisions:0 txqueuelen:0 |
147 |
> RX bytes:784 (784.0 b) TX bytes:784 (784.0 b) |
148 |
> |
149 |
> |
150 |
> route -n |
151 |
> |
152 |
> Kernel IP routing table |
153 |
> Destination Gateway Genmask Flags Metric Ref Use Iface |
154 |
> 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 |
155 |
> 127.0.0.0 127.0.0.0 255.0.0.0 UG 0 0 0 lo |
156 |
|
157 |
Hmm... also, du kannst von pc1 nur pc2 anpingen. pc2 und pc3 befinden sich |
158 |
aber im gleichen subnet auf zwei verschiedneen interfaces. entweder |
159 |
du "sagst" deiner routing-table, dass sich pc3 auf if3 befindet, oder du |
160 |
verwendest für beide verschiedne subnetmasken. |
161 |
|
162 |
pc1 if1: 192.168.0.2/255.255.255.0 |
163 |
pc1 if2: 10.0.0.1/255.255.255.128 |
164 |
pc1 if3: 10.0.0.129/255.255.255.128 |
165 |
pc2 if1: 10.0.0.3/255.255.255.128 -> default gw 10.0.0.1 |
166 |
pc3 if1: 10.0.0.130/255.255.255.128 -> default gw 10.0.0.129 |
167 |
|
168 |
(oder auch mit /24'er Subnets...) |
169 |
|
170 |
oder: |
171 |
route add 10.0.0.4 dev eth2 (unter openbsd funktioniert das, unter linux nicht |
172 |
getestet!) |
173 |
-- |
174 |
gentoo-user-de@g.o mailing list |