Saturday, 8 March 2014

clasful network = major network
clasful subnet address = major network subnet address = /8, /16, /32

Friday, 7 March 2014

I want to be an attractive men
I want to be an attractive person
I want  to be an attractive person
I want to be an attractive person
I will do anything to be an attractive personnn

Pengambilan keputusan berdasarkan kondisi nilai beberapa variabel

tentukan jumlah variabel: 3
tentukan jumlah kondisi variabel-1: 2 (ada polisi / tidak ada polisi)
tentukan jumlah kondisi variabel-2: 2 (padat, tidak padat)
tentukan jumlah kondisi variabel-3: 3 (merah, kuning, hijau)
 tentukan jumlah kondisi variabel keputusan: 2

Berapa jumlah keputusan yang akan dibuat? 2 x 2 x 3 = 8 keputusan

tentukan nama variabel 1: polisi
tentukan nama variabel 2: jumlah trafik
tentukan nama variabel 3: lampu

Thursday, 6 March 2014

He will be a gentlemen


Subnetting

Subnetting adalah proses matematis menghasilkan subnet
Subnet adalah suatu benda.

Tentang pekerjaan / bekerja

Wejangan dari seorang tua yang bijaksana:
"Kerja itu harus kerja yang mengeluarkan keringat dan mencari uang. Supaya enak tidur dan enak makan"

"Ada banyak jalan mencari uang"

Seorang muda dari suku minang merantau kesuatu daerah, beberapa bulan ia dibiayai/dikasih jajan oleh pamannya untuk sekedar jalan-jalan daerah itu. Sehingga pemuda itu akhirnya memahami seluk-beluk daerah itu. Pamannya kelak menghentikan pemberian jajan kepada pemuda itu dan memberikan sekaleng kacang goreng. "Nah, hidupmu ada di sekaleng kacang goreng ini". Sang pemuda yang sudah mengelilingi seluk-beluk daerah itu mempunyai modal yang kuat untuk melayap menjual kacang goreng itu (jadi pengenalan akan seluk-beluk juga bisa menjadi modal yang besar). Si pemuda itu berjualan. Setiap hari dia bisa menyimpan tabungan sepersekian dari modalnya berjualan. Uang hasil tabungannya itu disimpan ke Bank. Suatu hari ia, sudah mengumpulkan modal yang cukup untuk membuka toko kelontong. Dia teruskan menabung sepersekian dari modalya berjualan, dan akhirnya ia mempunyai modal yang cukup untuk membuka sebuah toko baju. Begitu seterusnya hingga ia berhasil mengelola hidupnya dengan bekerja dengan baik.


Prinsip sebagai orang tua

Jangan mengharapkan anak kita membalas kebaikan kita. Kenapa? Karena mereka ada di dunia ini atas keinginan kita (orang tua); bukan atas keinginan mereka. Sudah sepantasnya kita menghidupi mereka walaupun nanti kelak ia kemungkinan menyakiti kita.

1st step to network programming (socket programming)

Dim s1 As Socket = Nothing

Wednesday, 5 March 2014

privilleged exec mode
R1#


not-privilleged exec mode (user mode):


global config mode:
R1(config)#


routing configuration mode:
R1(config-router)#

Basic routing conf

1. Basic RIP configuration



Task 5: Verifying RIP routing
step 1: show ip route
untuk melihat apakah network lain / network bukan directly connected terhadap suatu router sudah terinjeksi kedalam routing table.

step 2: show ip protocols

step 3: debug ip rip
"who send and what he send"



step 4: undebug all
non aktifkan debug ip rip (kata-kata yang menyedihkan)

Monday, 3 March 2014

Namespace

Tempat penyimpanan kelas-kelas

Contoh penggunaan namespace

Namespace pekerjaanmanusia
    Public Class Petani
        Public luaslahan As Integer = Nothing
        Sub jumlahlahan(ByVal luas)
            luaslahan = luas
        End Sub
    End Class

    Public Class Programmer
        Public bahasaprogram As String = Nothing
        Sub bahasayangdikuasai(ByVal nama)
            bahasaprogram = nama
        End Sub
    End Class
End Namespace

Module Module1
    Dim Budi As New pekerjaanmanusia.Programmer
    Dim tardo As New pekerjaanmanusia.Petani
    Sub Main()
        Budi.bahasaprogram = "C"
        Console.WriteLine(Budi.bahasaprogram)
        Console.ReadLine()

        tardo.luaslahan = 100
        Console.WriteLine("Luas lahan tardo: " & tardo.luaslahan & " " & "Hektar")
        Console.ReadLine()
    End Sub

End Module

Creating class, instantiate

Public Class Person
    Private weight As Double = 8
    Private money As Double = 100
    Private income As Double = 7.25

    Public Sub eat(ByVal pounds As Double)
        weight += pounds
    End Sub

    Public Sub excercise(ByVal time As Double)
        weight -= time / 10
    End Sub

    Public Sub work(ByVal hours As Double)
        money += hours * income
    End Sub

    Public Function getweight() As Double
        Return weight
    End Function

    Public Function getmoney() As Double
        Return money
    End Function

    Public Function getincome() As Double
        Return income
    End Function
End Class

Class

Public Class Form1
Private myperson As New Person


Friday, 28 February 2014

Kepala Rumah Tangga

1. Menghidupi / menafkahi rumah tangga
2. Menjadi kepala = membuat keputusan-keputusan

Establishing a Console Session to Cisco devices

Kebutuhan:
1. Sebuah Komputer/Laptop dengan sebuah serial interfac
- Bagaimana kalau laptop saya tidak memiliki serial interface? Jangan khawatir, kamu bisa beli konverter serial ke usb seperti dibawah ini:.
 
Jika kamu ke glodok, kamu bisa memesannya dengan nama konverter dari serial ke usb. Konverter ini yang pernah penulis gunakan adalah merek Athens.

2. 1 buah roll over cable berwarna biru seperti ini:


Biasanya kabel ini datang bersama perangkat Cisco yang kamu beli (jika kamu memang ikut memesannya).

3. Program-program untuk login seperti:
- Terraterm
- Putty
- SecureCRT
-
Skill dari lab ....
1. Diberikan sebuah topologi
- Tentukan berapa banyak jumlah network didalamnya
- Tentukan berapa banyak bit-bit yang harus kamu pinjam untuk menciptakan jumlah subnet yang dibutuhkan
- Berapa banyak jumlah alamat host yang bisa digunakan dan jumlah subnet-subnet yang bisa digunakan
- apakah subnet mask dalam notasi bentuk desimal
- Berapa jumlah subnet yang tersedia untuk penggunaan masa depan

Ngerti dulu atau nyatet dulu?

Ngerti dulu baru nyatet
Ngerti dulu baru nginget

IQ TEST

Monday, 24 February 2014

Equation and formula

Equation
Equation : two things are equal
Example:
x/2 + 7 = 0
x + 2 = 6





Formula
Formula: special equation that shows the relationship between different variables.

Formula have a subject, that is the single variable (usually on the left of the "=") that everything else is equal to.

Formula can be rearranged so that another variable is the subject.
Example:
V = lwh
w = V / hl

Sunday, 23 February 2014

Database
Menguasai dengan baik query dan struktur database (MySql, SQL server)

IT Security engineer:
Having good understanding about IT security concept, Firewall, IDS/IPS, VPN, NAC, QoS Management, SIEM, Having good understanding with security tools such as: Network reconnaisance, Vulnerability scanning, Exploitation framework, Incident handling, digital forensic)

Hands-on experience with Python, Perl, BASH.
Harga 1 bungkus rokok = 13000. Berapa harga per batang? Jika jumlah batang per bungkus = 12

Saturday, 22 February 2014

Semangat dan visi

