title: how two linux embedded device can communicate on ethernet
body: <p>i am a beginer in network things...</p>
  
  <p>I am m trying to make a communication between two linux device(imx-6 boards). 
  These devices are connected through an ethernet cable. The devive will not be connected to the local LAN. 
  What i am trying is to make a communication between these two devices using ethernet.</p>
  
  <p>With the Cross cable connected and assigned static IP for both device by 
  enabling below code in /etc/network/interfaces</p>
  
  <p>auto eth0
  iface eth0 inet static
       address 192.168.0.XX
       network 192.168.0.0
       netmask 255.255.255.0</p>
  
  <p>the ping is NOT happening between device (also the network port lights are also not coming) , 
  But when i connected one of this device to laptop (made static IP to laptop) it pings. </p>
  
  <p>am i missing something ???
  i am using Timesys Nitrogen 6X board (<a href="https://linuxlink.timesys.com/docs/gsg/NITROGEN6X#SECTION00042000000000000000" rel="nofollow">https://linuxlink.timesys.com/docs/gsg/NITROGEN6X#SECTION00042000000000000000</a>)</p>
  
  <pre><code># ethtool eth0
  Settings for eth0:
          Supported ports: [ TP MII ]
          Supported link modes:   10baseT/Half 10baseT/Full
                                  100baseT/Half 100baseT/Full
                                  1000baseT/Half 1000baseT/Full
          Supported pause frame use: Symmetric
          Supports auto-negotiation: Yes
          Advertised link modes:  10baseT/Half 10baseT/Full
                                  100baseT/Half 100baseT/Full
                                  1000baseT/Half 1000baseT/Full
          Advertised pause frame use: Symmetric
          Advertised auto-negotiation: Yes
          Speed: 100Mb/s
          Duplex: Full
          Port: MII
          PHYAD: 6
          Transceiver: external
          Auto-negotiation: on
          Link detected: no
  </code></pre>
  
  <p>PLease suggest me an approach.</p>
  
  <p>Thanks</p>