Gebruikershulpmiddelen

Site-hulpmiddelen


installatie_handleidingen:mikrotik:virtual-container-network

Verschillen

Dit geeft de verschillen weer tussen de geselecteerde revisie en de huidige revisie van de pagina.

Link naar deze vergelijking

Beide kanten vorige revisie Vorige revisie
Volgende revisie
Vorige revisie
installatie_handleidingen:mikrotik:virtual-container-network [2025/09/21 11:34]
abel
installatie_handleidingen:mikrotik:virtual-container-network [2025/10/25 15:40] (huidige)
abel [veth interface for containers]
Regel 1: Regel 1:
-====== veth interface for containers ======+====== veth interface for containers on RouterOS ======
  
-===== reserveer het IP address ===== +===== add IP to DNS server ===== 
-==== DHCP server ====+<code> 
 +/ip dns static 
 +add address=10.100.10.200 name=haproxy.auriel.local 
 +</code>
  
 +===== reserve IP in DHCP server =====
 <code> <code>
 /ip dhcp-server lease /ip dhcp-server lease
 add address=10.100.10.200 comment="HA-proxy container veth" dhcp-option=domain-search mac-address=00:00:00:00:00:01 server=dhcpserver_INTER add address=10.100.10.200 comment="HA-proxy container veth" dhcp-option=domain-search mac-address=00:00:00:00:00:01 server=dhcpserver_INTER
-</code> 
-==== DNS server ==== 
-<code> 
-/ip dns static 
-add address=10.100.10.200 name=haproxy.auriel.local 
 </code> </code>
- 
  
 ===== create the interface ===== ===== create the interface =====
 +<code>
 +/interface/veth
 +add name=veth-haproxy address=10.100.10.200/24 gateway=10.100.10.254
 +</code>
 ===== add the interface to the bridge ===== ===== add the interface to the bridge =====
 +<code> 
 +/interface bridge port 
 +add bridge=bridge1 interface=veth-haproxy disabled=no hw=no pvid=10 
 +</code> 
 +And add as untagged to VLAN 10: 
 +<code> 
 +/interface/bridge/vlan 
 +edit number=0 untagged 
 +</code> 
 +Add ''veth-haproxy'' to the list ans save with ''CRTL-o''.
  
  
installatie_handleidingen/mikrotik/virtual-container-network.1758447244.txt.gz · Laatst gewijzigd: 2025/09/21 11:34 door abel