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
Add firewall plugin to demo-network configuration.
This plugin results in more consistent success in getting traffic forwarded
to/from host networks and the VMs.
Signed-off-by: Erik Sipsma <[email protected]>
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
300
313
at `/etc/containerd/firecracker-runtime.json`):
301
314
```json
302
315
"default_network_interfaces": [
@@ -309,19 +322,6 @@ at `/etc/containerd/firecracker-runtime.json`):
309
322
]
310
323
```
311
324
312
-
After that, start up a container (as described in the above Usage section) and
313
-
try pinging your host IP.
314
-
315
-
At the time of this writing, there is a bug in the ptp plugin that prevents the
316
-
DNS settings from the IPAM plugin being propagated. This is being addressed, but
317
-
until that time DNS resolution will require users manually tweak the installed
318
-
CNI configuration to specify static DNS nameservers appropriate to their local
319
-
network in [the `dns` section of the PTP plugin](https://github.com/containernetworking/plugins/tree/master/plugins/main/ptp#network-configuration-reference)
320
-
321
-
While your host's IP should always be reachable from the VM given the above
322
-
networking setup, your VM may or may not have outbound internet access depending
323
-
on the details of your host's network. The ptp plugin attempts to setup iptables
324
-
rules to allow the VM's traffic to be forwarded on your host's network but may
325
-
not be able to if there are pre-existing iptables rules that overlap. In those
326
-
cases, granting your VM outbound internet access may require customization of
327
-
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