domingo, 29 de abril de 2012

BALANCEO POR GRUPO

BALANCEO POR GRUPO


MikroTik RouterOS 5.6
/ip address
add address=192.168.1.1/24 disabled=no interface=LAN network=192.168.1.0
add address=192.168.2.200/25 disabled=no interface=ISP1 network=192.168.2.2
add address=192.168.0.200/24 disabled=no interface=ISP2 network=192.168.0.0
 
/ip firewall mangle
add action=mark-routing chain=prerouting comment=Grupo_A disabled=no \
    new-routing-mark=Grupo_A passthrough=no src-address=192.168.1.0/25
add action=mark-routing chain=prerouting comment=Grupo_A disabled=no \
    new-routing-mark=Grupo_B passthrough=no src-address=192.168.1.128/25

/ip route
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
    10.111.0.1 routing-mark=Grupo_A scope=30 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.1 \
    routing-mark=Grupo_B scope=30 target-scope=10


/ip firewall nat
add action=masquerade chain=srcnat disabled=no src-address=192.168.1.0/24




/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.0.1 \
    routing-mark=Grupo_A scope=30 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.2.1 \
    routing-mark=Grupo_B scope=30 target-scope=10

No hay comentarios:

Publicar un comentario

LABORATORIO DE PRÁCTICAS DE TRANSISTORES BIPOLARES: PNP Y NPN

  Título del laboratorio : Laboratorio de prácticas de transistores bipolares: PNP y NPN Objetivos del laboratorio : Identificar las partes ...