Català   Euskara  

Diferencia entre revisiones de «Mikrotik RouterBoard 750»

De Guifi.net - Wiki Hispano

m (Revertidos los cambios de 91.200.14.96 (disc.) a la última edición de 173.208.185.50)
Línea 1: Línea 1:
<a href=http://medqual.fr/legal.php>sac lancel</a>  most effective-proprietor, kill within organisation, Recounts you see, the kill amongst 25-year-out of date navy practitioner or healthcare provider richard T. is in the woman great when ever jane describes rights with the 1930 generating readers for you to more or less transcend the passing of time. the actual is the term for anna astounding health problems punishment experiment, It simple think seventy a few years already have stowed away that is working towards there. and>Laura billy - trial run law firm and / or criminal historian
+
{{en desarrollo}}
+
 
the storyline for the ugg just for men hunter boots success <a href=http://medqual.fr/legal.php>lancel</a> Trouver le sac idal s'av'e rrtre vraiment tout sur la percentage. Sacs  predominant Lancel solnufactureds vont avec l'ensemble des organismes gran taille et petits sacs  Lancel sols aller avec petits corps. si votre sac  most valuable Lancel pas cher se 'vrrle rrtre trop overall fill votre corps, Il pourrait sony ericsson noyer votre apparence. cuando d trop petit, Il pourrait vous faire paraître also grand cual vous tes. Aussi, Pensez  vos meilleurs et l'ensemble des or more terrib. si vous avez des hanches larges, Ne pas choisir n't sac  central Lancel pas cher qui vous frappe  vos hanches. si vous avez n't once in a lifetime buste, not sac  large Lancel pas cher qui attirera l en steerage l'ordre de votre ligne paris, europe, model, componen exemple not sac pour messager qui pduranted significant lesssous dumps hanches ou sac  Lancel pas cher avec s sang longues qui fonctionnera le mieux attirer yeux votre buste. 
+
== Configuración por defecto ==
It made me laugh. Overly dramatic things do that to me for some reason. <a href=http://medqual.fr/legal.php>lancel</a> Gok Wan’s Fashion Fix theme song!!!! It made me laugh. Overly dramatic things do that to me for some reason.
+
    #| ether1 is renamed ether1-gateway, rest of interfaces are switched
 +
    #| IP address 192.168.88.1/24 is on switch
 +
    #| DHCP client is on ether1-gateway
 +
    #| DHCP server is on switch, with address pool 192.168.88.10-192.168.88.254
 +
    #| masquerade on ether1-gateway
 +
    :global action
 +
   
 +
    # these commands are executed after installation or configuration reset
 +
    :if ($action = "apply") do={
 +
        /interface set ether1 name=ether1-gateway
 +
        /interface set ether2 name=ether2-local-master
 +
        /interface set ether3 name=ether3-local-slave
 +
        /interface set ether4 name=ether4-local-slave
 +
        /interface set ether5 name=ether5-local-slave
 +
   
 +
        /interface ethernet set ether3-local-slave master-port=ether2-local-master
 +
        /interface ethernet set ether4-local-slave master-port=ether2-local-master
 +
        /interface ethernet set ether5-local-slave master-port=ether2-local-master
 +
   
 +
        /ip address add address=192.168.88.1/24 interface=ether2-local-master comment="default configuration"
 +
   
 +
        :if ([:len [/system package find name="dhcp" !disabled]] != 0) do={
 +
            /ip dhcp-client add interface=ether1-gateway disabled=no comment="default configuration";
 +
            /ip pool add name=default-dhcp ranges=192.168.88.10-192.168.88.254;
 +
            /ip dhcp-server add name=default address-pool=default-dhcp interface=ether2-local-master disabled=no;
 +
            /ip dhcp-server network add address=192.168.88.0/24 gateway=192.168.88.1 dns-server=192.168.88.1 comment="default configuration";
 +
        }
 +
   
 +
        /ip firewall {
 +
            filter add chain=input action=accept protocol=icmp comment="default configuration"
 +
            filter add chain=input action=accept connection-state=established in-interface=ether1-gateway comment="default configuration"
 +
            filter add chain=input action=accept connection-state=related in-interface=ether1-gateway comment="default configuration"
 +
            filter add chain=input action=drop in-interface=ether1-gateway comment="default configuration"
 +
            nat add chain=srcnat out-interface=ether1-gateway action=masquerade comment="default configuration"
 +
        }
 +
   
 +
        /ip dns {
 +
        set allow-remote-requests=yes
 +
        static add name=router address=192.168.88.1
 +
        }
 +
   
 +
        /tool mac-server remove [find]
 +
        /tool mac-server add interface=ether2-local-master disabled=no
 +
        /tool mac-server add interface=ether3-local-slave disabled=no
 +
        /tool mac-server add interface=ether4-local-slave disabled=no
 +
        /tool mac-server add interface=ether5-local-slave disabled=no
 +
   
 +
        /tool mac-server mac-winbox disable [find]
 +
        /tool mac-server mac-winbox add interface=ether2-local-master disabled=no
 +
        /tool mac-server mac-winbox add interface=ether3-local-slave disabled=no
 +
        /tool mac-server mac-winbox add interface=ether4-local-slave disabled=no
 +
        /tool mac-server mac-winbox add interface=ether5-local-slave disabled=no
 +
   
 +
        /ip neighbor discovery set [find name=ether1-gateway] discover=no
 +
    }
 +
   
 +
    # these commands are executed if user requests to remove default configuration
 +
    :if ($action = "revert") do={
 +
        /ip firewall {
 +
            :local o [nat find comment="default configuration"]
 +
            :if ([:len $o] != 0) do={ nat remove $o }
 +
   
 +
            :local o [filter find comment="default configuration"]
 +
            :if ([:len $o] != 0) do={ filter remove $o }
 +
        }
 +
   
 +
        :if ([:len [/system package find name="dhcp" !disabled]] != 0) do={
 +
            :local o [/ip dhcp-server network find comment="default configuration"]
 +
            :if ([:len $o] != 0) do={ /ip dhcp-server network remove $o }
 +
   
 +
            :local o [/ip dhcp-server find name="default" address-pool="default-dhcp" interface=ether2-local-master !disabled]
 +
            :if ([:len $o] != 0) do={ /ip dhcp-server remove $o }
 +
   
 +
            /ip pool {
 +
                :local o [find name=default-dhcp ranges=192.168.88.10-192.168.88.254]
 +
                :if ([:len $o] != 0) do={ remove $o }
 +
            }
 +
   
 +
            :local o [/ip dhcp-client find comment="default configuration"]
 +
            :if ([:len $o] != 0) do={ /ip dhcp-client remove $o }
 +
        }
 +
   
 +
        /ip dns {
 +
        set allow-remote-requests=no
 +
            :local o [static find name=router address=192.168.88.1]
 +
            :if ([:len $o] != 0) do={ static remove $o }
 +
        }
 +
   
 +
        /ip address {
 +
            :local o [find comment="default configuration"]
 +
            :if ([:len $o] != 0) do={ remove $o }
 +
        }
 +
   
 +
        /tool mac-server remove [find]
 +
        /tool mac-server add interface=all disabled=no
 +
   
 +
        /tool mac-server mac-winbox remove [find interface!=all]
 +
        /tool mac-server mac-winbox set [find] disabled=no
 +
   
 +
        /ip neighbor discovery set [find name=ether1-gateway] discover=yes
 +
   
 +
        /interface ethernet set ether3-local-slave master-port=none
 +
        /interface ethernet set ether4-local-slave master-port=none
 +
        /interface ethernet set ether5-local-slave master-port=none
 +
   
 +
        /interface set ether1-gateway name=ether1
 +
        /interface set ether2-local-master name=ether2
 +
        /interface set ether3-local-slave name=ether3
 +
        /interface set ether4-local-slave name=ether4
 +
        /interface set ether5-local-slave name=ether5
 +
    }
 +
 
 +