Semangat adalah bahan bakar roket, tetapi visi mengarahkan roket ke tujuan akhirnya
INTERNET ERROR CODES...!!!
Error 400 - Bad request.
Error 401 - unauthorized request.
Error 403 - forbidden.
Error 404 - Not found.
Error 500 -Internal error.
Error 501 - Not Implemented
Error 502 - Bad Gateway
Error 503 -Service unavailable.
Error 504 - Gateway Time-Out
Error 505 - HTTP Version not
supported/ DNS Lookup Fail/unknown
host
Error 500-599 - Server Errors.....


In real world, these can be used as an answer to your boss or to your friend? :D

Escalator Mechanism

Ping and traceroute examples

C:\> ping -n 1 –r 9 192.168.254.254
C:\> ping –t 192.168.254.254
C:\>tracert -w 5 -h 4 192.168.254.254

Router ping output

"U" = Destination Unreachable
"." = The Network server/service timed out while waiting for a reply
"H" = Host unreachable
"P" = Protocol "
"N" = Network "
"!" = Receipt of a reply
"Q" = Source quench
"M" = Could not fragment
"?" = Unknown packet type

Friday, 21 February 2014

telnet

router/switch with default configuration (fresh from the box) can't be telneted because no password is set.

Thursday, 20 February 2014

Cisco IOS access point

Komponen/obyek konfigurasi dari access point Cisco antara lain:

Radio setting,  Multiple SSID, Spanning-tree protocol (Spanning-tree? Akses poin punya spanning-tree?), Local authenticator, Cipher suites and WEP, Tipe-tipe autentikasi, WDS, Fast secure Roaming, Radio management, WIDS (Wireless Intrussion Detection services), RADIUS and TACACS+ server, VLAN, QoS, Filters, CDP, SNMP,

Ping and traceroute/tracert

Whats the difference between ping and traceroute?
Ping is simpler version of traceroute (I can say it so)

Traceroute can also be used to measure the network latency, in addition to network connectivity verification.

Ping and traceroute both can be used to verify the network connection (means: connect or not connect) of a PC or network device(switch, router, accesspoint, etc.)


Ping
Example:
ping 192.168.1.1 (ping with ip address)
ping www.facebook.com (ping with qualified name to test domain name service (DNS) functionality)

Type of ping output (basic):
- Request timed out

- Reply 

 - destination host unreachable: the router has the routes for that network on its routing table but and able to send the ICMP packet but the intended PC receiver don't reply

- destination network unreachable: the router dont have routes for that network on its routing table and don't have gateway of last resort on its routing table.


ICMP TTL
Linux: default 64
Windows 7: default 255

A ICMP that cross two router will draw -2 for the TTL.

Ping result can't tell whether the problem is at the destionation host or a device in the path! The traceroute kicks in!

Traceroute

Upon the traceroute result can you fill this table?
Maximum number of hops
First router IP address
Second router IP address
Destination reached?

Remote logins

Restrictions = {Allow to change router's configuration, not allowed to changes router's configuration/only viewing}

Username and password = {manager = ciscoisgreat, staff = ciscoissecure}

Tabling them
Username Password Restriction
Manager Ciscoisgreat allowtochangerouter's configuration
Staff ciscoissecure not allowed to change router's configuration

So how can we implement them or configure them on a switch or router?

Router, Windows PC and routing table

Some routers are added to routing tables automatically, based upon configuration information on the network interface.

Router consider a network directly connected when it has an IP address and network mask configured, and the network route is automatically entered into the routing table.

For network that are not directly connected, a default gateway IP address is configured.

Playing with route on Windows host PC/Computer
1. Adding a route
route add 192.168.3.0 255.255.255.0 
route add command adding/inserting a route to your PC's routing table.

2.Deleting a route
route delete 192.168.3.0 255.255.255.0

3. Viewing routes
route print

4. Changing a route


Playing with route on Cisco router
Structure of a router's routing table
Components:
- Gateway of last resort
Who is eligible to be a gateway of last resort?
- Dynamic routes:
1. What protocol receives it
2. When that routes received (Time)

