PDA

View Full Version : Two network cards problem


the-hell
03-19-2005, 14:54
Hey, I have a dedicated server here, with two network cards but I have a problem with them. If I look at MRTG or iptraf it seems only eth1 is sending. eth0 is sending nothing 0.0000 but both cards are receiving data (400 KB/s both of them)

I use eth0 IP for website and ssh etc, so it should send something. If I connect to it with ftp, I can see with my FTP client that I am downloading from eth0. But still only eth1 upstream goes up.

I asked FDC if they knew the problem, but they said it is a configuration problem so they can't help. With ifconfig you can see it are really two different cards (mac)

eth0 Link encap:Ethernet HWaddr 00:0B:6A:3A:25:13
inet addr:66.90.*.103 Bcast:66.90.103.255 Mask:255.255.255.0
eth1 Link encap:Ethernet HWaddr 00:50:8B:B3:71:6F
inet addr:66.90.*.108 Bcast:66.90.103.255 Mask:255.255.255.0

What is the problem? Or is it just a problem with MRTG and iptraf?

Thanks in advance!

ChronoCross
03-19-2005, 18:16
did you bridge them correctly? for recieving network card only need be assigned the same ip's. but for sending the computer has to litterally know that both are supposed to send.

the-hell
03-19-2005, 21:49
I don't know, i followed this guide: http://coledd.com/networking/bridge/Bridge-mini-HOWTO.txt

I did: modprobe bridge
ifconfig eth0 promisc ; ifconfig eth1 promisc
brcfg -ena

still it is at 0 kb/s upload. But something really weird happend, both the network cards started receiving at 40+ mbit and the upstream of eth1 went from 25 to 40. I dont know if it is using both cards now, because my peak was 50 mbit already once ..... how can i check if it is using both?

ChronoCross
03-19-2005, 22:31
I don't know, i followed this guide: http://coledd.com/networking/bridge/Bridge-mini-HOWTO.txt

I did: modprobe bridge
ifconfig eth0 promisc ; ifconfig eth1 promisc
brcfg -ena

still it is at 0 kb/s upload. But something really weird happend, both the network cards started receiving at 40+ mbit and the upstream of eth1 went from 25 to 40. I dont know if it is using both cards now, because my peak was 50 mbit already once ..... how can i check if it is using both?

there is the possibility that the guide your using is so outdated that the latest version of your os doesn't support it correctly.

btw are you the-hell from rizon? anime-supreme?

the-hell
03-19-2005, 23:09
yeah I am :) aah I'm famous

I will browse though some more howto's tomorrow. I will let you know if it will all work out. I don't know what the max upstream from 1 connection can be, because 40 mbit for 1 connection is quite much :)

the-hell
03-21-2005, 14:50
solved:

Dutch: http://gathering.tweakers.net/forum/list_message/23020020
Else use babelfish to translate it :) (or look at the commands)

thanks