Thursday, 13 March 2014

Hosting / serving web site buatan sendiri menggunakan googledrive

With Drive, you can make web resources — like HTML, CSS, and Javascript files — viewable as a website. Here's how:
  1. Create a new folder in Drive and share it as "Public on the web."
  2. Upload your HTML, Javascript, and CSS files to this folder.
  3. Open the HTML file and click Open in the bottom-right corner.
  4. Click the "Preview" button in the toolbar.
  5. Share the URL that looks like "www.googledrive.com/host/..." from the preview window and anyone can view your web page.

Google Drive does not support web resources that make use of server-side scripting languages like PHP.

Source: https://support.google.com/drive/answer/2881970?hl=en

Wednesday, 12 March 2014

Loopback address


On OSPF
Loopback interface have a specific uses

On other then OSPF routing protocol
-to simulate a network

Finite state machine

This is very helpful concept.

In general terms, a finite state machine (FSM) is a model of behavior composed of a finite number of states, transitions between those states, and events or actions that create the transitions or trigger the state transits.

For instance:

RIPv1 vs RIPv2 vs EIGRP vs OSPF

RIPv2
- support classful or classless routing behaviour
- send its updates periodically
- use bellman ford algorithm
- Automatically summarizes at major network boundaries



EIGRP
- support classful or classless routing behaviour
- send its updates only when the metric for a route changes
- use DUAL algorithm
- menggunakan metric bandwidth, delay, load,
- Automatically summarizes at major network boundaries
- process-id itu all significant; artinya semua ruter ospf yang ada di dalam ruting domain diharuskan mempunyai/menggunakan process-id yang sama.
- Di EIGRP wildcard mask itu optional, berbeda dengan OSPF. Note: Like EIGRP, some IOS versions allow you to simply enter the subnet mask instead of the wildcard mask. The IOS then converts the subnet mask to the wildcard mask format.


OSPF
- menggunakan metric bandwidth
- process-id itu local significant; artinya semua ruter ospf yang ada di dalam ruting domain tidak diharuskan mempunyai/menggunakan process-id yang sama. Berbeda dengan EIGRP.
- Di OSPF wildcard mask itu required. Beda dengan EIGRP, optional. Note: Like EIGRP, some IOS versions allow you to simply enter the subnet mask instead of the wildcard mask. The IOS then converts the subnet mask to the wildcard mask format.
- OSPF does not automatically summarize at major network boundaries.

EIGRP LAB

1. Configure and verify EIGRP routing
Task 1: Configure EIGRP routing
Step 1: Enter router configuration mode
Step 2: Configure network to advertise
Step 3: Save the configuration

Task 2: Examine EIGRP neighbor adjacencies
show ip eigrp neighbors

Task 3: Verify EIGRP Routing
show ip protocols
show ip route

2. Calculating the EIGRP Metric
Task 1: Verify EIGRP Configuration
Step 1: Examine the routing table of each router and verify that there is a path to every network in the topology.
Step 2: Document the default K values used by EIGRP
Step 3: Document the EIGRP metric for every network on each router

Task 2: Change the EIGRP Metric Formula
Step 1: By default, EIGRP uses the K1 and K3 metrics. Change the EIGRP metric formula to use K1, K2, and K3. These values should be set to one. Make sure the values for K4 and K5 are set to zero.

Note: When the EIGRP metrics are changed, the routers will loose their neighbor adjacency. Do not let this concern you. When each router is configured with the same formula for calculating best path, the routers will reform their adjacencies.

Step 2: Verify that the correct K values are configured for each router
Step 3: Document the EIGRP metric for every network on each router
Step 4: Change the EIGRP metric formula to use K1, K2, K3 and K4. Make sure the value for K5 is set to zero.
Step 5: Verify that the correct K values are configured for each router.
Step 6: Document the EIGRP metric for every network on each router


3. Investigating Successor and Feasible successor
Task 1: Verify EIGRP Configuration
Step 1:  Examine the routing table of each router and verify that there is a path to every network in the topology.
Step 2: Verify that each router has two neighbors in its table
Step 3: Document which path in the Topology table that is the successor and feasible successor for each network.


Task 2: Observe the EIGRP finite state machine
Step 1: Turn on debugging feature that will display DUAL FSM notifications on each router
Step 2: Change the EIGRP metric formula on R1 to use only the K1 value.
Step 3: Based on the output from R2 and R3, the neighbor was down due to a k value mismatch
Step 4: document any change in the topology table
Step 5: Determine the difference in the routing table
Step 6: Document changes in each router's neighbor table.

Task 3: Observe Topology Notification Messages
Step 1: Turn off all debugging feature for R1 only
Step 2: Change the EIGRP metric formula on R1 back to the default values
Step 3: Observing the DUAL notification message on R1
Step 4: How did the DUAL FSM handle the change in topology when the route to R1 came back up?





EIGRP

Jika kamu mengubah bobot metric EIGRP, kamu mengubah nilai metric suatu rute didalam routing table. Artinya kamu mengubah penilain EIGRP suatu ruter terhadap suatu link.


R1
Network Metric
192.168.1.0 29090
192.168.1.0 2020202

Sunday, 9 March 2014

Jenis-jenis address IP

Host address

Subnets 
Subnets adalah hasil sumerisasi alamat-alamat host

Contoh-contoh subnet address:
192.168.1.128 /25
192.168.1.0 /25
192.168.1.0 /26
192.168.1.64/26

Major net
Majornet adalah hasil sumerisasi alamat-alamat subnets
Contoh-contoh major address:
192.168.1.0/24
192.168.2.0/24

172.16.0.0 /16
172.17.0.0 /16
172.18.0.0 /16
172.19.0.0 /16


10.0.0.0 /8

Supernet
Aggregasi beberapa major network.