Git Product home page Git Product logo

Comments (3)

rcornwell avatar rcornwell commented on July 17, 2024

HOST is the address of the ITS system (or whatever the IMP is connected too). IP is the IP address that the IMP will respond to on the local net.

Not sure why it is not getting a proper IP address. The DHCP request should occur when the device is reset, or as soon as it is attached.

from sims.

afberendsen avatar afberendsen commented on July 17, 2024

I cannot make it work. Any suggestions?

sim> set imp dhcp
sim> show imp
IMP     MAC=00:00:02:31:83:47, MPX=0, IP=0.0.0.0/0
        GW=0.0.0.0, HOST=0.0.0.0, DHCP Server IP=0.0.0.0, State:OFF, Waited 0 seconds
        not attached, DHCP, MIT
sim> attach imp eth12
%SIM-INFO: Eth: opened OS device \Device\NPF_{EDF7020B-3C8F-4980-866D-2CF83E8CF66F} - Intel-2.5Gb
sim> show imp
IMP     MAC=00:00:02:31:83:47, MPX=0, IP=0.0.0.0/0
        GW=0.0.0.0, HOST=0.0.0.0, DHCP Server IP=0.0.0.0, State:OFF, Waited 0 seconds
        attached to eth12, DHCP, MIT
sim> show imp
IMP     MAC=00:00:02:31:83:47, MPX=0, IP=0.0.0.0/0
        GW=0.0.0.0, HOST=0.0.0.0, DHCP Server IP=0.0.0.0, State:OFF, Waited 0 seconds
        attached to eth12, DHCP, MIT
sim>

from sims.

rcornwell avatar rcornwell commented on July 17, 2024

The DHCP address is not set until the simulator is running. The timing is handled by device timeouts. I will have to think about how to handle disabling DHCP after attach. This is not truly an error, what will happen is that the DHCP lease will not be released nor refreshed.

from sims.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.