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

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/