Senin, 03 Mei 2010

Tutorial Instalasi Mikrotik

exclusivemails.net


Langkah-langkah berikut adalah dasar-dasar setup mikrotik yang dikonfigurasikan untuk jaringan
sederhana sebagai gateway server.

1. Langkah pertama adalah install Mikrotik RouterOS pada PC atau pasang DOM.

2. Login Pada Mikrotik Routers melalui console :
MikroTik v2.9.7
Login: admin
Password: (kosongkan)

Sampai langkah ini kita sudah bisa masuk pada mesin Mikrotik. User default adalah admin
dan tanpa password, tinggal ketik admin kemudian tekan tombol enter.

3. Untuk keamanan ganti password default
[admin@Mikrotik] > password
old password: *****
new password: *****
retype new password: *****
[admin@ Mikrotik]] >

4. Mengganti nama Mikrotik Router, pada langkah ini nama server akan diganti menjadi “XAVIERO” (nama ini sih bebas2 aja mo diganti)
[admin@Mikrotik] > system identity set name=XAVIERO
[admin@XAVIERO] >

5. Melihat interface pada Mikrotik Router
[admin@XAVIERO] > interface print
Flags: X – disabled, D – dynamic, R – running
# NAME TYPE RX-RATE TX-RATE MTU
0 R ether1 ether 0 0 1500
1 R ether2 ether 0 0 1500
[admin@XAVIERO] >

6. Memberikan IP address pada interface Mikrotik. Misalkan ether1 akan kita gunakan untuk koneksi ke Internet dengan IP 192.168.0.1 dan ether2 akan kita gunakan untuk network local kita dengan IP 172.16.0.1

[admin@XAVIERO] > ip address add address=192.168.0.1
netmask=255.255.255.0 interface=ether1
[admin@XAVIERO] > ip address add address=172.16.0.1
netmask=255.255.255.0 interface=ether2

7. Melihat konfigurasi IP address yang sudah kita berikan
[admin@XAVIERO] >ip address print
Flags: X – disabled, I – invalid, D – dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.0.1/24 192.168.0.0 192.168.0.63 ether1
1 172.16.0.1/24 172.16.0.0 172.16.0.255 ether2
[admin@XAVIERO] >

8. Memberikan default Gateway, diasumsikan gateway untuk koneksi internet adalah 192.168.0.254
[admin@XAVIERO] > /ip route add gateway=192.168.0.254

9. Melihat Tabel routing pada Mikrotik Routers
[admin@XAVIERO] > ip route print
Flags: X – disabled, A – active, D – dynamic,
C – connect, S – static, r – rip, b – bgp, o – ospf
# DST-ADDRESS PREFSRC G GATEWAY DISTANCE INTERFACE
0 ADC 172.16.0.0/24 172.16.0.1 ether2
1 ADC 192.168.0.0/26 192.168.0.1 ether1
2 A S 0.0.0.0/0 r 192.168.0.254 ether1
[admin@XAVIERO] >

10. Tes Ping ke Gateway untuk memastikan konfigurasi sudah benar
[admin@XAVIERO] > ping 192.168.0.254
192.168.0.254 64 byte ping: ttl=64 time<1 ms
192.168.0.254 64 byte ping: ttl=64 time<1 ms
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0/0.0/0 ms
[admin@XAVIERO] >

11. Setup DNS pada Mikrotik Routers
[admin@XAVIERO] > ip dns set primary-dns=192.168.0.10 allow-remoterequests=no
[admin@XAVIERO] > ip dns set secondary-dns=192.168.0.11 allow-remoterequests=no

12. Melihat konfigurasi DNS
[admin@XAVIERO] > ip dns print
primary-dns: 192.168.0.10
secondary-dns: 192.168.0.11
allow-remote-requests: no
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 16KiB
[admin@XAVIERO] >

13. Tes untuk akses domain, misalnya dengan ping nama domain
[admin@XAVIERO] > ping yahoo.com
216.109.112.135 64 byte ping: ttl=48 time=250 ms
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 571/571.0/571 ms
[admin@XAVIERO] >

Jika sudah berhasil reply berarti seting DNS sudah benar.

14. Setup Masquerading, Jika Mikrotik akan kita pergunakan sebagai gateway server maka agar client computer pada network dapat terkoneksi ke internet perlu kita masquerading.
[admin@XAVIERO]> ip firewall nat add action=masquerade outinterface=
ether1 chain:srcnat
[admin@XAVIERO] >

