Last active
November 23, 2024 14:15
-
-
Save LuisPalacios/bfb30e26bbfe2ad2dbef433d83616c7c to your computer and use it in GitHub Desktop.
Sur: Fichero de apoyo al tirar el túnel bridge-ethernet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script que se ejecuta al hacer un `stop` del servicio Bridge Ethernet | |
# Interfaces, rutas + IP y MACs asociaré a las interfaces tap y bridge | |
. /etc/openvpn/client/sur_cliente_bridge_ethernet_de_norte_CONFIG.sh | |
## | |
## Equipos (Decos) que llegan a Movistar IPTV | |
## | |
ip rule del from ${bridge_ip_rango} table Decos 2>/dev/null | |
ip route del default via ${bridge_ip_remota} table Decos 2>/dev/null | |
ip route del ${bridge_ip_rango} dev ${EB_BRIDGE} table Decos 2>/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment