Thursday, 15 October 2015

Rooting

Rooting android terdapat 2 cara:
1. Rooting dengan PC
2. Rooting tanpa PC

Rooting tanpa PC bisa menggunakan Framaroot. Contoh artikel disini: https://jalantikus.com/tips/cara-mudah-root-semua-jenis-android-tanpa-pc-3897/

Thursday, 8 October 2015

Alternative to DDNS

Using ftp
1. Create website at 000webhost.com
2. Login to 000webhost.com
3. Get ftp address
4. Get ftp username

At cisco device
1. Kron
2. Recurring kron
3. FTP command to 000webhost.com's ftp server

Pertanian rumah: Melihat penyakit tumbuhan cabai

To Medan and back yow..


Web Crawler


Basic program style:
n = 0
for i = 0 To 26
  For j = 0 To 26
    For k = 0 To 26
      a[n][1] = Text.GetCharacter(97+k)
      a[n][2] = Text.GetCharacter(97+j)
      a[n][3] = Text.GetCharacter(97+i)
      TextWindow.WriteLine(a[n][1] + " " + a[n][2] + " " + a[n][3])
      url = a[n][1] + a[n][2] + a[n][3]
      TextWindow.WriteLine(url)
      c[n] = Network.GetWebPageContents("http://"+url+".com")
      TextWindow.WriteLine(c[n])
      n = n + 1     
    EndFor
  EndFor
EndFor

Algorithm writing songs

1. Selecting any option 5 notes
2. Creating a chord variations of note
4. Ring the chord

Tuesday, 6 October 2015

Sunday, 4 October 2015

Dasar QoS konsep

Beberapa defenisi / pengertian

Trafik mobil merah boleh lewat sekian
Trafik mobil hijau boleh lewat sekian.


Quality of Service (QoS) is a set of technologies for managing network traffic in a cost-effective manner to enhance user experiences for home and enterprise environments. QoS technologies allow you to measure bandwidth, detect changing network conditions (such as congestion or availability of bandwidth), and prioritize or throttle traffic. For example, QoS technologies can be applied to prioritize traffic for latency-sensitive applications (such as voice or video) and to control the impact of latency-insensitive traffic (such as bulk data transfers).


What is a doctor type of traffic control?
First in first out.

Saturday, 3 October 2015

1. Klik button Start apache
2. Klik button admin
3. Klik
pi@raspberrypi / $ ls
bin   dev  home  lost+found  mnt  proc  run   selinux  sys  usr
boot  etc  lib   media       opt  root  sbin  srv      tmp  var

How to Install or uninstall Webmin Linux Raspberry Pi

How to Install

Steps are:
1.First, download the file:
$ sudo wget http://prdownloads.sourceforge.net/webadmin/webadmin-1.580.tar.gz

2. Sec, unzip the file:
$ sudo tar -zxvf webmin-1.580.tar.gz

3. Third, make directory/folder at /var/www/
$ sudo mkdir /var/www/webmin

4. Fourth, change directory to webmin-1.580
$ cd webmin-1.580

5. Fifth, run the simple setup script
$ sudo sh setup.sh /var/www/webmin

6. Finish. Open your browser to: http://192.168.1.2:10000

How to Uninstall


Uninstall:
$ sudo /etc/webmin/uninstall.sh

Saturday, 26 September 2015

https://en.wikipedia.org/wiki/Calculus
1. line vty 0 15
2. login authentication
3. username admin pri 15 admin
4. aaa authentication login default local
5. aaa authorization exec default local
6. aaa new-model

Problems of AAA if without using / assigning command's point 5: any user that successfully login into a router will be placed into user mode (>) not into priviliged exec mode(#).

Friday, 25 September 2015

Every user on the same privilege level can access/execute same set of command.
By default every command in cisco is assigned level 1 dan 15.
Level 0 ada tapi jarang digunakan. Level 0 includes following five commands:
  • disable
  • enable
  • exit
  • help
  • logout

Contoh misi:
Kamu mau membatasi perintah yang tersedia untuk user yang terhubung ke suatu port hanya ke Telnet. Kamu bisa melakukan dengan ini:
1. Mengkonfigurasi port itu ke privilege level 0
2. Menurunkan level privilige perintah Telnet ke level 0

1. Configuring a username privilege

Thursday, 24 September 2015

Studi tentang Exec modes

Exec modes ada 2:
1. User exec mode
2. Privillege exec mode

Tiap mode exec bisa di proteksi:
Proteksi user exec mode username dan password.
Proteksi privillege exec mode itu enable secret/ enable password.

Tingkat privillege / privillege level
Tingkat privilege ada: 1 - 15.
User exec mode default privillege level 1
Default privilege level privillege exec mode 15.

Commands
Tiap command memiliki level privillege.
Privillege mode include all user exec mode
You can move command to any privilege level

Human is privilege level 1. God is privilege level 15.
Anything that executed inside # sign

Wednesday, 23 September 2015

Debug type

  • Event
    • for example: debug ip dhcp server events
  • Packet
    • for example: debug ip dhcp server packet

Study tentang TACACS+

Fakta

1. Kamu bisa melakukan AAA dengan TACACS+ atau RADIUS.
2. Jika kamu melakukan AAA dengan TACACS+ konfigurasi ada di 2 sisi. Di sisi raspberry pi sebagai tacacs+ server dan di sisi router sebagai tacacs+ client.
3. Tacacs tidak bisa di running jika konfigurasi (di file /etc/tacacs+) masih syntax error
4. Sebelum belajar tacacs ada baiknya belajar username secret local database(database di dalam router) disini.
5. Tacacs dan local database berbeda cara pandang so be aware.

1. Di sisi Raspberry Pi:

1. $ sudo apt-get install tacacs+
2. $ sudo nano /etc/tacacs+/tacacs_plus.conf
3. Tambah user profile:
user = cisco {
default service = permit
login = cleartext class
}
4. exit keluar dari  line
5. $ service tacacs_plus restart; every time configuration has change, restart.

2. Di sisi router

1. aaa new-model
2. aaa authentication login group tacacs+ enable
3. tacacs server host 192.168.1.2 key testing123
4. test aaa group tacacs+ cisco class legacy


Viewing
Note that: after you assign aaa authori
pi@raspberrypi /var/log $ sudo tail -f /var/log/tac_plus.acct
Wed Sep 23 17:38:53 2015        192.168.1.1     cisco   tty8    192.168.1.16   start    task_id=203     timezone=UTC    service=shell   start_time=1443029265
Wed Sep 23 17:39:23 2015        192.168.1.1     cisco   tty8    192.168.1.16   stop     task_id=203     timezone=UTC    service=shell   start_time=1443029265  disc-cause=1     disc-cause-ext=9        pre-session-time=4      elapsed_time=31stop_time=1443029296
Wed Sep 23 17:39:36 2015        192.168.1.1     cisco   tty8    192.168.1.16   start    task_id=204     timezone=UTC    service=shell   start_time=1443029309

Ayo buat user yang tidak memilki permit
user = aloha {
login = cleartext butbut
}
User ini dipastikan tidak bisa memasukan username dan password.

Ayo kemudian tambahkan command cmd


Troubleshooting script steps:
1. Pertama cek apakah user tersebut masuk kedalam sebuah/suatu group?
2. Cek 

IP version 4

Header-header IP
1. Version  = 4
2. Header length = 20 bytes
3. Differentiated service field: 0xc0
4. Total length: 121
5. Identification: 0xd242
6. Flags: 0x00
7. Fragment offset: 0
8. Time to live: 255
9. Protocol: TCP(6)
10. Header checksum: 0x651a
11. Source: 192.168.1.1
12. Destination: 192.168.1.16
[Source GeoIP: Unknown]
[Destination GeoIP: Unknown]



ARP

1. If arp dont receive reply, it means there is a layer 2 network problem.
2. If arp receive reply, that is same with router gateway mac address, it mean there is a proxy arp happening.

To view arp table in windows:
1. arp -a (with administrative right)

To view arp table in router:
1. show ip arp

Tuesday, 22 September 2015

192.168.1.0/28

Facts:192.168.1.0/28
1. Lebih enak pakai prefix
2. Untuk mencari host i.e. jumlah ukuran blok kedepan
3. Untuk mencari jumlah subnet ke belakang
4. Untuk mencari jumlah

Proxy

On behalf.
1. Web Proxy
2. Arp proxy
3. 

Monday, 21 September 2015

Manfaat

Manfaat akar kuadrat
Terdapat sebuah tanah seluas 100 meter kuadrat. Berapa panjang dan lebarnya?
Akar kuadrat dari 100 meter kuadrat = 10 meter; kuadrat hilang.
10 meter panjang
10 meter lebar.

Diketahui tanah seluas 144 meter kuadrat. Berapa panjang dan lebarnya?
Akar kuadrat dari 144 meter kuadrat = 12 meter; kuadrat hilang.
Jadi,
12 meter panjang
12 meter lebar

Manfat akar pangkat tiga
Terdapat sebuah rumah dengan volume 100 meter kubik. Berapa panjang, lebar dan tingginya?
Setara dengan kubus berdimensi berapa?
Akar pangkat tiga dari 100 meter kubik adalah 4,642 meter; kubik hilang.
Jadi panjang 4,642 meter. Lebar 4,642 meter dan tinggi 4,642 meter. Setara dengan kubus berdimensi ini.

Manfaat log
Diketahui

Manfaat persen

Manfaat simetris
Mencari/menentukan garis tengah

Manfaat modulus
Jika terdapat 5 rumah dibagi rata ke 2 orang. Berapa sisa rumah?
5 Mod 2 = 1

Manfaat garis singgung
Jika perusahaan A sedang meningkatkan pegawainya 1 orang per atau setiap hari. Dan perusahaan B sedang mengurangi pegawainya 1 orang perhari. Jika mulainya sama. Pada hari keberapa mereka jumlah pegawainya sama?

Diketahui jika kecepatan andi berjalan adalah 5 langkah perdetik

Functions

1. Single-valued function http://mathworld.wolfram.com/Single-ValuedFunction.html
2. Multi-valued function http://mathworld.wolfram.com/MultivaluedFunction.html

Example:
1. Single-valued function
Integer power function:
f(x) = x^2, etc.
Other: trigonometric, hyperbolic, exponential and integer power function. 


2. Multi-valued function
f(x) = root(x), etc.

To draw single-valued function:
To draw multi-valued function:

Sunday, 20 September 2015

Facts
1. Sin x = Sin 1.x
2. Sin 2x = Sin 2.x begitu juga dengan cos dan tan
3. radians(180) sama nilainya dengan 22/7 atau sama dengan phi. Btw radian mengkonversi/mengubah nilai perbandingan y dan x (cm) ke derajat.
  • KASUS 1 KERAN


b(t)=1
a(t) =

a(n) = b(n) + c(n)



  • KASUS 2 KERAN

Saturday, 19 September 2015

TCP/IP Tutorial and Technical Overview

http://www.redbooks.ibm.com/abstracts/gg243376.html

Table of contents

Part 1. Core TCP/IP protocols
Chapter 1. Architecture, history, standards, and trends
Chapter 2. Network interfaces
Chapter 3. Internetworking protocols
Chapter 4. Transport layer protocols
Chapter 5. Routing protocols
Chapter 6. IP multicast
Chapter 7. Mobile IP
Chapter 8. Quality of service
Chapter 9. IP version 6
Chapter 10. Wireless IP

Part 2. TCP/IP application protocols
Chapter 11. Application structure and programming interfaces
Chapter 12. Directory and naming protocols
Chapter 13. Remote execution and distributed computing
Chapter 14. File-related protocols
Chapter 15. Mail applications
Chapter 16. The Web
Chapter 17. Network management
Chapter 18. Wireless Application Protocol
Chapter 19. Presence over IP

Part 3. Advanced concepts and new technologies
Chapter 20. Voice over Internet Protocol
Chapter 21. Internet Protocol Television
Chapter 22. TCP/IP security
Chapter 23. Port based network access control
Chapter 24. Availability, scalability, and load balancing
Appendix A. Multiprotocol Label Switching

Knowledge of L3 and L4

L3 contain:
IP source
IP destination



L4 contain:

Compression and decompression

Compression = Pemadatan
Suppose:
ff ff ff ff
0a 0b 0b 0a
ff  0a 0a 0f
ff 0a 0f 0f

