This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Static IP Assigning in TM4C1294Hello All,I am assigning Static ip address using inet

Hello All,

I am assigning Static ip address using inet_addr,

ilike inet_adde("192.168.0.9)

But my pc is not pinging,I assigned properly,sysclock,mac array,ip,netmask,gateway and ipmode.

Any forum member please help,i want to ping pc and board.

Thanking ALL

  • Hi Krishnan,

    Did you configure your PC to have a Static IP address? If yes, does your board and PC have a compatible subnet? Did you test to make sure that the PC is configured correctly? I would first make sure that the PC is configured correctly, maybe, by connecting to another PC (that is also configured to have a Staic IP address). You can test the connection using ping.

    Once the PC is configured correctly, we can debug further. Also make sure that the ethernet cable is directly connected to the board from the PC, i.e. the router should not be connected.

    Thanks,
    Sai
  • Sir,

    Thank you for the kind information.I can now work with static IP,Now one small issue is if i assign 

    IP=inet_addr(192.168.1.1) in wireshark its displaying as (1.1.168.192).

    Any idea please replay to resolve.I can send packets no issue,i want to confirm weather i am doing correct or wrong.

    Regards,

    Krishnan