[CentOS] Dell 2950 and broadcom

Thu Jan 24 17:24:58 UTC 2008
Alain Spineux <aspineux at gmail.com>

On Jan 24, 2008 5:20 PM, Martin <list at manuelmartini.it> wrote:
> Hi all
>
> I'm trying to setup second ethernet on Dell 2950 server
> but there isn't any eth1 device (in the bios are ON)
>
> # dmesg |grep eth
> eth0: Broadcom NetXtreme II BCM5708 1000Base-T (B2) PCI-X 64-bit 133MHz
> found at mem f8000000, IRQ 169, node addr 001c23d878bb
> eth1: Broadcom NetXtreme II BCM5708 1000Base-T (B2) PCI-X 64-bit 133MHz
> found at mem f4000000, IRQ 169, node addr 001c23d878bd
> bnx2: eth0: using MSI
> bnx2: eth0 NIC Link is Up, 100 Mbps full duplex
>
>
>
> # uname -a
> Linux vmta2.contactlab.it 2.6.18-53.1.6.el5 #1 SMP Wed Jan 23 11:28:47
> EST 2008 x86_64 x86_64 x86_64 GNU/Linux
>
>
> # ifconfig -a
> dev707    Link encap:Ethernet  HWaddr 00:1C:23:D8:78:BD
>            BROADCAST MULTICAST  MTU:1500  Metric:1
>            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>            Interrupt:169 Memory:f4000000-f4012100

any idea why your eth1 is named dev707 ?
Is their any problem to use this name  ?

You could try to add this line to /etc/udev/rules.d/70-persistent-net.rules

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1C:23:D8:78:BD", ATTR{type}=="1", NAME="eth1"

This is what I use to give different pcmcia card the same name "wlan0"
on all my laptop.


>
> eth0      Link encap:Ethernet  HWaddr 00:1C:23:D8:78:BB
>            inet addr:xxxxxxxxxx  Bcast:xxxxxxxxx  Mask:255.255.255.0
>            inet6 addr: fe80::21c:23ff:fed8:78bb/64 Scope:Link
>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>            RX packets:119649 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:43871 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:91428814 (87.1 MiB)  TX bytes:5879945 (5.6 MiB)
>            Interrupt:169 Memory:f8000000-f8012100
>
> 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:14 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:0
>            RX bytes:848 (848.0 b)  TX bytes:848 (848.0 b)
>
>
> # ls -la /sys/class/net/
> total 0
> drwxr-xr-x  6 root root 0 Jan 24 10:39 .
> drwxr-xr-x 30 root root 0 Jan 24 10:39 ..
> drwxr-xr-x  3 root root 0 Jan 24 10:57 dev707
> drwxr-xr-x  3 root root 0 Jan 24 10:40 eth0
> drwxr-xr-x  3 root root 0 Jan 24 10:40 lo
> drwxr-xr-x  3 root root 0 Jan 24 10:40 sit0
>
>
> # lsmod |grep bnx
> bnx2                  190425  0
>
>
> # cat /etc/modprobe.conf
> alias eth0 bnx2
> alias eth1 bnx2
> alias scsi_hostadapter megaraid_sas
> alias scsi_hostadapter1 ata_piix
>
>
>
> How can I do to setup eth1 device?
>
> kind regards
>
>
>
>
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you