- Static routes : Routes that manually entered by Cisco network engineer


- Routes for directly connected network: Routes that entered automatically to routing table when router configured with IP address and subnet mask whether on its Fast Ethernet Interface or its Loopback interface.

Command:
show ip route <ENTER>

Wednesday, 19 February 2014

Network Troubleshooting steps

1. Verify the correct cables is attached (whether it should straight-through or cross cable)
2. Check the network setting on the victim
- check whether he is using correct IP address and subnet mask
- check whether he is using correct gateway IP address.
 

Viewing computer's gateway address

You can use Windows Command line utilities such as netstat -r and ipconfig /all.

Netstat -r

Digunakan untuk melihat alamat gateway network suatu komputer.

Output dari perintah ini terdiri atas Interface List, IPv4 Route Table, IPv6 Route Table.


IP address

Terdiri dari network portion dan host portion.

Untuk komputer yang berada dalam LAN yang sama, network portion dari komputer tujuan sama dengan network portion dari komputer pengirim.

Untuk komputer yang berbeda network/LAN, nomor source network portion-nya berbeda antara komputer tujuan dan komputer pengirim.


Cables



Use a crossover cable to connect two workstations to each other through their NIC’s Ethernet port. This is an Ethernet cable. When you look at the plug you will notice that the orange and green wires are in opposite positions on each end of the cable.

Use a straight-through cable to connect the router’s Ethernet port to a switch port or a workstation to a switch port. This is also an Ethernet cable. When you look at the plug you will notice that both ends of the cable are exactly the same in each pin position.

I.e use cross over cable to connect two workstations, other than to connect two workstations, use straight-through cable.

Straight-cable is also called patch cable.

Cable tester:
1. Cable type
2. Length
3. Wire map


Typical cable problems:
1. Wrong cable type
2. Broken cables

A properly functioning cable today may be broken tomorrow. This isn’t unusual, and is part of the learning process.
C:\BitNami\wampstack-5.4.22-0\apache2\htdocs

Basic of reading text file



How about .csv file? Is it OK?
OK
textwindow.writeline(File.ReadContents("c:/circle.csv"))

Tuesday, 18 February 2014

Man don't wants a relationship with women


Practicing tracerouting using windows tracert tools


What you want to trace this time?
tracert www.facebook.com

What URL you had entered to trace?
URL = www.facebook.com

Whats the answer of your traceroute about your URL's FQDN?
The FQDN is star.c10r.facebook.com

Whats the answer of traceroute about your URL server address?
His IPaddress is 31.13.79.144

How many hop to get there?
12 hops

Can you show the result of your tracerouting?
Yes, above picture is already shown it.


General info about tracing

Route tracing computer software is a utility that lists the networks
in the network or across internetwork or distant network

Router represents a point where one network connects to another network
Service: Website

Tools such as these are usually embedded with the operating system of the end device.



Monday, 17 February 2014

CCNA Exploration 1-4: LAB/Activity List