15. Melihat konfigurasi Masquerading
[admin@XAVIERO]ip firewall nat print
Flags: X – disabled, I – invalid, D – dynamic
0 chain=srcnat out-interface=ether1 action=masquerade
[admin@XAVIERO] >

Setelah langkah ini bisa dilakukan pemeriksaan untuk koneksi dari jaringan local. Dan jika berhasil berarti kita sudah berhasil melakukan instalasi Mikrotik Router sebagai Gateway server. Setelah terkoneksi dengan jaringan Mikrotik dapat dimanage menggunakan WinBox
yang bisa di download dari Mikrotik.com atau dari server mikrotik kita.

Misal Ip address server
mikrotik kita 192.168.0.1, via browser buka http://192.168.0.1 dan download WinBox dari situ.
Jika kita menginginkan client mendapatkan IP address secara otomatis maka perlu kita setup dhcp server pada Mikrotik. Berikut langkah-langkahnya :

1.Buat IP address pool
/ip pool add name=dhcp-pool ranges=172.16.0.10-172.16.0.20

2. Tambahkan DHCP Network dan gatewaynya yang akan didistribusikan ke client Pada contoh ini networknya adalah 172.16.0.0/24 dan gatewaynya 172.16.0.1
/ip dhcp-server network add address=172.16.0.0/24 gateway=172.16.0.1

3. Tambahkan DHCP Server ( pada contoh ini dhcp diterapkan pada interface ether2 )
/ip dhcp-server add interface=ether2 address-pool=dhcp-pool

4. Lihat status DHCP server
[admin@XAVIERO]> ip dhcp-server print
Flags: X – disabled, I – invalid
# NAME INTERFACE RELAY ADDRESS-POOL LEASE-TIME ADD-ARP
0 X dhcp1 ether2
Tanda X menyatakan bahwa DHCP server belum enable maka perlu dienablekan terlebih dahulu pada langkah 5.

5. Jangan Lupa dibuat enable dulu dhcp servernya
/ip dhcp-server enable 0

kemudian cek kembali dhcp-server seperti langkah 4, jika tanda X sudah tidak ada berarti sudah aktif.

6. Tes Dari client
c:\>ping www.yahoo.com

untuk bandwith controller, bisa dengan sistem simple queue ataupun bisa dengan mangle
[admin@XAVIERO] queue simple> add name=Komputer01
interface=ether2 target-address=172.16.0.1/24 max-limit=65536/131072
[admin@XAVIERO] queue simple> add name=Komputer02
interface=ether2 target-address=172.16.0.2/24 max-limit=65536/131072
dan seterusnya…

Jumat, 30 April 2010

Ingin Ku Memeluk Dirimu


Telah letih aku menanti saat-saat ini....
Telah lunglai aku berjalan menyusuri jalan yang tak bertepi...
Telah sakit kakiku menapaki kerikil-kerikil tajam...
Mataku telah lelah menatap harapan yang jauh disana...
Semua itu hanya untuk menemuimu duhai kasihku...
Aku ingin memelukmu dengan kasihku....
Aku ingin mengecup bibirmu dengan cintaku...

Sayang tahu kah kau bahwa kau begitu berarti bagiku....
kau adalah.....
Kekasih yang selama ini kurindukan...
Kekasih yang selama ini ku impikan...
kekasih yang dapat menghangatkanku dengan kasihnya..
Kekasih yang dapat mengecupku dengan kecupan kasihnya yang lembut..
Kekasih yang diberikan oleh Tuhan hanya untukku...

TUTORIAL Installation of OBSD


Starting The Remote Simple Installation

Okay now we have either a bootable floppy disk or a bootable CD-R which contains the installation program.

You should also remember to have your computer connected on-line unless the OpenBSD sets are located locally. This connection will be configured during the installation process in order to do a remote install.

Boot your computer up using the install floppy or CD-R.

The screen below starts after the boot process and shows the start of the installation program, red text is user input:

root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
Welcome to the OpenBSD/i386 4.6 installation program.
(I)nstall, (U)pgrade or (S)hell? i


At any prompt except password prompts you can escape to a shell by
typing '!'. Default answers are shown in []'s and are selected by
pressing RETURN. You can exit this program at any time by pressing
Control-C, but this can leave your system in an inconsistent state.

Terminal type: [vt220]


System hostname? (short form, e.g. 'foo') home

