PaulH (Customer) asked a question.

BX-P-ECOMEX not using configured static IP address.

Even though I have a static IP configured for this module, the port still runs DHCP.

 

Do-more 2.9.2 and latest firmware for the BX-DM1E-M-D


  • HOST_BobO (AutomationDirect)

    Can you take a screen shot of the ECOMEX setup page?

  • HOST_BobO (AutomationDirect)

    It's taking a static for me, but I'm not convinced there isn't an issue. While testing this, I think I had a case where it didn't change the address until I power-cycled, but now I can't dupe it. If you can tolerate a power cycle, see if that cures it.

  • PaulH (Customer)

    No change after a power cycle. Outbound connections (http) are working fine. The http server the BRX is connecting to reports the IP address that is not my static setting. It seems that the adapter claimed a DHCP address from when I first powered it up, and it now keeps using that address. I have not sniffed traffic to see if it issues an actual dhcp request during power up, or just reusing the last configured address.

     

    It seems odd that I cannot ping the adapter either.

    Expand Post
    • HOST_BobO (AutomationDirect)

      What are your internal port settings?

  • PaulH (Customer)

    The primary port is the local machine network.

     

    192.168.10.10

    255.255.255.0

    192.168.10.1

     

     

    • HOST_BobO (AutomationDirect)

      You cannot have two gateways​, it will always route to the first one configured. That can cause odd behavior.

      Still doesn't explain what you are seeing though. ​

  • PaulH (Customer)

    As I was typing that last night, the double gateway issue dawned on me too. I fixed that this morning, Did several reconfiguration attempts, and the ECOMEX is still using DHCP.

     

    I tried switching the ECOMEX back to DHCP in the software, save, reboot, then switched it back to static, and saved and rebooted. No luck.

     

    I also ran wireshark on the network, and during boot, the ECOMEX is sending a DHCP request out....and getting an answer from our DHCP server.

    Expand Post
    • HOST_franji1 (HOST Engineering)

      1. Is NetEdit always reporting the expected IP Address (either Static or DHCP based on the current sysconfig setting) for the ECOMEX's Ethernet (MAC) Address?
      2.  But the HTTPCMD is always using a (the) static IP (never the DHCP assigned IP Address)?
  • PaulH (Customer)

    1)Netedit always reports the DHCP address, no matter how I have the processor configured(DHCP or Static). If I use Netedit to change the IP address of the port, it actually changes the primary port adapter IP address.

     

    2) The HTTPCMD call functions correctly, but the trafic all originates from the DHCP configured address.

     

    3) The Processor always sends a DHCP request for the ECOMEX on power up, even if the port is configured as static in the sysconfig.

    Expand Post
10 of 16