Activity 1.1.1: Using Google Earth™ to View the World
Activity 1.4.5: Identifying Top Security Vulnerabilities
Lab 1.6.1: Using Collaboration Tools— IRC and IM
Lab 1.6.2: Using Collaboration Tools—Wikis and Web Logs
Activity 2.2.5: Using NeoTrace™ to View Internetworks
Lab 2.6.1: Topology Orientation and Building a Small Network
Lab 2.6.2: Using Wireshark™ to View Protocol Data Units
Activity 3.4.1: Data Stream Capture
Lab 3.4.2: Managing a Web Server
Lab 3.4.3: E-mail Services and Protocols
Lab 4.5.1: Observing TCP and UDP using Netstat
Lab 4.5.3: Application and Transport Layer Protocols Examination
Lab 5.5.1: Examining a Device’s Gateway
Lab 5.5.2: Examining a Route
Lab 6.7.1: Ping and Traceroute
Lab 6.7.2: Examining ICMP Packets
Activity 6.7.3: IPv4 Address Subnetting Part 1
Activity 6.7.4: IPv4 Address Subnetting Part 2
Lab 6.7.5: Subnet and Router Configuration
Lab 7.5.2: Frame Examination
Lab 8.4.1: Media Connectors Lab Activity
Lab 9.8.1: Address Resolution Protocol (ARP)
Lab 9.8.2: Cisco Switch MAC Table Examination
Lab 9.8.3: Intermediary Device as an End Device
Lab 10.3.2: How Many Networks?
Lab 10.6.1: Creating a Small Lab Topology
Lab 10.6.2: Establishing a Console Session with HyperTerminal
Lab 10.6.3: Establishing a Console Session with Minicom
Lab 11.4.3.3: Network Latency Documentation with Ping
Lab 11.5.1: Basic Cisco Device Configuration
Lab 11.5.2: Managing Device Configuration Lab 11.5.3: Configure Host Computers for IP Networking
Lab 11.5.4: Network Testing 
Lab 11.5.5: Network Documentation with Utility Commands
Lab 11.5.6: Final Case Study - Datagram Analysis with Wireshark

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

Lab 1.5.1: Cabling a Network and Basic Router Configuration
Lab 1.5.2: Basic Router Configuration
Lab 1.5.3: Challenge Router Configuration
Lab 2.8.1: Basic Static Route Configuration
Lab 2.8.3: Troubleshooting Static Routes
Activity 3.5.2: Subnetting Scenario 1
Activity 3.5.3: Subnetting Scenario 2
Activity 3.5.4: Subnetting Scenario 3
Lab 4.6.1: Routing Table Interpretation Lab
Lab 5.6.1: Basic RIP Configuration
Lab 5.6.2: Challenge RIP Configuration 
Activity 6.4.1: Basic VLSM Calculation and Addressing Design
Activity 6.4.3: Troubleshooting a VLSM Addressing Design
Activity 6.4.2: Challenge VLSM Calculation and Addressing Design
Activity 6.4.3: Troubleshooting a VLSM Addressing Design
Activity 6.4.4: Basic Route Summarization
Activity 6.4.5: Challenge Route Summarization
Activity 6.4.6: Troubleshooting Route Summarization
Lab 7.5.1: RIPv2 Basic Configuration Lab
Lab 7.5.2: RIPv2 Challenge Configuration Lab 
Lab 7.5.3: RIPv2 Troubleshooting Lab
Lab 8.4.1: Investigating the Routing Table Lookup Process
Lab 8.4.2: Show IP Route Challenge Lab
Lab 9.6.1: Basic EIGRP Configuration Lab
Lab 9.6.2: Challenge EIGRP Configuration Lab
Lab 9.6.3: EIGRP Troubleshooting Lab
Lab 11.6.1: Basic OSPF Configuration Lab 
Lab 11.6.2: Challenge OSPF Configuration Lab
Lab 11.6.3: OSPF Troubleshooting Lab

==========================================================================
Lab 1.3.1: Review of Concepts from Exploration 1
Lab 1.3.2: Review of Concepts from Exploration 1 - Challenge
Lab 1.3.3: Troubleshooting a Small Network
Lab 2.5.1: Basic Switch Configuration
Lab 2.5.2: Managing Switch Operating System and Configuration Files
Lab 2.5.3: Managing Switch Operating System and Configuration Files – Challenge
Lab 3.5.1: Basic VLAN Configuration
Lab 3.5.2: Challenge VLAN Configuration
Lab 3.5.3: Troubleshooting VLAN Configurations
Lab 4.4.1: Basic VTP Configuration
Lab 4.4.2: VTP Configuration Challenge
Lab 4.4.3 Troubleshooting VTP Configuration
Lab 5.5.1: Basic Spanning Tree Protocol
Lab 5.5.2: Challenge Spanning Tree Protocol
Lab 5.5.3: Troubleshooting Spanning Tree Protocol
Lab 6.4.1: Basic Inter-VLAN Routing
Lab 7.5.1: Configuring Wireless LAN Access
Lab 7.5.2: Challenge Wireless Configuration 
Lab 7.5.3: Troubleshooting the Wireless WRT300N

