RSS Feeds

25.4.09

CONFIG MIKROTIK II

CONFIG NETWORK JOGJANET



HANYA UNTUK MENGINGAT


[admin@jogjanet] > interface pr

Flags: X - disabled, D - dynamic, R - running

 #    NAME                        TYPE             RX-RATE    TX-RATE    MTU 

 0  R public                      ether            0          0          1500

 1  R local                         ether            0          0          1500

[admin@jogjanet] >

=====================================================================================

[admin@jogjanet] > ip address pr

Flags: X - disabled, I - invalid, D - dynamic

 #     ADDRESS                     NETWORK           BROADCAST                       INTERFACE

 0    192.168.0.30/27         192.168.0.0         192.168.0.31                       local   

 1 D 192.168.0.27/24        192.168.0.0         192.168.0.255                     public   to modem speedy

[admin@jogjanet] >

=====================================================================================

[admin@jogjanet] > ip route pr

Flags: X - disabled, A - active, D - dynamic,

C - connect, S - static, r - rip, b - bgp, o - ospf

 #          DST-ADDRESS        PREF-SRC        G GATEWAY         DISTANCE             INTERFACE

 0 ADC 192.168.0.0/27                                   192.168.0.30                               local   

 1 ADC 192.168.0.0/24                                   192.168.0.27                               public  

 2       S 0.0.0.0/0                                          u 192.168.1.1   

 3 AD   0.0.0.0/0                                           r 192.168.0.20    0                          local   

[admin@jogjanet] >

=====================================================================================

[admin@jogjanet] > ip fi nat pr

Flags: X - disabled, I - invalid, D - dynamic

 0   chain=srcnat out-interface=public action=masquerade

 

 1   ;;; ===Web-Proxy==

     chain=dstnat protocol=tcp dst-port=80 action=redirect to-ports=3128

 

 2   chain=dstnat protocol=tcp dst-port=81 action=redirect to-ports=3128

 

 3   chain=dstnat protocol=tcp dst-port=8080 action=redirect to-ports=3128

 

 4   chain=dstnat protocol=tcp dst-port=8000 action=redirect to-ports=3128

[admin@jogjanet] >

=====================================================================================

[admin@jogjanet] > ip dns pr

            primary-dns           : 192.168.0.20

          secondary-dns        : 202.73.99.8

  allow-remote-requests: no

             cache-size              : 2048KiB

          cache-max-ttl          : 1w

             cache-used            : 17KiB

[admin@jogjanet] >

=====================================================================================

[admin@jogjanet] > ip pool pr

 # NAME                                        RANGES                         

 0 dhcp-pool                                 192.168.0.1-192.168.0.30      

[admin@jogjanet] >

=====================================================================================


=====================================================================================

[Rafanet@RAFANET] > ip pool pr

 # NAME                                                  RANGES                        

 0 dhcp_pool1                                            192.168.0.1-192.168.0.19      

 1 dhcp_pool2                                            192.168.0.1-192.168.0.19      

                                                                      192.168.0.21-192.168.0.254    

 2 dhcp_pool3                                            192.168.0.21-192.168.0.31     

[Rafanet@RAFANET] >

=====================================================================================

[admin@jogjanet] > ip dhcp-server pr

Flags: X - disabled, I - invalid

 #   NAME            INTERFACE RELAY           ADDRESS-POOL LEASE-TIME ADD-ARP

 0   local                    local                                  dhcp-pool               3d 

[admin@jogjanet] >

=====================================================================================     

[admin@jogjanet] > ip dhcp-server networ pr

 # ADDRESS                GATEWAY         DNS-SERVER      WINS-SERVER     DOMAIN 

 0 192.168.0.0/27     192.168.0.30    192.168.0.30  

[admin@jogjanet] >

=====================================================================================

[admin@jogjanet] > ip web-proxy pr

                 Enabled               : yes

             src-address            : 0.0.0.0

                    port                   : 3128

                hostname           : "jogja.net"

       transparent-proxy    : yes

            parent-proxy         : 0.0.0.0:0

     cache-administrator  : "webmaster@jogja.net"

         max-object-size      : 4096KiB

             cache-drive           : system

          max-cache-size       : unlimited

      max-ram-cache-size : unlimited

                  status                  : running

      reserved-for-cache   : 2616320KiB

  reserved-for-ram-cache: 2048KiB

[admin@jogjanet] >

=====================================================================================

[admin@jogjanet] > queue simple pr

