[U-Boot-Users] Ethernet port

Yasothabalan Ramaswamy-TLS,Chennai yasothabalanr at hcl.in
Tue Sep 18 15:55:03 CEST 2007


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 at gmail.com [mailto:urwithsughosh at gmail.com] 
Sent: Wednesday, September 19, 2007 4:19 AM
To: Yasothabalan Ramaswamy-TLS,Chennai
Cc: u-boot-users at 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.

-- 
sughosh

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------




More information about the U-Boot mailing list