Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.23 KB

Network.md

File metadata and controls

30 lines (20 loc) · 1.23 KB

Network

The emulated Linux can access the Internet. This allows you to test applications that require an Internet connection in addition to access to specific drivers. If an Internet connection is not needed, it can be disabled.

How it works

The Renode emulator creates a TAP device on the host OS. Then both the tap device and the emulated Ethernet module are connected to a virtual switch.

Network configuration:

  • Local network: 172.16.0.0/16
  • Host IP (offers packet forwarding): 172.16.0.1
  • Emulated Linux IP: 172.16.0.2

Disable network

Should you not need an Internet connection or not have the proper permissions, you can disable the entire configuration with the network: false flag. You can continue to use options such as installing external Python packages, sharing directories or sideloading Git repositories.

- uses: antmicro/renode-linux-runner-action@v1
  with:
    shared-dirs: shared-dir
    renode-run: python --version
    network: false

Known issues

Cloning Git repositories for the emulated system using an HTTPS connection sometimes fails due to certificate errors or buffer overflows. We are open for suggestions on solving this problem.