Available network interfaces are: fxp0 vlan0.
Which one do you wish to configure? (or 'done') [fxp0]

IPv4 address for fxp0? (or 'dhcp' or 'none') [dhcp]
Issuing hostname-associated DHCP request for fxp0.
DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 1
DHCPOFFER from 192.168.1.250 (08:00:20:94:0b:c8)
DHCPREQUEST on fxp0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.250 (08:00:20:94:0b:c8)
bound to 192.168.1.199 -- renewal in 43200 seconds.

IPv6 address for fxp0? (or 'rtsol' or 'none') [none]
Available network interfaces are: fxp0 vlan0.
Which one do you wish to configure? (or 'done') [done]
Using DNS domainname in.nickh.org
Using DNS nameservers at 192.168.1.252
Do you want to do any manual network configuration? [no]

Password for root account? (will not echo) PaSsWoRd
Password for root account? (again) PaSsWoRd

Start sshd(8) by default? [yes]

Start ntpd(8) by default? [no] y
NTP server? (hostname or 'default') [default]

Do you expect to run the X Window System? [yes]
Do you want the X Window System to be started by xdm(1)? [no] y

Change the default console to com0? [no]

Setup a user? (enter a lower-case loginname, or 'no') [no]

What timezone are you in? ('?' for list) [Canada/Mountain] EST5EDT

Available disks are: wd0.
Which one is the root disk? (or 'done') [wd0]
Disk: wd0 geometry: 4998/255/63 [80293248 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
-------------------------------------------------------------------------------
0: 06 0 1 1 - 521 254 63 [ 63: 8385867 ] DOS > 32MB
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
Use (W)hole disk or (E)dit the MBR? [whole]
Setting OpenBSD MBR partition to whole wd0...done.

Setting OpenBSD MBR partition to whole wd0...done.
The auto-allocated layout for wd0 is:
# size offset fstype [fsize bsize cpg]
a: 1024.0M 63 4.2BSD 2048 16384 1 # /
b: 127.2M 2097215 swap
c: 39205.7M 0 unused
d: 2729.1M 2357679 4.2BSD 2048 16384 1 # /tmp
e: 4223.2M 7946823 4.2BSD 2048 16384 1 # /var
f: 1252.3M 16595895 4.2BSD 2048 16384 1 # /usr
g: 1024.0M 19160541 4.2BSD 2048 16384 1 # /usr/X11R6
h: 3678.7M 21257693 4.2BSD 2048 16384 1 # /usr/local
i: 2002.4M 28791612 4.2BSD 2048 16384 1 # /usr/src
j: 2002.4M 32892533 4.2BSD 2048 16384 1 # /usr/obj
k: 21142.3M 36993454 4.2BSD 2048 16384 1 # /home
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a]

/dev/rwd0a: 1024.0MB in 2097152 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rwd0k: 21142.3MB in 43299416 sectors of 512 bytes
105 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rwd0d: 2729.1MB in 5589144 sectors of 512 bytes
14 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rwd0f: 1252.3MB in 2564644 sectors of 512 bytes
7 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rwd0g: 1024.0MB in 2097152 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rwd0h: 3678.7MB in 7533916 sectors of 512 bytes
19 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rwd0j: 2002.4MB in 4100920 sectors of 512 bytes
10 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rwd0i: 2002.4MB in 4100920 sectors of 512 bytes
10 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rwd0e: 4223.2MB in 8649072 sectors of 512 bytes
21 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/wd0a on /mnt type ffs (rw, asynchronous, local)
/dev/wd0k on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/wd0d on /mnt/tmp type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/wd0f on /mnt/usr type ffs (rw, asynchronous, local, nodev)
/dev/wd0g on /mnt/usr/X11R6 type ffs (rw, asynchronous, local, nodev)
/dev/wd0h on /mnt/usr/local type ffs (rw, asynchronous, local, nodev)
/dev/wd0j on /mnt/usr/obj type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/wd0i on /mnt/usr/src type ffs (rw, asynchronous, local, nodev, nosuid)
/dev/wd0e on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid

Location of sets? (cd disk ftp http or 'done') [ftp]
HTTP/FTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none]
Server? (hostname, list#, 'done' or '?') [mirror.example.org] obsd.cec.mtu.edu

Server directory? [pub/OpenBSD/4.6/i386]
Login? [anonymous]

Select sets by entering a set name, a file name pattern or 'all'. De-select
sets by prepending a '-' to the set name, file name pattern or 'all'. Selected
sets are labelled '[X]'.
[X] bsd [X] etc46.tgz [X] game46.tgz [X] xfont46.tgz
[X] bsd.rd [X] misc46.tgz [X] xbase46.tgz [X] xserv46.tgz
[ ] bsd.mp [X] comp46.tgz [X] xetc46.tgz
[X] base46.tgz [X] man46.tgz [X] xshare46.tgz
Set name(s)? (or 'abort' or 'done') [done]

bsd 100% |*************************************| 7063 KB 00:04
bsd.rd 100% |*************************************| 5913 KB 00:03
base46.tgz 100% |*************************************| 47315 KB 01:46
etc46.tgz 100% |*************************************| 503 KB 00:01
misc46.tgz 100% |*************************************| 2867 KB 00:06
comp46.tgz 100% |*************************************| 88555 KB 03:08
man46.tgz 100% |*************************************| 8047 KB 00:21
game46.tgz 100% |*************************************| 2558 KB 00:04
xbase46.tgz 100% |*************************************| 10160 KB 00:21
xetc46.tgz 100% |*************************************| 69166 00:00
xshare46.tgz 100% |*************************************| 2861 KB 00:12
xfont46.tgz 100% |*************************************| 34745 KB 00:57
xserv46.tgz 100% |*************************************| 19789 KB 00:39
Location of sets? (cd disk ftp http or 'done') [done]

Saving configuration files...done.
Generating initial host.random file...done.
Making all device nodes...done.

CONGRATULATIONS! Your OpenBSD install has been successfully completed!
To boot the new system, enter 'reboot' at the command prompt.
When you login to your new system the first time, please read your mail
using the 'mail' command.

# halt
syncing disks... done

The operating system has halted.
Please press any key to reboot.

Remove the bootable floppy disk or bootable CD-R, then reboot. Have fun and enjoy.

Tetap Mau Menunggu


walau sebentar tadi kuketiduran menunggumu..
kutetap mau terus menunggumu..
walau lelah dikerusi ini…kutetap mau menunggumu..
walaupun sudah kau kejutkan aku …menyuruhku mengalih tubuh ke katil empuk..
agar ku bisa menyambung lenaku..tanpa perlu menunggumu..
namun kutetap mau menunggumu..
walau jauh gk terjangkau..kutetap mau menunggumu..
walau kadang hati terdetak pilu..kutetap mau menunggumu..
walau ku harus bersusah…kutetap mau menunggumu..
kerna aku mau kamu tahu..betapa ku ingin temanimu..
disetiap detik waktu..walau terpisah beribu batu..
akukan tetap mau menunggumu..
…sampai ke akhir denyut nafasku..
..kutetap mau terus menunggumu…

Seberkas Sinar

Begitu sulit mengawali langkahku yang kian berat
Menegakkan pundakku yang kian penat
Menyusuri lorong gelap yang tak berujung ini
Dengan terpaan angin di wajahku
Yang membuatku kaku

Kunyalakan sebatang lilin
Kuhangatkan tubuhku yang mulai beku
Kulindungi cahayanya dari tiupan udara
Agar hawanya masuk kedalam sukma
Dan menghangatkan jiwaku

Sejenak kulihat wajahmu melintas
Akupun tersadar seketika meliatmu tersenyum
Seraya membuka tangannya lebar
Seakan memberiku semangat
Dan siap menyambutku dengan hangat
Saat itu juga aku bangkit
Meraih lilinku yang mulai meleleh
Cahaya lemahnya menuntun langkahku
Menuju seberkas sinar di ujung sana

Kamis, 29 April 2010

RINDU


Aku tak pernah berlari meninggalkanmu !
Melangkah menjauhi pun tak pernah terlintas
Aku masih disini…. Aku masih ada…
Namun sebait pun kini tak sempat lagi kubuat

Setiap hari kuhanya bisa berkata pada hati
Besok mungkin dapat kuluangkan waktu lagi
Tuk menulis tentang hati…
Dalam sebentuk puisi

Nyatanya aku tak pernah sempat
Ragaku s’lalu saja terlebih dahulu penat
Sehingga asa dan rasa tak pernah sempat
Dapatkan waktu yang tepat untuk puisi-puisi baru kubuat

Hingga sekali lagi di pagi ini
Kerinduan pada puisi kembali menjadi
Curahan hatiku dalam sebentuk puisi
Semoga esok aku bisa segera kembali