Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Problem with configure MPC8313 MAC address: Page 1 of 19 (19 Items)
   
Problem with configure MPC8313 MAC address  
I am trying to configure the MAC address for MPC8313 target.

The BSP of MPC8313 use a fixed MAC address in the syspage, I have found two possible way to configure the MAC address we
 specify, but none of them works properly.

1) io-pkt-v4-hc -d mpc85xx mac=00123456789a
2)ifconfig tsec0 link 00:12:34:56:78:9a active

after either of the configureation above, all the packet sending out by the target is correctly, but the target seems 
get problem when pick up the reply packet.

For example:
A: windows XP (fresh rebooted), Wireshark to capture the communication paket, IP:192.168.3.254/24
B: our MPC8313 target, IP:192.168.3.151/24

When I ping from B to A:
B send out:
Summary:CamilleB_56:78:9a	Broadcast	ARP	Who has 192.168.3.254?  Tell 192.168.3.151
A reply:
Summary: Belkin_e7:77:eb	CamilleB_56:78:9a	ARP	192.168.3.254 is at 00:11:50:e7:77:eb
B send out:
Summary:CamilleB_56:78:9a	Broadcast	ARP	Who has 192.168.3.254?  Tell 192.168.3.151
A reply:
Summary: Belkin_e7:77:eb	CamilleB_56:78:9a	ARP	192.168.3.254 is at 00:11:50:e7:77:eb

B send out:
Summary:CamilleB_56:78:9a	Broadcast	ARP	Who has 192.168.3.254?  Tell 192.168.3.151
A reply:
Summary: Belkin_e7:77:eb	CamilleB_56:78:9a	ARP	192.168.3.254 is at 00:11:50:e7:77:eb

But B will never update it is arp table and get the MAC address of A.
when I use arp -a, and alway get:

# arp -a
? (192.168.3.254) at (incomplete) on tsec0