
Thanks sughosh.
Here in my board I have two Ethernet ports; So now I have to set two different IP addresses for these ports.
As when the U-Boot prompt comes up we can set the IP address as,
=> set ipaddr 10.128.19.1 => set ethaddr aa:bb:cc:ee:ff:gg
So above setting is valid only for single Ethernet port.
My doubt how to set IP address for another Ethernet port or what is the method to do that?
Regards, Yasotha Balan R
-----Original Message----- From: urwithsughosh@gmail.com [mailto:urwithsughosh@gmail.com] Sent: Wednesday, September 19, 2007 4:19 AM To: Yasothabalan Ramaswamy-TLS,Chennai Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] Ethernet port
Hello,
On Tue Sep 18, 2007 at 05:49:44PM +0530, Yasothabalan Ramaswamy-TLS,Chennai wrote:
So we can set two Ethernet addresses.
Forgot to mention one thing in the previous mail though. It is not recommended to configure the mac addresses, using this method. If you flash the same u-boot image on multiple boards (which you most probably will), the ethernet controllers on all the boards will end up having the same mac addresses, which is something you don't want. You can configure the mac addresses through the environment settings, for each board. Check this,
http://www.nabble.com/Changing-ethaddr-tf4192505.html#a11927308
How can I set two different IP addresses for these two ports? [Two different IPs Two different GATEWAYs Two different SERVERIPs]
I'm not sure what you want to do, but AFAIK, you have a single ethernet controller which is active, set by the 'ethact' env variable. This is used to send/receive the traffic. So i'm not sure why you require multiple ip/gateways and serverip's to be set.