Documentation
¶
Index ¶
Constants ¶
View Source
const Subnet = "10.200.0.0/16"
Subnet is the internal IP range used for Firecracker microVMs.
Variables ¶
This section is empty.
Functions ¶
func Bootstrap ¶
func Bootstrap() error
Bootstrap dynamically configures the host's networking stack to allow the MicroVMs to reach the internet via NAT and IP Forwarding.
func CreatePointToPointTap ¶
CreatePointToPointTap creates a new TAP interface and establishes a Point-to-Point peer route. Uses netlink syscalls directly to avoid fork/exec overhead and kernel RTNL lock contention from concurrent `ip` command invocations.
Types ¶
type IPAM ¶
type IPAM struct {
// contains filtered or unexported fields
}
IPAM manages the allocation of /32 point-to-point IP addresses for Firecracker MicroVMs out of a given CIDR block.
Click to show internal directories.
Click to hide internal directories.