ff 04 0a 0b
02

QoS

QoS = against the classic FIFO. Melawan FIFO klasik.

FIFO menyebabkan semua trafik sama. Trafik yang berurgensi lebih penting di

QoS bisa dilihat di penerbangan.
Kelas Ekonomi
Kelas Bisnis

Atau gak usah jauh-jauh, analaogi QoS bisa dilihat di tukang pangkas.
Jumlah tukang pangkas
Jumlah rata-rata pasien per tukang pangkas per jam.


QoS mechanism:
1. Classification --> NBAR and DSCP
2. Marking --> CB-Marking
3. Congestion Management --> LLQ
4. Shaping --> CB-Shaping or FRTS
5. Link Efficiency --> Header Compression and LFI

QoS mechanism: How can we implement this below picture:
http://ptgmedia.pearsoncmg.com/images/chap06_1587201283/elementLinks/fig04.jpg

1st. define how many queue? 5

Parameter link telekomunikasi

1. SNR Margin
2. Line attenuation
3. Data Rate
4. CRC
5. FEC
6. Frame Loss


Link parameter
1. Link
2. Link interface (Network Adapter)

Link capability:
1. A point only can be to one point
2. A point can be to multi point

Friday, 18 September 2015

Cisco DHCP

1. Using IP Helper Addresses for DHCP
Router#configure terminal
Router1(config)#interface Ethernet 0
Router1(config-if)#ip helper-address 172.25.1.1
Router1(config-if)#ip helper-address 172.25.10.7
Router1(config-if)#exit
Router1(config)#end
Router1#

The ip helper-address configuration command allows the router to forward local DHCP requests to one or more centralied DHCP servers.

2. Limiting the impact of IP Helper Address
Router1# configure terminal
Router1(config)#no ip forward-protocol udp tftp
Router1(config)#no ip forward-protocol udp nameserver
Router1(config)#no ip forward-protocol udp domain
Router1(config)#no ip forward-protocol udp time
Router1(config)#no ip forward-protocol udp netbios-ns
Router1(config)#no ip forward-protocol udp netbios-dgm
Router1(config)#no ip forward-protocol udp tacacs
Router1(config)#end
Router1#

After configuring IP helper addresses, you suffer from high link utilization / high CPU utilization on the DHCP server.

3. Using DHCP to Dynamically Configure Router IP address
Router1#configure terminal
Router1(config)#interface FastEthernet0/1
Router1(config-ig)#ip address dhcp
Router1(config-if)#end
Router1#

The ip address dhcp configuration command allows ther router to obtaion the address information for an interface dynamically.

Router1#show ip interface
FastEthernet0/1 is up, line protocol is up
    Internet address is 172.25.1.57/24
    Broadcast address is 255.255.255.255
    Address determined by DHCP
    MTU is 1500 bytes
    <removed for brevity>

4. Dynamically allocating Client IP address via DHCP

5. Defining DHCP Configuration options
Router1#configure terminal
Router1(config)#ip dhcp pool ORAserver
Router1(dhcp-config)#host 172.25.1.34 255.255.255.0
Router1(dhcp-config)#client-name bigserver
Router1(dhcp-config)#default-router 172.25.1.1 172.25.1.3
Router1(dhcp-config)#domain-name oreilly.com
Router1(dhcp-config)#dns-server 172.25.1.1 10.1.2.3
Router1(dhcp-config)#netbios-name-server 172.25.1.1
Router1(dhcp-config)#netbios-node-type h-node
Router1(dhcp-config)#option 66 ip 10.1.1.1
Router1(dhcp-config)#option 33 ip 192.0.2.1 172.25.1.3
Router1(dhcp-config)#option 31 hex 01
Router1(dhcp-config)#lease 2
Router1(dhcp-config)#exit
Router1(config)#end
Router1#

RFC 2132 defines a large number of standard configurable options.

 6. Allocating static IP address with DHCP
You want to configure 
Router1#configure terminal
Router1(config)#ip dhcp pool IAN
Router1(dhcp-config)#host 172.25.1.13 255.255.255.0
Router1(dhcp-config)#client-identifier 0100.0103.85e9.87
Router1(dhcp-config)#client name win2k
Router1(dhcp-config)default-router 172.25.1.1
Router1(dhcp-config)#exit
Router1(config)#end
Router1#

