Skip to main content

ENV_NET_IPV4

Constant ENV_NET_IPV4 

Source
pub const ENV_NET_IPV4: &str = "MSB_NET_IPV4";
Expand description

Environment variable carrying the guest IPv4 network configuration.

Format: key=value,...

  • addr=A.B.C.D/N — address with prefix length (required)
  • gw=A.B.C.D — default gateway (required)
  • dns=A.B.C.D — DNS server (optional)

Example:

  • MSB_NET_IPV4=addr=100.96.1.2/30,gw=100.96.1.1,dns=100.96.1.1