==========================================================================
Lab 1.4.1: Challenge Review Lab
Lab 2.5.1: Basic PPP Configuration Lab
Lab 2.5.2: Challenge PPP Configuration
Lab 2.5.3: Troubleshooting PPP Configuration
Lab 3.5.1: Basic Frame Relay
Lab 3.5.2: Challenge Frame Relay Configuration
Lab 3.5.3: Troubleshooting Frame Relay
Lab 4.6.1: Basic Security Configuration
Lab 4.6.2: Challenge Security Configuration
Lab 4.6.3: Troubleshooting Security Configuration
Lab 5.5.1: Basic Access Control Lists
Lab 5.5.2: Access Control Lists Challeng
Lab 5.5.3: Troubleshooting Access Control Lists
Lab 7.4.1: Basic DHCP and NAT Configuration
Lab 7.4.2: Challenge DHCPand NAT Configuration
Lab 7.4.3: Troubleshooting DHCP and NAT
Activity 8.3.7: Troubleshooting Role Play
Lab 8.5.1: Troubleshooting Enterprise Networks 1
Lab 8.5.2: Troubleshooting Enterprise Networks 2
Lab 8.5.3: Troubleshooting Enterprise Networks 3










































Syarat-syarat pembuatan Akte Kelahiran

Surat Keterangan Lahir, 
KK, 
KTP Orangtua, dan 
Surat Pengantar RT/RW yang dilegalkan

Sunday, 16 February 2014

Manakah yang lebih besar?

a, b, c
a + b = c
manakah yang lebih besar a atau c?

a - b = c
manakah yang lebih besar a atau c?

a * b = c
manakah yang lebih besar a atau c?

a / b = c
manakah yang lebih besar a atau c?


Program pengacakan kata

'Penambahan tombol-tombol control
kata = Controls.AddTextBox(0,0)
translate = Controls.AddButton("acak bro..",200,0)
hasil = Controls.AddMultiLineTextBox(0,100)
GraphicsWindow.show()

teks1 = Shapes.AddText("Kata yang akan diacak:")
xtext1 = Shapes.GetLeft(teks1)
Shapes.Move(kata, xtext1, 20)
ykata = Shapes.GetTop(kata)
xkata = Shapes.GetLeft(kata)
Shapes.Move(translate, xkata + 160, ykata)

'pendefensian even-handlers untuk controls
controls.ButtonClicked = tomboldiklik

'sub-sub
sub tomboldiklik
  If Controls.LastClickedButton = translate then
    datapengacakan = Controls.GetTextBoxText(kata)
    For i = 1 To Text.GetLength(datapengacakan)
    a[i] = Text.GetSubText(datapengacakan, i,1)
    b[i] = Text.GetCharacterCode(a[i]) + 1
    c[i] = Text.GetCharacter(b[i])
    d = Text.Append(d, c[i])
    Controls.SetTextBoxText(hasil, d )
    EndFor
  EndIf
EndSub



Friday, 14 February 2014

Coba mencari deret

Case 1
X
0
180
360
440







x1 = 0
x2 = x1 + 180
x3 = x2 + 180
x4 = x3 + 180

Jadi, eks-eks diatas xi = xi-2 + 180
kecuali x1. Is that simple? Yes! Apa ini disebut? Pengecualian!


Case 2
X 
0
180
360

Y
0
90
180

x1 = 0x2 = x1 + 180
x3 = x2 + 180
x4 = x3 + 180

dan

y1 = 0
y2 = 1/2 * x2
y3 = 1/2 * x3
y4 = 1/2 * x4

Jadi yi = 1/2 * xi kecuali y1. Simple!