7. Configuring a DHCP database client
You want to backup your database DHCP address assignment to another device so that you won't lose it if the router reloads.

Router1#configure terminal
Router1(config)#


8. Configuring multiple dhcp server per 1 subnet
You want to
Router1# configure terminal
Router1(config)#ip dhcp pool 172.22.1.0/24
Router1(dhcp-config)# network 172.22.1.0 255.255.255.0
Router1(dhcp-config)# domain-name Oreilly.com

Oleh-oleh ketika scanning nmap windows 7 sendiri

Skipping SYN Stealth Scan against 192.168.1.17 because Windows does not support scanning your own machine (localhost) this way.

Nmap scan report for 192.168.1.17

Host is up.

PORT      STATE   SERVICE

7/tcp     unknown echo

9/tcp     unknown discard

13/tcp    unknown daytime

21/tcp    unknown ftp

22/tcp    unknown ssh

23/tcp    unknown telnet

25/tcp    unknown smtp

26/tcp    unknown rsftp

37/tcp    unknown time

53/tcp    unknown domain

79/tcp    unknown finger

80/tcp    unknown http

81/tcp    unknown hosts2-ns

88/tcp    unknown kerberos-sec

106/tcp   unknown pop3pw

110/tcp   unknown pop3

111/tcp   unknown rpcbind

113/tcp   unknown ident

119/tcp   unknown nntp

135/tcp   unknown msrpc

139/tcp   unknown netbios-ssn

143/tcp   unknown imap

144/tcp   unknown news

179/tcp   unknown bgp

199/tcp   unknown smux

389/tcp   unknown ldap

427/tcp   unknown svrloc

443/tcp   unknown https

444/tcp   unknown snpp

445/tcp   unknown microsoft-ds

465/tcp   unknown smtps

513/tcp   unknown login

514/tcp   unknown shell

515/tcp   unknown printer

543/tcp   unknown klogin

544/tcp   unknown kshell

548/tcp   unknown afp

554/tcp   unknown rtsp

587/tcp   unknown submission

631/tcp   unknown ipp

646/tcp   unknown ldp

873/tcp   unknown rsync

990/tcp   unknown ftps

993/tcp   unknown imaps

995/tcp   unknown pop3s

1025/tcp  unknown NFS-or-IIS

1026/tcp  unknown LSA-or-nterm

1027/tcp  unknown IIS

1028/tcp  unknown unknown

1029/tcp  unknown ms-lsa

1110/tcp  unknown nfsd-status

1433/tcp  unknown ms-sql-s

1720/tcp  unknown h323q931

1723/tcp  unknown pptp

1755/tcp  unknown wms

1900/tcp  unknown upnp

2000/tcp  unknown cisco-sccp

2001/tcp  unknown dc

2049/tcp  unknown nfs

2121/tcp  unknown ccproxy-ftp

2717/tcp  unknown pn-requester

3000/tcp  unknown ppp

3128/tcp  unknown squid-http

3306/tcp  unknown mysql

3389/tcp  unknown ms-wbt-server

3986/tcp  unknown mapper-ws_ethd

4899/tcp  unknown radmin

5000/tcp  unknown upnp

5009/tcp  unknown airport-admin

5051/tcp  unknown ida-agent

5060/tcp  unknown sip

5101/tcp  unknown admdog

5190/tcp  unknown aol

5357/tcp  unknown wsdapi

5432/tcp  unknown postgresql

5631/tcp  unknown pcanywheredata

5666/tcp  unknown nrpe

5800/tcp  unknown vnc-http

5900/tcp  unknown vnc

6000/tcp  unknown X11

6001/tcp  unknown X11:1

6646/tcp  unknown unknown

7070/tcp  unknown realserver

8000/tcp  unknown http-alt

8008/tcp  unknown http

8009/tcp  unknown ajp13

8080/tcp  unknown http-proxy

8081/tcp  unknown blackice-icecap

8443/tcp  unknown https-alt

8888/tcp  unknown sun-answerbook

9100/tcp  unknown jetdirect

9999/tcp  unknown abyss

