On Fri, 20 Apr 2001 [EMAIL PROTECTED] wrote:
> I have an ethernet driver running on a system which has 2 similar ethernet
> controllers plugged in them.
> Also, i need to program the Node Address for both with unique values. The
> parameter name is MACAddr which takes in a hex value. When i load the
> driver, it programs both boards with the same MAC address. how do i avoid
> that? I have the process explained below.
>
> insmod tstdrv.o MACAddr=000011223344
>
> after i do this & type in "ifconfig", i see
>
> eth0 programmed with the HWAddr 000011223344 &
> eth1 programmed with the same HWAddr 000011223344..
If the driver supports this, you can change the MAC address after loading
the module (but before bringing the interfaces up) with 'ifconfig eth0
hw ether ...' or the like.
You can also set it in /etc/sysconfig/network-scripts/ifcfg-ethX, with
MACADDR= keyword.
--
Pekka Savola "Tell me of difficulties surmounted,
Netcore Oy not those you stumble over and fall"
Systems. Networks. Security. -- Robert Jordan: A Crown of Swords
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list