Sie sind auf Seite 1von 26

The drop table command is used to delete a table and all

rows in the table.

To delete an entire table including all of its rows, issue


the drop table command followed by the tablename. drop
table is different from deleting all of the records in the
table. Deleting all of the records in the table leaves the
table including column and constraint information.
Dropping the table removes the table definition as well as
all of its rows.

Ita lulut
rosid
drop table "tablename"
Example:

drop table myemployees_ts0211;


Drop Table exercises
Drop your employee table.
SQL Interpreter

Finished with this SQL Tutorial? Continue on at the


SQLCourse2.com site! This site will provide you with
more intermediate & advanced instruction and allow you
the 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 two
ethernet cards.
One (ether1 - 192.168.1.2/24) for connection to the
ADSL modem and one
again (ether2 - 192.168.10.1/24) for connection to the
LAN. To Modem
ADSL, 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 the
following command:
ip address print

Then do the testing by trying nge-ping to the gateway or


to the
existing computers on the LAN. If the result is successful,
then the IP configuration
Ita lulut
rosid
You are correct
ping 192.168.1.1
ping 192.168.10.10
2. Adding Routing
ip route add gateway = 192.168.1.1
3. DNS settings
ip dns set primary-dns = 202.134.1.10 allow-remote-
requests = yes
ip dns set secondary-dns = 202.134.0.155 allow-remote-
requests = yes
Because of this connection using the Telkom Speedy,
who then control aq
pake ya have Telkom. Please customize to your DNS
provider.
After that you try to do ping to yahoo.com for example:
ping yahoo.com
If the result is successful, then the DNS settings are
correct
4. Source NAT (Network Address Translation) /
masquerading
So that all existing computers on the LAN can be
connected to the internet as well, then you need to add
NAT (Masquerade) on Mikrotik.
ip firewall nat add chain = srcnat action = masquerade
out-interface = ether1
Now try to ping yahoo.com from the existing computers
on the LAN
ping yahoo.com
If the result is successful, then the settings are correct
masquerade
5th. DHCP (Dynamic Host Configuration Protocol)
Due to practical reasons, pake my friends want the
DHCP Server. Let
klo each have clients who connect, he will not need the
IP settings manually.
Stay obtain from the DHCP Server aja, dah wrong.
Fortunately this Mikrotik
There are also features of the DHCP server. So yes
there is a problem .. ga
* Create an IP Address Pool
ip pool add name = dhcp-pool = 192.168.0.2-
192.168.0.254 Ranges
* Add a DHCP Network
ip dhcp-server network add address = 192.168.10.0/24
gateway = 192.168.10.1
dns-server = 202.134.1.10,202.134.0.155
* Adding a DHCP Server
ip dhcp-server add name = DHCP_LAN disabled = no
interface = ether2 address-pool = dhcp-pool
Now try to do testing of the client computer, to request an
IP
Address from a DHCP Server. If successful, then again,
settingannya
've Bener
6. Bandwidth Management
So that all client computers on the LAN bandwidth is not
competing with each other,
it needs to be done or who called bandwidth
management bandwidth
control, idea: (I use a simple que so much easier;
queue simple add name = "Billing" target-address =
192.168.10.2/32
dst-address = 0.0.0.0 / 0 interface = Local queue =
default priority = 8
limit-at = 16000/32000 max-limit = 16000/64000

Ita lulut
rosid
queue simple add name = "Cashier" target-addresses =
192.168.10.3/32
dst-address = 0.0.0.0 / 0 interface = Local parent =
Shaping priority = 8
queue = default / default limit-at = 0 / 8000 max-limit = 0 /
256 000
total-queue = default
Continue command to all clients who want the limits
bnadwithnya.
7. Graphing
Mikrotik is also equipped with traffic monitoring functions
MRTG like usual. So we can see how many packages
who
Mikrotik we passed on the PC.
tool graphing set store-Every = 5min
Next we will monitor who is passing all packets ²
i have a PC interface Mikrotik us, klo on my computer
and there ether1
ether2.
tool graphing interface add interface = all store-on-disk =
yes
Now try to navigate your browser to the IP Router
Mikrotik. Klo aq here:
http://192.168.10.1/graphs/
There will be an interface option aja what can i have your
router. Try
click one, then you will be able to see a chart of who
paket2
through the interface.
Suskandani
agus
ita lela
muti
abay
Suskandani
agus
vespa
solikin
angga
anggi
solikin
ita lela
muti
abay
vespa
angga
anggi
ita lela
muti
abay
vespa
angga
anggi
ita lela
muti
abay
vespa
angga
anggi

Das könnte Ihnen auch gefallen