[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: [microblaze-uclinux] network bad working?



Hi Roger,
Thanks for your mail. 
On the contrary, the board answer arp requests and works perfect, all
just after sending something after ifconfig. I found a program to send
an UDP package to the network, and execute it after executing ifconfig
on the board, and it worked fine. But that is a bad solution, because
something in the initialization of the ethernet goes wrong, but what, I
havent found yet.

I used tcpdump(under linux) to analyze the network traffic, though I
also tried wireshark :=)

Best regards,
   - Raul


>-----Ursprüngliche Nachricht-----
>Von: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] Im Auftrag von Roger
Cover
>Gesendet: Mittwoch, 28. März 2007 17:19
>An: microblaze-uclinux@xxxxxxxxxxxxxx
>Betreff: RE: [microblaze-uclinux] network bad working?

>Greetings Raul,

>I think if you look at the network traffic you will find that the board
is never answering any ARP request. The behavior of ARP is such >that
any host that answers an ARP request (such as from the board to the PC)
will cache the requester's physical (MAC) address. For this >reason the
PC will know what address the board has without sending an ARP request
of its own after the board pings the PC.

>I have seen this behavior before. If you ping the PC from your board
and establish communications, after about 10 minutes you will find >that
the PC can no longer find your board. That is the period needed for the
ARP cache to drop your board's physical address.

>A network packet analyzer, like wireshark (http://www.wireshark.org/),
will be helpful in determining exactly what traffic is being sent >and
responded to in this situation. A short time with a packet analyzer will
show you what is happening on the wire. From there it should >be easy to
figure out what is not working.

>Regards,
>Roger W. Cover
-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of Raul
Camaras
Sent: Wednesday, March 28, 2007 5:48 AM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: AW: [microblaze-uclinux] network bad working?

Hello,

thank you John for you answer/s.
However I did everything right with the network
configuration(netmask/broadcast) and it looks like again, that the
board(uclinux) doesn't answer to the first arp request(s) from the host
to know the MAC address of the microblaze board, just after a ping is
done from the board, it starts answering.
Any idea how can this be solved? So that I don't need to ping first to
let it work.
Thanks a lot.
  - Raul Camaras


-----Ursprüngliche Nachricht-----
Von: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] Im Auftrag von John
Williams
Gesendet: Mittwoch, 28. März 2007 01:27
An: microblaze-uclinux@xxxxxxxxxxxxxx
Betreff: Re: [microblaze-uclinux] network bad working?

Hi Raul,

Raul Camaras wrote:
> Hello,
> 
> I have a problem with the network behaviour.
> I don't use DHCPCD, and I set the IP address of the board with
ifconfig
> so:

I think this is an issue with your network configuration - 
netmask/broadcast etc.

Firstly, you should check the netmask/broadcast ifconfig settings on 
your host - make sure they match what you are getting on your microblaze

board.

See below for more:

> #ifconfig eth0 192.168.100.6 netmask 255.255.0.0
> 
> after that, ifconfig looks so:
> 
> #ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:00:C0:A3:E5:44
>           inet addr:192.168.100.6  Bcast:192.168.100.255
> Mask:255.255.0.0

Shouldn't the broadcast address be 192.168.255.255, for a netmask of 
255.255.0.0 (a /16 network)?

#ifconfig eth0 192.168.100.6 netmask 255.255.0.0 broadcast
192.168.255.255

What is the broadcast setting on the host?

Regards,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/