so that all client computers on the lan bandwidth is not competing with each other

Upload: totaderti

Post on 30-May-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    1/26

    The drop table command is used to delete a table and allrows in the table.

    To delete an entire table including all of its rows, issuethe drop table command followed by the tablename. droptable is different from deleting all of the records in thetable. Deleting all of the records in the table leaves thetable including column and constraint information.Dropping the table removes the table definition as well asall of its rows.

    Ita lulutrosiddrop table "tablename"Example:

    drop table myemployees_ts0211;Drop Table exercises

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    2/26

    Drop your employee table.SQL Interpreter

    Finished with this SQL Tutorial? Continue on at theSQLCourse2.com site! This site will provide you withmore intermediate & advanced instruction and allow youthe ability to practice everything you learn as well!

    For the LAN, we use a class C ip address, with network

    192.168.10.0/24. To Mikrotik RouterOS, we need twoethernet cards.One (ether1 - 192.168.1.2/24) for connection to theADSL modem and oneagain (ether2 - 192.168.10.1/24) for connection to theLAN. To ModemADSL, IP we set 192.168.1.1/24.Before typing anything, make sure you are at the root

    menu by typing "/"1. Set IP for each ethernet card ip address add address = 192.168.1.2/24 interface =ether1 (public)ip address add address = 192.168.10.1/24 interface =ether2 (local)To display the results of the above command type thefollowing command:

    ip address print

    Then do the testing by trying nge-ping to the gateway orto theexisting computers on the LAN. If the result is successful,then the IP configuration

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    3/26

    Ita lulutrosidYou are correctping 192.168.1.1ping 192.168.10.102. Adding Routingip route add gateway = 192.168.1.13. DNS settingsip dns set primary-dns = 202.134.1.10 allow-remote-requests = yes

    ip dns set secondary-dns = 202.134.0.155 allow-remote-requests = yesBecause of this connection using the Telkom Speedy,who then control aqpake ya have Telkom. Please customize to your DNSprovider.After that you try to do ping to yahoo.com for example:ping yahoo.com

    If the result is successful, then the DNS settings arecorrect4. Source NAT (Network Address Translation) /masquerading

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    4/26

    So that all existing computers on the LAN can beconnected to the internet as well, then you need to addNAT (Masquerade) on Mikrotik.ip firewall nat add chain = srcnat action = masqueradeout-interface = ether1Now try to ping yahoo.com from the existing computerson the LANping yahoo.comIf the result is successful, then the settings are correctmasquerade5th. DHCP (Dynamic Host Configuration Protocol)

    Due to practical reasons, pake my friends want theDHCP Server. Letklo each have clients who connect, he will not need theIP settings manually.Stay obtain from the DHCP Server aja, dah wrong.Fortunately this MikrotikThere are also features of the DHCP server. So yesthere is a problem .. ga

    * Create an IP Address Poolip pool add name = dhcp-pool = 192.168.0.2-192.168.0.254 Ranges* Add a DHCP Networkip dhcp-server network add address = 192.168.10.0/24gateway = 192.168.10.1dns-server = 202.134.1.10,202.134.0.155* Adding a DHCP Server

    ip dhcp-server add name = DHCP_LAN disabled = nointerface = ether2 address-pool = dhcp-poolNow try to do testing of the client computer, to request anIPAddress from a DHCP Server. If successful, then again,settingannya

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    5/26

    've Bener6. Bandwidth ManagementSo that all client computers on the LAN bandwidth is notcompeting with each other,it needs to be done or who called bandwidthmanagement bandwidthcontrol, idea: (I use a simple que so much easier;queue simple add name = "Billing" target-address =192.168.10.2/32dst-address = 0.0.0.0 / 0 interface = Local queue =default priority = 8

    limit-at = 16000/32000 max-limit = 16000/64000

    Ita lulut

    rosidqueue simple add name = "Cashier" target-addresses =192.168.10.3/32dst-address = 0.0.0.0 / 0 interface = Local parent =Shaping priority = 8

    queue = default / default limit-at = 0 / 8000 max-limit = 0 /256 000total-queue = defaultContinue command to all clients who want the limitsbnadwithnya.

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    6/26

    7. GraphingMikrotik is also equipped with traffic monitoring functionsMRTG like usual. So we can see how many packageswhoMikrotik we passed on the PC.tool graphing set store-Every = 5minNext we will monitor who is passing all packets i have a PC interface Mikrotik us, klo on my computerand there ether1ether2.tool graphing interface add interface = all store-on-disk =

    yesNow try to navigate your browser to the IP RouterMikrotik. Klo aq here:http://192.168.10.1/graphs/There will be an interface option aja what can i have yourrouter. Tryclick one, then you will be able to see a chart of whopaket2

    through the interface.

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    7/26

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    8/26

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    9/26

    Suskandaniagus

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    10/26

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    11/26

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    12/26

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    13/26

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    14/26

    ita lela

    muti

    abay

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    15/26

    Suskandaniagus

    vespa

    solikin

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    16/26

    angga

    anggi

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    17/26

    solikin

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    18/26

    ita lela

    muti

    abay

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    19/26

    vespa

    angga

    anggi

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    20/26

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    21/26

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    22/26

    ita lela

    muti

    abay

    vespa

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    23/26

    angga

    anggi

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    24/26

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    25/26

    ita lela

    muti

    abay

    vespa

  • 8/9/2019 So That All Client Computers on the LAN Bandwidth is Not Competing With Each Other

    26/26

    angga

    anggi