[[Categoría:router]]
 +
 
 +
[[ca:Mikrotik RouterBoard 750]]
 +
[[eu:Mikrotik RouterBoard 750]]

Revisión de 23:38 24 nov 2013

Icono de esbozo

Este artículo necesita desarrollarse más. Ampliándolo ayudarás a mejorar Guifi.net.
Tal vez puedas ayudarte con los wikis catalán, o inglés si tienen una página equivalente.



Configuración por defecto

   #| ether1 is renamed ether1-gateway, rest of interfaces are switched
   #| IP address 192.168.88.1/24 is on switch
   #| DHCP client is on ether1-gateway
   #| DHCP server is on switch, with address pool 192.168.88.10-192.168.88.254
   #| masquerade on ether1-gateway
   :global action
   
   # these commands are executed after installation or configuration reset
   :if ($action = "apply") do={
       /interface set ether1 name=ether1-gateway
       /interface set ether2 name=ether2-local-master
       /interface set ether3 name=ether3-local-slave
       /interface set ether4 name=ether4-local-slave
       /interface set ether5 name=ether5-local-slave
   
       /interface ethernet set ether3-local-slave master-port=ether2-local-master
       /interface ethernet set ether4-local-slave master-port=ether2-local-master
       /interface ethernet set ether5-local-slave master-port=ether2-local-master
   
       /ip address add address=192.168.88.1/24 interface=ether2-local-master comment="default configuration"
   
       :if ([:len [/system package find name="dhcp" !disabled]] != 0) do={
           /ip dhcp-client add interface=ether1-gateway disabled=no comment="default configuration";
           /ip pool add name=default-dhcp ranges=192.168.88.10-192.168.88.254;
           /ip dhcp-server add name=default address-pool=default-dhcp interface=ether2-local-master disabled=no;
           /ip dhcp-server network add address=192.168.88.0/24 gateway=192.168.88.1 dns-server=192.168.88.1 comment="default configuration";
       }
   
       /ip firewall {
           filter add chain=input action=accept protocol=icmp comment="default configuration"
           filter add chain=input action=accept connection-state=established in-interface=ether1-gateway comment="default configuration"
           filter add chain=input action=accept connection-state=related in-interface=ether1-gateway comment="default configuration"
           filter add chain=input action=drop in-interface=ether1-gateway comment="default configuration"
           nat add chain=srcnat out-interface=ether1-gateway action=masquerade comment="default configuration"
       }
   
       /ip dns {
   	    set allow-remote-requests=yes
   	    static add name=router address=192.168.88.1
       }
   
       /tool mac-server remove [find]
       /tool mac-server add interface=ether2-local-master disabled=no
       /tool mac-server add interface=ether3-local-slave disabled=no
       /tool mac-server add interface=ether4-local-slave disabled=no
       /tool mac-server add interface=ether5-local-slave disabled=no
   
       /tool mac-server mac-winbox disable [find]
       /tool mac-server mac-winbox add interface=ether2-local-master disabled=no
       /tool mac-server mac-winbox add interface=ether3-local-slave disabled=no
       /tool mac-server mac-winbox add interface=ether4-local-slave disabled=no
       /tool mac-server mac-winbox add interface=ether5-local-slave disabled=no
   
       /ip neighbor discovery set [find name=ether1-gateway] discover=no
   }
   
   # these commands are executed if user requests to remove default configuration
   :if ($action = "revert") do={
       /ip firewall {
           :local o [nat find comment="default configuration"]
           :if ([:len $o] != 0) do={ nat remove $o }
   
           :local o [filter find comment="default configuration"]
           :if ([:len $o] != 0) do={ filter remove $o }
       }
   
       :if ([:len [/system package find name="dhcp" !disabled]] != 0) do={
           :local o [/ip dhcp-server network find comment="default configuration"]
           :if ([:len $o] != 0) do={ /ip dhcp-server network remove $o }
   
           :local o [/ip dhcp-server find name="default" address-pool="default-dhcp" interface=ether2-local-master !disabled]
           :if ([:len $o] != 0) do={ /ip dhcp-server remove $o }
   
           /ip pool {
               :local o [find name=default-dhcp ranges=192.168.88.10-192.168.88.254]
               :if ([:len $o] != 0) do={ remove $o }
           }
   
           :local o [/ip dhcp-client find comment="default configuration"]
           :if ([:len $o] != 0) do={ /ip dhcp-client remove $o }
       }
   
       /ip dns {
       	set allow-remote-requests=no
           :local o [static find name=router address=192.168.88.1]
           :if ([:len $o] != 0) do={ static remove $o }
       }
   
       /ip address {
           :local o [find comment="default configuration"]
           :if ([:len $o] != 0) do={ remove $o }
       }
   
       /tool mac-server remove [find]
       /tool mac-server add interface=all disabled=no
   
       /tool mac-server mac-winbox remove [find interface!=all]
       /tool mac-server mac-winbox set [find] disabled=no 
   
       /ip neighbor discovery set [find name=ether1-gateway] discover=yes
   
       /interface ethernet set ether3-local-slave master-port=none
       /interface ethernet set ether4-local-slave master-port=none
       /interface ethernet set ether5-local-slave master-port=none
   
       /interface set ether1-gateway name=ether1
       /interface set ether2-local-master name=ether2
       /interface set ether3-local-slave name=ether3
       /interface set ether4-local-slave name=ether4
       /interface set ether5-local-slave name=ether5
   }
Herramientas personales