10000/tcp unknown snet-sensor-mgmt

32768/tcp unknown filenet-tms

49152/tcp unknown unknown

49153/tcp unknown unknown

49154/tcp unknown unknown

49155/tcp unknown unknown

49156/tcp unknown unknown

49157/tcp unknown unknown



Nmap done: 256 IP addresses (5 hosts up) scanned in 40.17 seconds
Android to android vpn
buy apps or software that verified like from google play.

north korea
indonesia
malaysia
japan
united states
Britney Spears
Barrack obama
Arab Emirates
Joko Widodo
Mochatir Mohammad
Whitney Houston
Israel
Anggara Susetyaningprang
Taufan Prakasa
Pizza Hut
Cambodia
Taiwan
Sleeping
Taking Bath
Finlandia
https://en.wikipedia.org/wiki/AFRINIC
 


African Network Information Center (AFRINIC)

AFRINIC has been allocated the IPv4 address blocks 41.0.0.0/8, 102.0.0.0/8, 105.0.0.0/8 and 197.0.0.0/8 and IPv6 blocks 2c00::/12 and 2001:4200::/23. AFRINIC also administers the address space for 196.0.0.0/8 and 154.0.0.0/8.[3]

 

Tuesday, 15 September 2015

$ who
pi@raspberrypi ~ $ who
pi       pts/0        2015-09-15 02:46 (192.168.1.13)

Information: List username(s) that logged into rpi.

$ date
 pi@raspberrypi ~ $ date
Tue Sep 15 04:59:33 UTC 2015

Information:

$ who am i
pi@raspberrypi ~ $ who am i
pi       pts/0        2015-09-15 02:46 (192.168.1.13)

Information:

$ date; who
pi@raspberrypi ~ $ date; who
Tue Sep 15 05:02:55 UTC 2015
pi       pts/0        2015-09-15 02:46 (192.168.1.13)

Information:
- date executed first; this is a compound (composed of two or more parts) command.
- dont forget the semi-colon to seperate commands

$ uptime
pi@raspberrypi ~ $ uptime
 05:32:33 up 13:49,  1 user,  load average: 0.00, 0.01, 0.05

Information:
- Show/tell how long the system has been up. In this example: 5 hours, 32 minutes, 33 seconds.

$ man

Information: command should you use to access the online help for a utility. Commands = utility.

$ ls

Example:
pi@raspberrypi ~ $ ls
add.sh     Desktop        helloworld    python_games    test.py
aloha.txt  Documents      helloworld.c  python.py.save  test.pyc
array.c    helloserver.c  learnc        Scratch         world.sh


$ ls -a

Information: list files and directories include hidden file.

Example:
pi@raspberrypi ~ $ ls -a
.              .bashrc          .gvfs          python_games    .vnc
..             .cache           helloserver.c  python.py.save  world.sh
add.sh         .config          helloworld     .scratch        .Xauthority
aloha.txt      .dbus            helloworld.c   Scratch         .xsession-errors
array.c        Desktop          .idlerc        test.py
.asoundrc      Documents        learnc         test.pyc
.bash_history  .fontconfig      .local         .themes
.bash_logout   .gstreamer-0.10  .profile       .thumbnails


$ ls -F
pi@raspberrypi ~ $ ls -F
add.sh*    Desktop/       helloworld*    python_games/   test.py*
aloha.txt  Documents/     helloworld.c*  python.py.save  test.pyc
array.c    helloserver.c  learnc/        Scratch/        world.sh*

$ ls -1

Information: 
Example:
pi@raspberrypi ~ $ ls -1
add.sh
aloha.txt
array.c
Desktop
Documents
helloserver.c
helloworld
helloworld.c
learnc
python_games
python.py.save
Scratch
test.py
test.pyc
world.sh

$ cat
To view the content of a file
Example:
pi@raspberrypi ~ $ cat helloworld.c
#include <stdio.h>

int main()
{
        printf("Hello, World!");
        return 0;
}

$ cat -n 
$ cat -n helloworld.c

To view the content of a file with numbers the output lines
Example:
pi@raspberrypi ~ $ cat -n helloworld.c
     1  #include <stdio.h>
     2
     3  int main()
     4  {
     5          printf("Hello, World!");
     6          return 0;
     7  }

