You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After those dependencies are installed, an update to the firecracker-containerd
310
+
configuration file is required for VMs to use the `fcnet` CNI-configuration as
311
+
their default way of generating network interfaces. Just include the following
312
+
`default_network_interfaces` key in your runtime configuration file (by default
304
313
at `/etc/containerd/firecracker-runtime.json`):
305
314
```json
306
315
"default_network_interfaces": [
@@ -313,19 +322,6 @@ at `/etc/containerd/firecracker-runtime.json`):
313
322
]
314
323
```
315
324
316
-
After that, start up a container (as described in the above Usage section) and
317
-
try pinging your host IP.
318
-
319
-
At the time of this writing, there is a bug in the ptp plugin that prevents the
320
-
DNS settings from the IPAM plugin being propagated. This is being addressed, but
321
-
until that time DNS resolution will require users manually tweak the installed
322
-
CNI configuration to specify static DNS nameservers appropriate to their local
323
-
network in [the `dns` section of the PTP plugin](https://github.com/containernetworking/plugins/tree/master/plugins/main/ptp#network-configuration-reference)
324
-
325
-
While your host's IP should always be reachable from the VM given the above
326
-
networking setup, your VM may or may not have outbound internet access depending
327
-
on the details of your host's network. The ptp plugin attempts to setup iptables
328
-
rules to allow the VM's traffic to be forwarded on your host's network but may
329
-
not be able to if there are pre-existing iptables rules that overlap. In those
330
-
cases, granting your VM outbound internet access may require customization of
331
-
the CNI configuration past what's installed above.
325
+
After that, start up a container (as described in the above Usage section) and
326
+
try pinging any IP available on your host. If your host has internet access,
327
+
you should also be able to access the internet from the container too.
0 commit comments