[ILUG] How can one set a MAC address in LINUX?????

Eamonn Shinners shinnere at gofree.indigo.ie
Sun Dec 16 19:59:49 GMT 2001


On Wed 12 Dec 2001 15:54, Wynne, Conor wrote:
> ..... What I really wan't to do is bond two cards
> together, .........
If you want to bond two cards together, enable ethernet bonding as a module 
in the kernel. Then get yourself the ifenslave utility from
www.geocrawler.com/archives/3/423/2001/4/0/5704810 (just checked this out 
it's the actual c source.)
try 
http://rpmfind.net/linux/RPM/conectiva/6.0/cd2/conectiva/RPMS/ifenslave-0.07-1cl.i386.html,
I know it's for connectiva, but it's the source rpm.
This is the source so do;
	gcc -o ifenslave ifenslave.c, stick the result into /usr/sbin
to set up the interface do;
	ifenslave bond0 eth0
	ifensalve bond0 eth1
	ifconfig bond0 10.1.1.1  { or whatever IP address }
	netmask 255.255.255.252 up  { change netmask to suit IP }

set up the machine on the other end the same way, but obviously with a 
different IP

	Eamonn
p.s. - courtesy of PC Plus.




More information about the ILUG mailing list