This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
virtualisation:start [2018/07/31 12:45] preisig [Example Containers] |
virtualisation:start [2021/06/15 19:40] juraschek [Networking] |
||
---|---|---|---|
Line 36: | Line 36: | ||
+ | ==== Serial-Interface ==== | ||
+ | Serial-Interfaces can be also used inside of the lxc Container please check the page [[virtualisation:serial-interface|]] for details. | ||
===== Networking ===== | ===== Networking ===== | ||
Line 43: | Line 45: | ||
Generally you can either create a routed interface, where you set your own IP settings that will connect the router (through a virtual interface, virt0) to the guest interface of your cotnainer. The other option is that you bridge the containers interface to an existing one on the router. | Generally you can either create a routed interface, where you set your own IP settings that will connect the router (through a virtual interface, virt0) to the guest interface of your cotnainer. The other option is that you bridge the containers interface to an existing one on the router. | ||
+ | |||
+ | If you are using a routed interface please be sure you networking file is setting the ethernet interface into manual mode and not dhcp: | ||
+ | |||
+ | Example on an alpine guest: | ||
+ | |||
+ | Default in alpine template from linuxcontainers: | ||
+ | <konsole> | ||
+ | / $ cat /etc/network/interfaces | ||
+ | auto eth0 | ||
+ | iface eth0 inet dhcp | ||
+ | hostname $(hostname) | ||
+ | / $ | ||
+ | </konsole> | ||
+ | |||
+ | Need to be switched to | ||
+ | |||
+ | <konsole> | ||
+ | / $ cat /etc/network/interfaces | ||
+ | auto eth0 | ||
+ | iface eth0 inet manual | ||
+ | hostname $(hostname) | ||
+ | / $ | ||
+ | </konsole> | ||
+ | |||
+ | |||
+ | |||
===== Container Templates ===== | ===== Container Templates ===== | ||
Line 88: | Line 116: | ||
* [[app-notes:webvpn-secure-https-portforwardings-for-unsecure-http-devices|Traefik reverse proxy]] | * [[app-notes:webvpn-secure-https-portforwardings-for-unsecure-http-devices|Traefik reverse proxy]] | ||
- | * {{ :virtualisation:virt_logo_traefik.jpg?200 }} | + | {{ :virtualisation:virt_logo_traefik.jpg?200 }} |
* [[ftp://share.netmodule.com/router/public/virt/alpine_3.7_traefik.tar.xz|Download]] - md5sum: 63ba17029d2db8f62f981874eb4fe3b8 | * [[ftp://share.netmodule.com/router/public/virt/alpine_3.7_traefik.tar.xz|Download]] - md5sum: 63ba17029d2db8f62f981874eb4fe3b8 | ||