linux-l: Netzwerk Konfiguration

Volker Gerold volker at vbg.in-berlin.de
Di Aug 5 23:48:17 CEST 1997


On Tue, 5 Aug 1997, Johannes Walther wrote:

> Date: Tue, 05 Aug 1997 19:06:34 +0200
> From: Johannes Walther <hannes at walther.in-berlin.de>
> To: linux-l at mlists.in-berlin.de
> Subject: linux-l: Netzwerk Konfiguration
> 
> Hi Leute,
Hallo Hannes,
mir fällt auf, daß bei der Ausgabe von ifconfig beide LAN-Karten die 
gleiche HW-Adresse haben sollen. Das erscheint mir fehlerhaft zu sein.
Die MAC-Adressen sollen weltweit eineindeutig sein! 
> 
> ich brauch nochmal ne hilfestellung in Sachen NEtzwerk:
> 
> Es gibt einen Rechner der zwei Netzwerkkraten hat. Diese sind richtig
> konfiguriert (denk ich, es ging ja mal) und werden beim Booten auch von
> LILO eingetragen. Das ist auch an den Einträgen in /proc/interrupt usw.
> zu sehen.
> 
> Nun kommt beim booten an der Stelle wio die rc.inet1 ausgeführt wird
> eine meldung die da lautet:
> "blabla:" eth0: Setting Rx mode to 1 adresses
> "blabla:" eth1: Setting Rx mode to 0 adresses
> "blabla:" eth1: Setting Rx mode to 1 adresses
> --- seit dem komm ich nicht mehr aus der Netzkarte zum eth1 ... 
> 
> In rc.inet1 steht
> #-----------rc.inet1---------------
> HOSTNAME='hostname'
> 
> /sbin/ifconfig lo 127.0.0.1
> /sbin/route add -net 127.0.0.0
> 
> /sbin/ifconfig eth0 192.168.20.214 broadcast 192.168.20.248
> /sbin/ifconfig eth1 10.100.64.100 broadcast 10.255.255.255
> 
> /sbin/route add -net 192.168.20.208 netmask 192.168.20.248
> /sbin/route add -host 192.168.20.213
> /sbin/route add -net 10.0.0.0
> /sbin/route add default eth1
> #----------ende--------------------
> 
> mit ifconfig werden beide eth0 und eth1 angezeigt...
> 
> lo        Link encap:Local Loopback  
>           inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
>           UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
>           RX packets:33842 errors:0 dropped:0 overruns:0
>           TX packets:33842 errors:0 dropped:0 overruns:0
> 
> eth0      Link encap:10Mbps Ethernet  HWaddr 00:60:97:25:B7:26
>           inet addr:192.168.20.214  Bcast:192.168.20.248 
> Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:156 errors:0 dropped:0 overruns:0
>           TX packets:117 errors:0 dropped:0 overruns:0
>           Interrupt:7 Base address:0x310 
> 
> eth1      Link encap:10Mbps Ethernet  HWaddr 00:60:97:25:B7:26
>           inet addr:10.100.64.100  Bcast:10.255.255.255  Mask:255.0.0.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0
>           TX packets:0 errors:0 dropped:0 overruns:0
>           Interrupt:10 Base address:0x300
> 
> Scheint alles ok ... 
> 
> mit route wird dann das angezeigt
> 
> Kernel routing table
> Destination     Gateway         Genmask         Flags MSS    Window Use
> Iface
> johann.walther. *        	255.255.255.255 UH    1500   0        1 eth0
> 193.168.20.208  *               255.255.255.248 U     1500   0        0
> eth0
> loopback        *               255.0.0.0       U     3584   0        2
> 10.100.64.100   *               255.0.0.0       U     3584   0        0
> eth1
> default         *               *               U     1500   0        0
> eth1
> 
> hmpf, wo ist denn da der fehler.....
> 
> Kernel ist 2.0.27 .............
> 
> Hannes
> -- 
> Johannes Walther  <http://walther.in-berlin.de>
> BeLUG:            <http://tanda.informatik.hu-berlin.de/BeLUG/>
> IN-Berlin:        <http://www.in-berlin.de>
> 

mfg
Volker

--
________________________________________________________________
Volker Gerold, 16321 Bernau, Guntherstr. 29, tel. +49 3338 45234
                      Niemand hat niemals nie keine Zeit
________________________________________________________________





Mehr Informationen über die Mailingliste linux-l