[LUGOS] Mrežna kartica

Joze Klepec joze.klepec at siol.net
Tue Sep 28 16:16:24 CEST 2004


Tadej Poberaj wrote:

>Torej:
>
>[root at tower root]# ifconfig
>eth0      Link encap:Ethernet  HWaddr 00:50:BF:7A:C9:BA
>          inet6 addr: fe80::250:bfff:fe7a:c9ba/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:95067 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:71021 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:13 txqueuelen:1000
>          RX bytes:100458881 (95.8 Mb)  TX bytes:10589565 (10.0 Mb)
>          Interrupt:5 Base address:0xef40
>
>eth1      Link encap:Ethernet  HWaddr 00:50:BF:7A:B1:AD
>          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
>          inet6 addr: fe80::250:bfff:fe7a:b1ad/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:103653 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:133345 errors:3 dropped:0 overruns:0 carrier:6
>          collisions:1102 txqueuelen:1000
>          RX bytes:12390950 (11.8 Mb)  TX bytes:137526488 (131.1 Mb)
>          Interrupt:10 Base address:0xeec0
>
>eth2      Link encap:Ethernet  HWaddr 00:0A:CD:09:C3:94
>          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
>          inet6 addr: fe80::20a:cdff:fe09:c394/64 Scope:Link
>          UP BROADCAST MULTICAST  MTU:1500  Metric:1
>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:0 (0.0 b)  TX bytes:378 (378.0 b)
>          Interrupt:9 Base address:0xe800
>
>lo        Link encap:Local Loopback
>          inet addr:127.0.0.1  Mask:255.0.0.0
>          inet6 addr: ::1/128 Scope:Host
>          UP LOOPBACK RUNNING  MTU:16436  Metric:1
>          RX packets:8333 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:8333 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0
>          RX bytes:9501762 (9.0 Mb)  TX bytes:9501762 (9.0 Mb)
>
>ppp0      Link encap:Point-to-Point Protocol
>          inet addr:XXX.XXX.XXX.XXX  P-t-P:213.250.19.90
>Mask:255.255.255.255
>          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
>          RX packets:91329 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:67359 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:3
>          RX bytes:98221804 (93.6 Mb)  TX bytes:8887302 (8.4 Mb)
>--------------------------------------------------
>[root at tower root]# route
>Kernel IP routing table
>Destination     Gateway         Genmask         Flags Metric Ref    Use
>Iface
>BSN-access.dsl. *               255.255.255.255 UH    0      0        0 ppp0
>192.168.0.0     *               255.255.255.0   U     0      0        0 eth1
>192.168.0.0     *               255.255.255.0   U     0      0        0 eth2
>169.254.0.0     *               255.255.0.0     U     0      0        0 eth1
>default         BSN-access.dsl. 0.0.0.0         UG    0      0        0 ppp0
>--------------------------------------------------
>
>Oba računalnika 192.168.0.2 ter 192.168.0.3 sta povezana na server preko
>crossover kabla, prvi na eth1, drugi na eth2.
>Težava je ko dam ping 192.168.0.3 mi ne odziva oz mi izpiše:
>[root at tower root]# ping 192.168.0.3
>PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data.
>>From 192.168.0.1 icmp_seq=0 Destination Host Unreachable
>>From 192.168.0.1 icmp_seq=1 Destination Host Unreachable
>>From 192.168.0.1 icmp_seq=2 Destination Host Unreachable
>>From 192.168.0.1 icmp_seq=3 Destination Host Unreachable
>>From 192.168.0.1 icmp_seq=4 Destination Host Unreachable
>>From 192.168.0.1 icmp_seq=5 Destination Host Unreachable
>
>Dioda utripa samo na eth1
>Oba druga računalnika sta 100% prav skonfigurirana.
>--------------------------------------------------
>
>Če ve kdo kako se to nastavi verjetno v route mu bom zelo hvaležen!
>
>
>lp, Tadej
>
>----- Original Message -----
>From: "Martin Vuk" <martin at gollum.fri.uni-lj.si>
>To: <lugos-list at lugos.si>
>Sent: Tuesday, September 28, 2004 11:57 AM
>Subject: Re: [LUGOS] Mrežna kartica
>
>
>  
>
>>Živijo,
>>On Tue, Sep 28, 2004 at 09:53:24AM +0200, Tadej Poberaj wrote:
>>    
>>
>>>Imam en problem. Na rač. z linuxom bi rad imel 2 mrežni kartici, da bi
>>>      
>>>
>nanj priključil še dodaten računalnik. Drugo kartico mi je lepo zaznalo,
>vendar mi podatke še vedno pošilja le na eth1, eth2 ostaja neaktivna. Kje se
>natavi, da izhod preusmerim tudi na eth2.
>  
>
>>Kam se pošljejo paketi, določiš z ukazom route. Kaj pravita ukaza
>>ifconfig in route?
>>
>>Lep pozdrav,
>>Martin
>>
>>    
>>
>
>
>  
>
Težavo imaš vseeno verjetno z gonilnikom za eno od obeh kartic, kar se 
kar pogosto dogaja. Poskusi izklopiti tudi sleep in suspend mode za celo 
MB - meni zaradi tega RTL8139 (domnevno B ali C, vragsigavedi) 
kompatibilne na plošči sploh ne zazna (pomagalo je pod win98 s trikom - 
enaka kartica v slotu) in sem si dosti živcev prišparal z nakupom ene za 
dva 2,5K. Moj komentar: imej raje tri, dve enaki, eno v kanti.

glej tudi:

strežnik OKO NVIDIA 
<http://oko.edus.si/modules.php?op=modload&name=phpBB2&file=viewtopic&t=70&start=0&postdays=0&postorder=asc&highlight=&sid=19cbcf8e5d7b4c7d1e448b3df1fe980c>


lp, jk





More information about the lugos-list mailing list