This is done in two steps: 1. PETH driver creates peth[0-17] interfaces in linux and assigns them default MAC address 00:x:ca:fe:ba:be where x is from 0 - 17. This step will only register with kernel the ip address and will update the dev->dev_addr in the kernel but it really doesn't write this address to actual device.
2. The hardware can be assigned the address by giving command line option while loading the octmac(driver for octal mac chip IXF440) module $ insmod octmac.o mac0="00:00:ca:fe:ba:be" mac1="00:01:ca:fe:ba:be" .... Thanks Nikunj Deepak Saxena <[EMAIL PROTECTED]> writes: > You need to use Intel's PETH driver I believe with provides an > abstraction between the IXBus devices and the standard Linux > IP device interface. I know a couple of people from Intel > are here, so hopefully someone will speak up as I'm not a > uEngine expert. > > ~Deepak > > On Mar 21 2002, at 05:25, Manipal Reddy was caught saying: > > > > Hi Friends, > > Recently i started working with IXP1200,i have small doubt,i want to assign >MAC Address for each Port on ixp1200,so that i can send packets to that particular >port,i am using Embedded linux as RTOS which comes along with IXP1200 2.0. SDK,can >anyone help me as how to assign the address for each MAC Port,Had anyone tried to >assign MAC Address for Ports,Is that I am thinking wrong for assigning MAC Address, >if we cannot assign MAC address for ports,how can we run the example provided by >Intel for eg:L3Fwd16,i.e how we can send packets into each port,Thanks in Advance > > > > Regards > > Manipal > > > > > > > > > > --------------------------------- > > Do You Yahoo!? > > Yahoo! Movies - coverage of the 74th Academy Awards? > -- > Deepak Saxena, Code Monkey - Ph:480.517.0372 Fax:480.517.0262 > MontaVista Software - Powering the Embedded Revolution - www.mvista.com > > Art is allegory, but not all allegory is art. - Me > > _______________________________________________ > http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm > http://www.arm.linux.org.uk/armlinux/mailinglists.php > Please visit the above addresses for information on this list. _______________________________________________ http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm http://www.arm.linux.org.uk/armlinux/mailinglists.php Please visit the above addresses for information on this list.