Flags: X - disabled, I - invalid, D - dynamic

 0    name="trafikshaping" target-addresses=192.168.0.0/27

      dst-address=0.0.0.0/0 interface=all parent=none direction=both

      priority=1 queue=default/default limit-at=0/100000 max-limit=0/1000000

      total-queue=default

 

 1    name="Client 1" target-addresses=192.168.0.1/32 dst-address=0.0.0.0/0

      interface=all parent=trafikshaping direction=both priority=1

      queue=default/default limit-at=0/8000 max-limit=0/48000

      total-queue=default

 

 2    name="Client 2" target-addresses=192.168.0.2/32 dst-address=0.0.0.0/0

      interface=all parent=trafikshaping direction=both priority=1

      queue=default/default limit-at=0/8000 max-limit=0/48000

      total-queue=default

 

 3    name="Client 3" target-addresses=192.168.0.3/32 dst-address=0.0.0.0/0

      interface=all parent=trafikshaping direction=both priority=1

      queue=default-small/default-small limit-at=0/8000 max-limit=0/48000

      total-queue=default-small

 

 4    name="Client 4" target-addresses=192.168.0.4/32 dst-address=0.0.0.0/0

      interface=all parent=trafikshaping direction=both priority=1

      queue=default-small/default-small limit-at=0/8000 max-limit=0/48000

      total-queue=default-small

 

 5    name="Client 5" target-addresses=192.168.0.5/32 dst-address=0.0.0.0/0

      interface=all parent=trafikshaping direction=both priority=1

      queue=default-small/default-small limit-at=0/8000 max-limit=0/48000

      total-queue=default-small

 

 6    name="Client 6" target-addresses=192.168.0.6/32 dst-address=0.0.0.0/0

      interface=all parent=trafikshaping direction=both priority=1

      queue=default-small/default-small limit-at=0/8000 max-limit=0/48000

      total-queue=default-small

 

 7    name="Client 7" target-addresses=192.168.0.7/32 dst-address=0.0.0.0/0

      interface=all parent=trafikshaping direction=both priority=1

      queue=default-small/default-small limit-at=0/8000 max-limit=0/48000

      total-queue=default-small

 

 8    name="Client 8" target-addresses=192.168.0.8/32 dst-address=0.0.0.0/0

      interface=all parent=trafikshaping direction=both priority=1

      queue=default-small/default-small limit-at=0/8000 max-limit=0/48000

      total-queue=default-small

 

 9    name="Client 9" target-addresses=192.168.0.9/32 dst-address=0.0.0.0/0

      interface=all parent=trafikshaping direction=both priority=1

      queue=default-small/default-small limit-at=0/8000 max-limit=0/48000

      total-queue=default-small

 

10    name="Client 10" target-addresses=192.168.0.10/32 dst-address=0.0.0.0/0

      interface=all parent=trafikshaping direction=both priority=1

      queue=default-small/default-small limit-at=0/8000 max-limit=0/48000

      total-queue=default-small

 

11    name="Client 11" target-addresses=192.168.0.11/32 dst-address=0.0.0.0/0

      interface=all parent=trafikshaping direction=both priority=1

      queue=default-small/default-small limit-at=0/8000 max-limit=0/48000

      total-queue=default-small

 

12    name="Client 12" target-addresses=192.168.0.12/32 dst-address=0.0.0.0/0

      interface=all parent=trafikshaping direction=both priority=1

      queue=default-small/default-small limit-at=0/8000 max-limit=0/48000

      total-queue=default-small

 

13    name="Client 13" target-addresses=192.168.0.13/32 dst-address=0.0.0.0/0

      interface=all parent=trafikshaping direction=both priority=1

      queue=default-small/default-small limit-at=0/8000 max-limit=0/48000

      total-queue=default-small

[admin@jogjanet] >

=====================================================================================

[admin@jogjanet] > queue interface pr     

 # INTERFACE     QUEUE             

 0 public                ethernet-default  

 1 local                   ethernet-default  

[admin@jogjanet] >

=====================================================================================

[admin@jogjanet] > queue tree pr        

Flags: X - disabled, I - invalid

0.       name="pcq download" parent=local packet-mark=users limit-at=0 queue=pcq-download priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s

1.       name="pcq upload" parent=public packet-mark=users limit-at=0 queue=pcq-upload priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s

[admin@jogjanet] >

=====================================================================================

[admin@jogjanet] > queue type pr  

 

0.       name="default" kind=pfifo pfifo-limit=50

1.       name="ethernet-default" kind=pfifo pfifo-limit=50

2.       name="wireless-default" kind=sfq sfq-perturb=5 sfq-allot=1514

3.       name="synchronous-default" kind=red red-limit=60 red-min-threshold=10 red-max-threshold=50 red-burst=20 red-avg-packet=1000

4.       name="hotspot-default" kind=sfq sfq-perturb=5 sfq-allot=1514

5.       name="pcq-download" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000

6.       name="pcq-upload" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=2000 name="default-small" kind=pfifo pfifo-limit=10

[admin@jogjanet] >

=====================================================================================

Blogged with the Flock Browser

0 komentar:

Posting Komentar