$

Monday, 14 September 2015

execute
1.
2.

Creating a script:
1. Sha bang followed location of the shell interpreter location
2.
3. Name the script with like example.sh


Finding the location:
1. ps | grep $$
2. which bash 



Cisco logging

Fact:
0. Logging message are error messages of software or hardware.
1. Internal buffer logging mechanism enabled by default.
2. Syslog isn't enabled by default
3. Before configure logging, configure router is correct date, time and timezone.
4. To configure syslog, you must configure syslog-client within the router or built-in client.
5. Informational level displays reload request and low level stack process
6. Debug level displays
7. Notice level displays interface up or down transitions and system restart message


Facility = location

Recipes:
1. Enable syslog
Router#configure terminal
Router(config)#logging buffered informational

2. Set logging target remote log
Router#configure terminal
Router(config)# logging 172.25.1.1
Router(config)# end
Router#

3.  Changing the default log facility
Router#configure terminal
Router(config)# logging host 172.25.1.1
Router(config)# logging facility local6
Router(config)# end
Router#
By default, router will forward all syslog messages to the server's local7 log facility.

4. Restricting what log messages sent
Router# configure terminal
Router(config)# logging host 172.25.1.1
Router(config)# logging trap notifications
Router(config)# end

5. Rate limiting number of packets sent to syslog traffic
Router# configure terminal
Router(config)# logging host 172.25.1.1
Router(config)# logging rate-limit 30 except warning
Router(config)# end
Router#

http://www.wikihow.com/Find-The-Most-Searched-Keywords

Sunday, 13 September 2015

target:
1. Mark Things that discoverd this day
2. Thinkering yourself
3. Rich word to get rich life
4. When you questioning you get the answer
a > b + c
a = b + c + d
b ... d

Saturday, 12 September 2015

Router > nearest to the target
interface > interface tempat nyantolnya lan


Bisa semua kecuali 1
Tidak bisa semua kecuali 1
Tidak bisa semua --> biasanya host.

Thursday, 10 September 2015

  Routing Information Protocol Versions 1 and 2 (RIPv1 and RIPv2)
  Generic routing encapsulation (GRE) and multipoint GRE (MGRE)
  Cisco Express Forwarding
  Standard 802.1d Spanning Tree Protocol
  Layer 2 Tunneling Protocol (L2TP)
  Layer 2 Tunneling Protocol Version 3 (L2TPv3)
  Network Address Translation (NAT)
  Dynamic Host Configuration Protocol (DHCP) server, relay, and client
  Dynamic Domain Name System (DNS)
  DNS Proxy
  DNS Spoofing
  Access control lists (ACLs)
  IPv4 and IPv6 Multicast
  Open Shortest Path First (OSPF)
  Border Gateway Protocol (BGP)
  Performance Routing (PfR)
  Enhanced Interior Gateway Routing Protocol (EIGRP)
  Virtual Route Forwarding (VRF) Lite
  Next Hop Resolution Protocol (NHRP)
  Bidirectional Forwarding Detection (BFD)
  Web Cache Communication Protocol (WCCP)

Cisco Express Forwarding
What is CEF?
Enhances network performance. 
Where is CEF?
In large core network or in the internet router.

L2TP
What is L2TP?
Tunneling protocol used to support VPN.
Where is L2TP?

NAT
What is NAT?
Methodology to remapping 1 ip address space to another ip address.

Where is NAT?
In the router side.

How is NAT?
By modifying network address information in IP packet header.

DHCP

DNS
What is DNS?
DNS is distributed system

Where is DNS?

DNS proxy




 # modprobe ip_gre
 # ip tu ad gretun mode gre local 10.5.5.5 remote 10.6.6.6 ttl 64 dev eth0
 # ip ad ad dev gretun 10.0.0.3 peer 10.0.0.4/32
 # ip li se dev gretun up
 # ip ro ad 10.6.10.0/24 via 10.0.0.4
 # ip ro ad 10.6.20.0/24 via 10.0.0.4
 
Line nomor 2: local address interface fisik dan remote address interface fisik
Line nomor 3: interface tunnel address local dan interface tunnel address remote