17 June 2010

Configure Simple OSPF on Cisco Router (Broadcast Multi Access)


Router 1
R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 192.168.1.1, 00:00:28, Ethernet1/0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/11] via 192.168.1.2, 00:00:28, Ethernet1/0
C 192.168.1.0/24 is directly connected, Ethernet1/0
R1#
R1#ping 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/12 ms
R1#ping 192.168.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/12 ms
R1#sh ip ospf int e1/0
Ethernet1/0 is up, line protocol is up
Internet Address 192.168.1.3/24, Area 0
Process ID 10, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State DROTHER, Priority 1
Designated Router (ID) 3.3.3.3, Interface address 192.168.1.2
Backup Designated router (ID) 2.2.2.2, Interface address 192.168.1.1
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:09
Index 1/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 3.3.3.3 (Designated Router)
Adjacent with neighbor 2.2.2.2 (Backup Designated Router)
Suppress hello for 0 neighbor(s)
R1#sh
R1#show ip osp
R1#show ip ospf ne
R1#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 1 FULL/DR 00:00:32 192.168.1.2 Ethernet1/0
2.2.2.2 1 FULL/BDR 00:00:30 192.168.1.1 Ethernet1/0

-----------------------------------------------------------------------------------------

Router2
Router2R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/11] via 192.168.1.3, 00:08:18, Ethernet1/0
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/11] via 192.168.1.2, 00:08:18, Ethernet1/0
C 192.168.1.0/24 is directly connected, Ethernet1/0
R2#
R2#sh
R2#show ip ospf
R2#show ip ospf ne
R2#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 1 FULL/DR 00:00:38 192.168.1.2 Ethernet1/0
1.1.1.1 1 FULL/DROTHER 00:00:39 192.168.1.3 Ethernet1/0

R2#sh
R2#sh ip ospf int e1/0
Ethernet1/0 is up, line protocol is up
Internet Address 192.168.1.1/24, Area 0
Process ID 20, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router (ID) 3.3.3.3, Interface address 192.168.1.2
Backup Designated router (ID) 2.2.2.2, Interface address 192.168.1.1
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:00
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 3.3.3.3 (Designated Router)
Adjacent with neighbor 1.1.1.1
Suppress hello for 0 neighbor(s)
R2#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/12 ms
R2#ping 3.3.3.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/8 ms

-----------------------------------------------------------------------------------

Router3R3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/11] via 192.168.1.3, 00:12:47, Ethernet1/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 192.168.1.1, 00:12:47, Ethernet1/0
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, Ethernet1/0

R3#sh
R3#show ip os
R3#show ip ospf nei
R3#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 1 FULL/BDR 00:00:38 192.168.1.1 Ethernet1/0
1.1.1.1 1 FULL/DROTHER 00:00:30 192.168.1.3 Ethernet1/0

R3#sh ip ospf int e1/0
Ethernet1/0 is up, line protocol is up
Internet Address 192.168.1.2/24, Area 0
Process ID 30, Router ID 3.3.3.3, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 3.3.3.3, Interface address 192.168.1.2
Backup Designated router (ID) 2.2.2.2, Interface address 192.168.1.1
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:03
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 3
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 2.2.2.2 (Backup Designated Router)
Adjacent with neighbor 1.1.1.1
Suppress hello for 0 neighbor(s)
R3#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/8 ms
R3#ping 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/12 ms

10 November 2009

Router Simple NAT gateway



And Here’s the Running Config for the configuration :

R0#show run
!
hostname R-Gateway
!
!
interface FastEthernet0/0
description *** Remote Connection ***
ip address 10.8.8.211 255.255.255.0
ip nat outside
duplex auto
speed auto
!
ip name-server 202.47.78.8
ip name-server 202.47.78.9
!
interface Ethernet1/0
description *** LAN Connection ***
ip address 192.168.10.1 255.255.255.0
ip nat inside
half-duplex
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.8.8.1
ip http server
!
!
R0#
R0y#ping www.google.com

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 216.239.61.104, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 84/110/144 ms

28 August 2009

restart services debian

amal:/etc/tinydns/env# svc -d /service/*
amal:/etc/tinydns/env# svc -u /service/*
amal:/etc/tinydns/env# svstat /service/
/service/: unable to open supervise/ok: file does not exist
amal:/etc/tinydns/env# svstat /service/*

15 February 2009

Instaling Virtual Box and Seting more Tap interface in Ubuntu

Installing VirtualBox OSE on Ubuntu 7.10

#sudo apt-get update
#sudo apt-get install virtualbox-ose virtualbox-ose-source

Install VirtualBox OSE kernel module:

sudo apt-get install module-assistant
sudo m-a prepare
sudo m-a a-i virtualbox-ose
sudo modprobe vboxdrv

Automatically load the kernel module:

sudo gedit /etc/modules

Then add:

vboxdrv

taro nama User “vboxusers” group:

sudo adduser [your username] vboxusers

To run VirtualBox OSE, you can click Applications → System Tools → InnoTek VirtualBox menu item.

if u get error message ufter load iso Operation System like :

VBox status code: -1909 VERR_VM_DRIVER_NOT_ACCESSIBLE

fix with this command

sudo chmod 666 /dev/vboxdrv


Configuration Sub interface ini Ubuntu

At first let’s install the needed software:

$ sudo apt-get install bridge-utils uml-utilities

The virtual network interface is configured with the package uml-utilities. uml stands for User Mode Linux, so understandably the package is preconfigured for use with User Mode Linux. In order to work correctly with VirtualBox, in /etc/network/if-pre-up.d/uml-utilities replace

chown root:uml-net /dev/net/tun

with

chown root:vboxusers /dev/net/tun

auto lo
iface lo inet loopback

auto tap0
iface tap0 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap1
iface tap1 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap2
iface tap2 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap3
iface tap3 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap4
iface tap4 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap5
iface tap5 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap6
iface tap6 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap7
iface tap7 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap8
iface tap8 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap9
iface tap9 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap10
iface tap10 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto eth0
iface eth0 inet static
address 10.8.8.237
netmask 255.255.255.0
gateway 10.8.8.1

###########pakai yang ini untuk bridge 1 interface ##########
#auto br0
#iface br0 inet static
#address 10.8.8.234
#netmask 255.255.255.0
#bridge_ports eth0 tap0

#####pakai configuration yang ini untuk bridge banyak interface
auto br0
iface br0 inet dhcp
bridge_ports eth0 tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7 tap8 tap9 tap10
bridge_maxwait 0


Sumber Cerita : http://feryjunaedi.wordpress.com/

08 January 2009

VIm Edit comman

Vim A Editing command text A quick recap of the commands you learned here:

1. Save file - “:w”
2. Quit file without saving - “:q”
3. Save and quit file - “:wq”
4. Go into insert mode - “i”
5. Go into command mode - ESC
6. Delete word - “dw”
7. Delete line - “dd”
8. Undo change - “u”

06 January 2009

Seuntai Kata Buat PALESTINA Kota Q

Kota Jihad

Di kala waktu terus menghilang
merampas semua yang di indah
kota yang dulu penuh bunga
brubah menjadi neraka dunia ladang surga

kota yang dulu hijau pekat
membuat mu kehilangan rupa
yang biasa datang membangunkan pagi
sekarang sudah terbiasa membangunkan malam

kota kebangkitan penuh darah
menyemangatkan darah - darah islam
kota yang penuh ledakan
tidak menghentikan darah untuk berjuang

misil misil yang seakan mengamuk
menjadikan luka tiket untuk ke surga
peluru peluru yang berterbangan seakan setan
membuat darah - darah islam menemui kebangkitan

Karya: Amal Hamzah

12 October 2008

Vlan Configuration



Untuk Swtch Lt 1 Paling pojok kanan Ata

Switch_Lt1# vlan database
Switch_Lt1(vlan)# vlan 10 name keuangan ==> create vlan 10 dengan nama keuangan
Switch_Lt1(vlan)# vlan 20 name produksi
Switch_Lt1(vlan)# exit
Switch_Lt1# config terminal
Switch_Lt1(config)# interface fastethernet 0/10
Switch_Lt1(config-if)# switchport mode trunk
Switch_Lt1(config-if)# switchport trunk encapsulation dot1q
Switch_Lt1(config-if)# exit
Switch_Lt1(config)# interface fastethernet 0/1
Switch_Lt1(config-if)# switchport mode access
Switch_Lt1(config-if)# switchport access vlan 10 ==> 10 = VLAN yang kita assignkan di port fastethernet 0/1
Switch_Lt1(config)# interface fastethernet 0/2
Switch_Lt1(config-if)# switchport mode access
Switch_Lt1(config-if)# switchport access vlan 10
Switch_Lt1(config)# interface fastethernet 0/3
Switch_Lt1(config-if)# switchport mode access
Switch_Lt1(config-if)# switchport access vlan 20
Switch_Lt1(config)# interface fastethernet 0/4
Switch_Lt1(config-if)# switchport mode access
Switch_Lt1(config-if)# switchport access vlan 20
Switch_Lt1# copy running-config startup-config

===================================
Untuk Switch Lantai 2 yang terhubung dengan Router

Switch_Lt2# vlan database
Switch_Lt2(vlan)# vlan 10 name keuangan
Switch_Lt2(vlan)# vlan 20 name produksi
Switch_Lt2(vlan)# vlan 30 name penjualan
Switch_Lt2(vlan)# vlan 40 name HRD
Switch_Lt2# config terminal
Switch_Lt2(config)# interface fastethernet 0/10
Switch_Lt2(config-if)# switchport mode trunk
Switch_Lt2(config-if)# switchport trunk encapsulation dot1q
Switch_Lt2(config)# interface fastethernet 0/9
Switch_Lt2(config-if)# switchport mode trunk
Switch_Lt2(config-if)# switchport trunk encapsulation dot1q
Switch_Lt2(config)# interface fastethernet 0/8
Switch_Lt2(config-if)# switchport mode trunk
Switch_Lt2(config-if)# switchport trunk encapsulation dot1q
Switch_Lt2(config)# interface fastethernet 0/1
Switch_Lt2(config-if)# switchport mode access
Switch_Lt2(config-if)# switchport access vlan 10
Switch_Lt2(config)# interface fastethernet 0/2
Switch_Lt2(config-if)# switchport mode access
Switch_Lt2(config-if)# switchport access vlan 20
Switch_Lt2(config)# interface fastethernet 0/3
Switch_Lt2(config-if)# switchport mode access
Switch_Lt2(config-if)# switchport access vlan 30
Switch_Lt2(config)# interface fastethernet 0/4
Switch_Lt2(config-if)# switchport mode access
Switch_Lt2(config-if)# switchport access vlan 40
Switch_Lt1# copy running-config startup-config

============================================
Untuk Switch Lantai 3 yang paling kiri bawah

Switch_Lt3# vlan database
Switch_Lt3(vlan)# vlan 30 name penjualan
Switch_Lt3(vlan)# vlan 50 name IT
Switch_Lt3(vlan)# exit
Switch_Lt3# configure terminal
Switch_Lt3(config)# interface fastethernet 0/10
Switch_Lt3(config-if)# switchport mode trunk
Switch_Lt3(config-if)# switchport trunk encapsulation dot1q
Switch_Lt3(config)# interface fastethernet 0/1
Switch_Lt3(config-if)# switchport mode access
Switch_Lt3(config-if)# switchport access vlan 30
Switch_Lt3(config)# interface fastethernet 0/2
Switch_Lt3(config-if )# switchport mode access
Switch_Lt3(config-if)# switchport access vlan 30
Switch_Lt3(config)# interface fastethernet 0/3
Switch_Lt3(config-if)# switchport mode access
Switch_Lt3(config-if)# switchport access vlan 50
Switch_Lt3(config)# interface fastethernet 0/4
Switch_Lt3(config-if)# switchport mode access
Switch_Lt3(config-if)# switchport access vlan 50
Switch_Lt3# copy running-config startup-config

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

Untuk Setingan Router yang thub k Vlan

Rtr_VLAN# configure terminal
Rtr_VLAN(config)# interface fastethernet 0/0
Rtr_VLAN(config-if)# no shutdown ==> Menghidupkan interface fa0/0
Rtr_VLAN(config)# interface fastethernet 0/0.10
Rtr_VLAN(config-subif)# encapsulation dot1q 10
Rtr_VLAN(config-subif)# ip address 192.168.1.1 255.255.255.0
Rtr_VLAN(config)# interface fastethernet 0/0.20
Rtr_VLAN(config-subif)# encapsulation dot1q 20
Rtr_VLAN(config-subif)# ip address 192.168.2.1 255.255.255.0
Rtr_VLAN(config)# interface fastethernet 0/0.30
Rtr_VLAN(config-subif)# encapsulation dot1q 30
Rtr_VLAN(config-subif)# ip address 192.168.3.1 255.255.255.0
Rtr_VLAN(config)# interface fastethernet 0/0.40
Rtr_VLAN(config-subif)# encapsulation dot1q 40
Rtr_VLAN(config)# ip address 192.168.4.1 255.255.255.0
Rtr_VLAN(config)# interface fastethernet 0/0.50
Rtr_VLAN(config-subif)# encapsulation dot1q 50
Rtr_VLAN(config-subif)# ip address 192.168.5.1 255.255.255.0
Rtr_VLAN# copy running-config startup-config

Router>ena
Router#
Router#sh
Router#show run
Router#show running-config

Building configuration...

Current configuration : 874 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
!
no aaa new-model
!
!
ip cef
!
!
!
!
!
ip subnet-zero
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
no ip directed-broadcast
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.1.1 255.255.255.0
!
interface FastEthernet0/0.20
ip address 192.168.2.1 255.255.255.0
!
interface FastEthernet0/0.30
ip address 192.168.3.1 255.255.255.0
!
interface FastEthernet0/0.40
ip address 192.168.4.1 255.255.255.0
!
interface FastEthernet0/0.50
ip address 192.168.5.1 255.255.255.0
!
interface FastEthernet0/1
no ip address
no ip directed-broadcast
shutdown
!
interface Serial0/0/0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial0/0/1
no ip address
no ip directed-broadcast
shutdown
!
interface Serial0/1/0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial0/1/1
no ip address
no ip directed-broadcast
shutdown
!
!
ip classless
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
line vty 5 1180
login
!
scheduler allocate 20000 1000
!
end

Router#

07 October 2008

Routing Cisco




















Basic Routing Protocol With a 3 Router n 3 Switch n than 6 host, 2 host include 1 switc
router1#show run (router1)
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname router1
!
!
!
ip subnet-zero
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
no ip directed-broadcast
!
interface Serial0
ip address 202.47.1.1 255.255.255.252
no ip directed-broadcast
clock rate 56000
no ip mroute-cache
!
interface Serial1
no ip address
no ip directed-broadcast
shutdown
!
!
no ip classless
ip route 192.168.3.0 255.255.255.0 202.47.2.2
ip route 192.168.2.0 255.255.255.0 202.47.1.2
!
!
!
line con 0
password amal
login
line aux 0
line vty 0 4
password amal
login
!
end
=======================
router3#show running-config
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname router3
!
!
!
ip subnet-zero
!
interface Ethernet0
ip address 192.168.2.1 255.255.255.0
no ip directed-broadcast
!
interface Serial0
ip address 202.47.2.1 255.255.255.252
no ip directed-broadcast
shutdown
clock rate 56000
!
interface Serial1
ip address 202.47.1.2 255.255.255.252
no ip directed-broadcast
no ip mroute-cache
!
!
no ip classless
ip route 192.168.3.0 255.255.255.0 202.47.2.2
ip route 192.168.1.0 255.255.255.0 202.47.1.1
!
!
!
line con 0
password amal
login
line aux 0
line vty 0 4
password amal
login
!
end
=========================
router4#show running-config
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname router4
!
!
!
ip subnet-zero
!
interface Ethernet0
ip address 192.168.3.0 255.255.255.0
no ip directed-broadcast
!
interface Serial0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1
ip address 202.47.2.2 255.255.255.252
no ip directed-broadcast
no ip mroute-cache
!
!
no ip classless
ip route 192.168.2.0 255.255.255.0 202.47.2.1
ip route 192.168.1.0 255.255.255.0 202.47.1.1
!
!
!
line con 0
password amal
login
line aux 0
line vty 0 4
password amal
login
!
end

17 September 2008

how to instal in Ubuntu or debian

Sourclist baru

# Mirror.cbn.net.id
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-updates main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-security main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-backports main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-proposed main restricted universe multiverse

# Mirror.kambing.ui.edu
#deb http://kambing.ui.edu/Ubuntu intrepid main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-updates main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-security main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-backports main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-proposed main restricted universe multiverse

#deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://id.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse

===root@Jetcoms:/# vim /etc/apt/sources.list====

### Repository dengan menggunakan server mirror kambing.vlsm.org
deb http://kambing.vlsm.org/debian/ stable main contrib non-free
deb http://kambing.vlsm.org/debian-security/ stable/updates main contrib
deb http://kambing.vlsm.org/debian-security/ stable/updates non-free
deb-src http://kambing.vlsm.org/debian/ stable main contrib non-free
deb-src http://kambing.vlsm.org/debian-security/ stable/updates main contrib
deb-src http://kambing.vlsm.org/debian-security/ stable/updates non-free

Informasi situs: http://kambing.ui.edu

root@Jetcoms:/#apt-get update (enter)
root@Jetcoms:/#apt-get upgrade (enter)
root@Jetcoms:/#apt-get install (aplikasinya)
root@Jetcoms:/# apt-get install apache2
root@Jetcoms:/# apt-get install mysql-admin
root@Jetcoms:/#apt-get install libapache2-mod-php5
========================================================
how to change password Mysql-Admin

# /etc/init.d/mysql stop
# mysqld --skip-grant-tables
# mysqladmin -u root password 'newpasswd'
# /etc/init.d/mysql start

http://wiki.ubuntu-id.org/PanduanUbuntuDapper

12 September 2008

memisahkan routing lokal dan international

Teknik lainnya utk memisahkan traffic data local/IIX dan International adalah dengan menggunakan mark-routingMisal untuk traffic International dilewatkan melalui gateway 203.89.24.65 sedangkan traffic local Indonesia di lewatkan melalui gateway 203.89.24.177.

Image

contoh konfigurasi IP address router user pada interface yang terhubung ke router Datautama

[admin@jetcom-test] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 202.47.77.247/28 202.47.77.240 202.47.77.255 ether1
1 192.168.0.1/24 192.168.0.0 192.168.0.255 ether2
2 10.8.8.185/24 10.8.8.0 10.8.8.255 ether3

Pertama masukkan daftar ip blok dari router NICE ke /ip firewall address-list seperti berikut:

/ ip firewall address-list
add list=nice address=58.65.240.0/23 comment=”" disabled=no
add list=nice address=58.65.242.0/23 comment=”" disabled=no
add list=nice address=58.65.244.0/23 comment=”" disabled=no
add list=nice address=58.65.246.0/23 comment=”" disabled=no
add list=nice address=58.145.174.0/24 comment=”" disabled=no
add list=nice address=58.147.184.0/24 comment=”" disabled=no
add list=nice address=58.147.185.0/24 comment=”" disabled=no
dst…

untuk mendapatkan script diatas dapat melalui URL berikut:

http://www.datautama.net.id/harijanto/mikrotik/ip_firewall_address_list_nice.php

Kemudian tandai packet data yang menuju local Indonesia

/ ip firewall mangle
add chain=postrouting dst-address-list=nice action=mark-routing \
new-routing-mark=nice passthrough=yes comment=”" disabled=no

Selanjutnya buat ip route berikut

/ ip route
add dst-address=0.0.0.0/0 gateway=
202.47.77.241 scope=255 target-scope=10 \
comment=”traffic selain local Indonesia” disabled=no
add dst-address=0.0.0.0/0 gateway=10.8.8.1 scope=255 target-scope=10 \
routing-mark=nice comment=”traffic local Indonesia” disabled=no

Dengan demikian maka jika ke jaringan local Indonesia akan melalui 203.89.24.177 sedangkan untuk ke International melalui 203.89.24.65, sehingga jika interfacenya dipisah diantara router user dengan router datautama dapat diberi dua mikrotik sebagai bridge utk melimit traffic International maupun local secara terpisah.


"tapi masalahnya kok pas di traceroute larinya ke IP 202.47.77.241 terus yach"
apa ip nya 22 nya harus Ip public yach baru bisa di pisah???

proyek blom clear===eh atpi management bandwith simple queee udah berhasil

08 September 2008

konfigurasi Mikrotik sebagai internet gateway

pertama instal dulu mikrotik Router OSnya

[admin@jetcom-test] > ip address add address=202.47.77.247 netmask=255.255.255.240 interface=ether1
[admin@jetcom-test] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 202.47.77.247/28 202.47.77.240 202.47.77.255 ether1
1 192.168.0.1/24 192.168.0.0 192.168.0.255 ether2

untuk IP public "202.47.77.247" di tempatkan di ethernet 1
untuk Ip Private "192.168.0.1" di tempatkan di ethernet 2
__________________________________________
[admin@jetcom-test] > ip dns set primary-dns=202.47.78.8/9
[admin@jetcom-test] > ip dns print
primary-dns: 202.47.78.8
secondary-dns: 202.47.78.9
allow-remote-requests: no
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 86KiB

untuk DNS prymary dan secondarynya sesuai dengan koneksi
internetnya
============================================================
[admin@jetcom-test] > ip firewall nat add action=masquerade out-interface=ether1
[admin@jetcom-test] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat out-interface=ether1 action=masquerade

untuk NAT nya outputnya di larikan ke interface ether1/ip
public yang kita punya
=============================================================
[admin@jetcom-test] > ip route add gateway=202.47.77.246
[admin@jetcom-test] > ip route print Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 ADC 192.168.0.0/24 192.168.0.1 ether2
1 ADC 202.47.77.240/28 202.47.77.247 ether1
2 A S 0.0.0.0/0 r 202.47.77.241 ether1

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

untuk DHCP nya menggunakan Ethernet2 yaitu IP Privatenya
192.168.0.2-192.168.0.254
/ip pool add name=dhcp-pool ranges=192.168.0.2-192.168.0.100
/ip dhcp-server network add address=192.168.0.0/24 gateway=192.168.0.1


menentukan Interface output DHCP
/ip dhcp-server add interface=ether2 address-pool=dhcp-pool enable 0


user manager menyusul.....
"http://opiq.jardiknas.net/blog/wp-content/plugins/downloads-manager/
upload/Hotspot%20dengan%20Mikrotik.pdf"

10 June 2008

Hari terakhir di PT PSN (Pasifik Satelite Nusantara) Jakarta

Ga terasa udah Genap 1 Thn di PSN dengan pekerjaan sebagai NOC (Network Operation Center) Satelite yang tugasnya memonitoring berlangsungnnya hidup suatu link IDR yang di sewa oleh Telkomsel. dengan gaji 400K sebula (gaji anak magang), hahahahahaha tadinya dengan gaji segini cukup, tapi bner kata kaka2 kelas semuanya gaji kecil bosen man.... ah pokoknya hari2 terakhir mulai deh malesnya, padahal ga kebiasa males lho. hari terakir juga membingungkan katanya pengen di Outsource, tadi pagi tepatnya Manager NOC SAT pen ngmongin tentang ini.. eh ada tamu pula, beliau makin sibuklah pula.. tapi ywdahlah mungkin belum saatnya di PSN, tapi kemaren sempat ada panggilan lho, tapi kemaren w lagi di jalan ngangkatnya argghghghg, tapi katanya c dia pen di tlp lagi jam 6 tapi sampe sekarang dia ga hub2ungi sampe sekarang, lah gw telp tuh, ktanya yang tlp gwlagi ke costumer, tw lah yach, mana pacar w minta gw kesana pas 2 thn setelah w lulus S1 n udah siap nikah.. trus dia ga suka gndut, makin takut lah w gndut, trus ini itu ini itu... kenapa yach TIA ga ngertiin amal sekali kali... amal ga bisa nolak kadang2 coz amal sayang sama dia, sudah jatuh tertimpa lah tangga pula :((

05 June 2008

Ada yang MW belajar???

Agrghhh Laptop W crash Abis W partisi, crasnya gara2nya pasrtisi pake partition magic lom kelar eh kerestart sama tangan W. hahahahaha, pas booting dia malah muncul pesan error gtu. ah dila malah di situ banyak data penting kk n kk ipar w, w sempet berpikir bisa mati di cincang w sama kk w kalo data dia ilang... otak terus berpacu dalam ketakutan.... laptop terus di akalin pake CD XP ntah di Instal ulang lah atw di apalah, yang jelas kalo di instal ulang otomatis semua data akan hilang soalnya..... masih ada 1 partisi di laptop W, cuma Drice Cnya aja. ywdah tuh gw makin bingung... setelah istirahat n berfikir sejenak w menemukan Ide yang brilian... horeeeee.... knapa ga di coba pake linux live CD aja yach bwt di Chekdis.. stw W kan itu bwt bnerin partisi atw sistem di sector hardisk yang ngaco, setelah gw jalanin linux live CDnya... hmmmm gw ga tw di situ ada sistem chekdisknya atw ga,, eh ternyata ga ada, heheheheheh ga ada atw gwnya ga tw. pokoknya intinya ga bisa lah, terus ada cara k 2. hehehehehe CD NU2nya Pak vidi BOKEP masih ada di gw, itu merupakan SIMULASI WIn XP tapi dy bisa ngedetech data hardisk, walaupun badsectornya hancur cur cur... eh tnyata ga bisa juga, tapi sistem bwt chedisknya bisa... ywdah tuh gw chedisk aja, ternyata abis di restart bisa kembali normal.... hahahahaha ternyata semua OS ada kekurangan n ada kelebhannya yach.. jd anda ga boleh menghina windows yach.. thx

Photo Suasana Hati Gak Enak

foto lesu bgt neh... waduhh, gw juga lagi ga niat di foto neh.. tolong jangan di foto, eh di foto juga

04 June 2008

Tips Menghilangkan Stress

Agrhhh edan neh, gw streees bgt, ntah mengapa alesan bw stressss, akhirnya gw taro aja dah

kiat menghilangkan stress cara jitu, akhirnya dapet ini walaupun jwabannya kurang memuaskan tapi di taro aja lah buat motivasi take car hehehehehe


KEMBANGKAN KETERATURAN.

Bebenahlah. Singkirkanlah barang-barang yang tidak dipakai. Anda bisa memulihkan rasa tenang kepada sebuah ruangan dengan “pilih dan singkirkan” selama tiga puluh menit.
ALIHKANLAH FOKUS ANDA.
Mengalihkan perhatian bisa memberikan istirahat terhadap otak Anda dari pemecahan masalah serta beban. Tidak mungkin dikuasai rasa kuatir kalau ada sesuatu hal lain yang rnenarik minat Anda.
LUANGKANLAH WAKTU UNTUK BEROLAHRAGA.
Hilangkanlah tekanan dari tubuh Anda lewat dua puluh menit aerobik.
TERBUKALAH KEPADA ORANG LAIN.
Utarakanlah ketegangan Anda kepada teman yang bisa dipercaya.
KEMBANGKAN PILIHAN LAIN
Gantilah saluran di otak Anda. Pemecahan masalah lebih efektif kalau pikiran kita sering beristirahat dari suatu masalah ketimbang terus terobsesi dengannya.
AMBILLAH WAKTU UNTUK BERSAAT TEDUH
Jadwalkanlah beberapa waktu istirahat singkat sepanjang hari untuk memperlambat kerja otak dan tubuh. Dengarkanlah musik yang membuat rileks. Berdoalah dan renungkanlah Kitab Suci untuk menyejukkan jiwa.
TUNTASKANLAH URUSAN YANG BELUM TUNTAS.
Perbaikilah apabila mungkin. Berikanlah ampun ketimbang memendam gerutu.
PUTUSKANLAH UNTUK PERCAYA.
Salah satu resep terbaik untuk rasa takut adalah mengatakan, “Ya Allah, aku memilih percaya kepada-Mu”.
DEDIKASIKANLAH DIRI KEPADA HAL-HAL YANG DASAR.
Untuk melihat dengan jelas di tengah-tengah stress yang membutakan : Tidurlah delapan hingga sembilan jam setiap malamnya; makanlah makanan yang seimbang gizinya; olahragalah dua hingga tiga puluh menit tiga kali setiap minggunya.
LEPASKANLAH
Kalau kewalahan, mundurlah, berilah waktu kepada diri sendiri, dan berhentilah berusaha terlalu keras. Segalanya tidaklah harus “dituntaskan” hari ini juga.
BERTEKUNLAH.
Menghindar hanya akan menambah kecemasan. Evaluasilah apa yang dapat dilakukan, dan kerjakanlah itu. Janganlah terperangkap dalam pendekatan “segalanya atau tidak sama sekali”.
JANGANLAH MENJADI ORANG “TIPE SERBA BISA”.
Tak ada yang dirancang untuk menjadi Segalanya bagi Semua Orang. Hanya Allah seoranglah yang dapat memenuhi uraian tugas itu.

Sumber : Internet.

Knapa Akhir2 PSG jadi males yach!!!

Waduhwhgrghhgg.... knapa akhir bulan ini gw males beud kerja yach. mungkin karena gajinya kcl kali yach yang ga sebanding sama tanggung jawab n kerjaan kita, atau mungkin pengaruh dari efek Ijazah pendidikan atau status PKL.. agrhhhh yang jelas gw males bgt, butuh hiburan tapi ga ada yang enak di buat main, plingan game2 di kompi, n mencoba mencoba apa aja yang bisa bwt gw penasaran, tapi sayangnnya gw orangnnya bosenan mencoba hal yang lebih mendetail lagi, coba yach gw tipe orang yang selallu ingin tahu, uh payah, tapi gw ga bisa, gw pengennya cukup mendalami sedikit2 aja supaya ga buta2 amat, tapi sebenernya amal pengen banget nekunin Network Engginrer, ya mudah2han aja ntar amal kuliah sambil ngambil CCNA juga... mamah amal juga lebih setuju amal kuliah dulu di bandingkan kerja, tapi knapa amal milih kerja dulu?? gni lho, amal berfikir kerja n kuliah karena ntar pas selesai kuliah udah bnyak pengalaman gtu..... jadi tinggal penyesuaian pendidikan aja ... gtu!!! ngerti kan? huh masa curhat lewat blog c?? tanya knapa???? aha bntar lagi yayang w pen dateng, mudah2an ga ada halangan yach..

Ternyata jadi Imam itu gak gampang yach??

waduh knapa yach kok saya jadi gemetaran yach liat harga rumah, liat harga emas, semua bahan2 pokok naik tanpa ada kompromi sama rakyat kcl. semua menjadi aneh... ragu... gelisah... murung menanti harga2 melambung semakin tinggi, lhooo apa hubungannya sama imam??? ini hubungannya, pasti Ibu2 stresss bgt menghadapi situasi ini tapi!!!!! ada tapinya neh, di lain sisi bapak2 lebih stresss dari ibunya gmana cara dapet duit untuk memenuhi kebutuhan keluarga trus di lain sisi desakan sang istri u "harus mendapatkan uang belanja lebih di tengan kesusahan ini" saya jadi takut yach... ntar anak istri saya susah ga yach hidup sama saya??? ntah knapa timbul di pikiran saya.. wah saya harus ambil ini lah itulah untuk masa depan keluarga saya ... initinya gw jadi makin smangat belajar n beerja untuk masa depan keluarga gw nantinya, supaya anak istri w, bahagia kedepannya... wah gw orangnnya terlalu mw sempurna semua pekerjaannnya tanpa hambatan... hahahahaha tapi begitulah hidup, di jalani saja sperti air, apabila ada 1000 batu yang menghalang di tetap lewat aja seperti ga ada halangan yang berarti

Kesan2 di PSN

Wuihhh!!! dah setahun kurang 6 hari gw di PT Pasifik Satelit Nusantara, di sini w mengalami beberapa perubahan yang pertama berat badan nambah...wah sangat banyak ilmu di sini, tapi yang w terima ke otak kok dikit yach.. apa ini pengaruh karena w banyak main di pembangunan? tapi lumayan denks... pengetahuan tentang komunikasi jadi terbuka n pengalaman kerja 1 thn sudah di raih di kehidupan w. hahahahahah, tapi tetep aja sekarnag bingung!!!!
oh iyach, yang gw aharapkan c kerja di PSN dengan gaji di atas 1jt lah gpp, yang pnting bisa mengisi kegiatan gw du luar kuliah w yang gw ambil nantinya sabtu dan minggu... tapi kenyatan yang berlawanan... gw ga di PSN.. tapi ga tw juga dinks tgantung Bos N HRDNya w jadi di OUT Source atw ga?? jangan kasih kebimbangan dunk. hahahahahaha

Design Baju NOC-SAT tapi kok ga jd2 yach!!!























ini design baju A, ada yang mw berkomentar? hahahaha. udah sebulan Gw design kok g jd2 yach, mungkin bsok kali yach



17 June 2010

Configure Simple OSPF on Cisco Router (Broadcast Multi Access)


Router 1
R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 192.168.1.1, 00:00:28, Ethernet1/0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/11] via 192.168.1.2, 00:00:28, Ethernet1/0
C 192.168.1.0/24 is directly connected, Ethernet1/0
R1#
R1#ping 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/12 ms
R1#ping 192.168.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/12 ms
R1#sh ip ospf int e1/0
Ethernet1/0 is up, line protocol is up
Internet Address 192.168.1.3/24, Area 0
Process ID 10, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State DROTHER, Priority 1
Designated Router (ID) 3.3.3.3, Interface address 192.168.1.2
Backup Designated router (ID) 2.2.2.2, Interface address 192.168.1.1
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:09
Index 1/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 3.3.3.3 (Designated Router)
Adjacent with neighbor 2.2.2.2 (Backup Designated Router)
Suppress hello for 0 neighbor(s)
R1#sh
R1#show ip osp
R1#show ip ospf ne
R1#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 1 FULL/DR 00:00:32 192.168.1.2 Ethernet1/0
2.2.2.2 1 FULL/BDR 00:00:30 192.168.1.1 Ethernet1/0

-----------------------------------------------------------------------------------------

Router2
Router2R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/11] via 192.168.1.3, 00:08:18, Ethernet1/0
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/11] via 192.168.1.2, 00:08:18, Ethernet1/0
C 192.168.1.0/24 is directly connected, Ethernet1/0
R2#
R2#sh
R2#show ip ospf
R2#show ip ospf ne
R2#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 1 FULL/DR 00:00:38 192.168.1.2 Ethernet1/0
1.1.1.1 1 FULL/DROTHER 00:00:39 192.168.1.3 Ethernet1/0

R2#sh
R2#sh ip ospf int e1/0
Ethernet1/0 is up, line protocol is up
Internet Address 192.168.1.1/24, Area 0
Process ID 20, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router (ID) 3.3.3.3, Interface address 192.168.1.2
Backup Designated router (ID) 2.2.2.2, Interface address 192.168.1.1
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:00
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 3.3.3.3 (Designated Router)
Adjacent with neighbor 1.1.1.1
Suppress hello for 0 neighbor(s)
R2#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/12 ms
R2#ping 3.3.3.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/8 ms

-----------------------------------------------------------------------------------

Router3R3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/11] via 192.168.1.3, 00:12:47, Ethernet1/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 192.168.1.1, 00:12:47, Ethernet1/0
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, Ethernet1/0

R3#sh
R3#show ip os
R3#show ip ospf nei
R3#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 1 FULL/BDR 00:00:38 192.168.1.1 Ethernet1/0
1.1.1.1 1 FULL/DROTHER 00:00:30 192.168.1.3 Ethernet1/0

R3#sh ip ospf int e1/0
Ethernet1/0 is up, line protocol is up
Internet Address 192.168.1.2/24, Area 0
Process ID 30, Router ID 3.3.3.3, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 3.3.3.3, Interface address 192.168.1.2
Backup Designated router (ID) 2.2.2.2, Interface address 192.168.1.1
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:03
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 3
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 2.2.2.2 (Backup Designated Router)
Adjacent with neighbor 1.1.1.1
Suppress hello for 0 neighbor(s)
R3#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/8 ms
R3#ping 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/12 ms

10 November 2009

Router Simple NAT gateway



And Here’s the Running Config for the configuration :

R0#show run
!
hostname R-Gateway
!
!
interface FastEthernet0/0
description *** Remote Connection ***
ip address 10.8.8.211 255.255.255.0
ip nat outside
duplex auto
speed auto
!
ip name-server 202.47.78.8
ip name-server 202.47.78.9
!
interface Ethernet1/0
description *** LAN Connection ***
ip address 192.168.10.1 255.255.255.0
ip nat inside
half-duplex
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.8.8.1
ip http server
!
!
R0#
R0y#ping www.google.com

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 216.239.61.104, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 84/110/144 ms

28 August 2009

restart services debian

amal:/etc/tinydns/env# svc -d /service/*
amal:/etc/tinydns/env# svc -u /service/*
amal:/etc/tinydns/env# svstat /service/
/service/: unable to open supervise/ok: file does not exist
amal:/etc/tinydns/env# svstat /service/*

15 February 2009

Instaling Virtual Box and Seting more Tap interface in Ubuntu

Installing VirtualBox OSE on Ubuntu 7.10

#sudo apt-get update
#sudo apt-get install virtualbox-ose virtualbox-ose-source

Install VirtualBox OSE kernel module:

sudo apt-get install module-assistant
sudo m-a prepare
sudo m-a a-i virtualbox-ose
sudo modprobe vboxdrv

Automatically load the kernel module:

sudo gedit /etc/modules

Then add:

vboxdrv

taro nama User “vboxusers” group:

sudo adduser [your username] vboxusers

To run VirtualBox OSE, you can click Applications → System Tools → InnoTek VirtualBox menu item.

if u get error message ufter load iso Operation System like :

VBox status code: -1909 VERR_VM_DRIVER_NOT_ACCESSIBLE

fix with this command

sudo chmod 666 /dev/vboxdrv


Configuration Sub interface ini Ubuntu

At first let’s install the needed software:

$ sudo apt-get install bridge-utils uml-utilities

The virtual network interface is configured with the package uml-utilities. uml stands for User Mode Linux, so understandably the package is preconfigured for use with User Mode Linux. In order to work correctly with VirtualBox, in /etc/network/if-pre-up.d/uml-utilities replace

chown root:uml-net /dev/net/tun

with

chown root:vboxusers /dev/net/tun

auto lo
iface lo inet loopback

auto tap0
iface tap0 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap1
iface tap1 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap2
iface tap2 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap3
iface tap3 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap4
iface tap4 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap5
iface tap5 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap6
iface tap6 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap7
iface tap7 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap8
iface tap8 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap9
iface tap9 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto tap10
iface tap10 inet manual
tunctl_user ts
uml_proxy_arp 10.8.8.237
uml_proxy_ether eth0

auto eth0
iface eth0 inet static
address 10.8.8.237
netmask 255.255.255.0
gateway 10.8.8.1

###########pakai yang ini untuk bridge 1 interface ##########
#auto br0
#iface br0 inet static
#address 10.8.8.234
#netmask 255.255.255.0
#bridge_ports eth0 tap0

#####pakai configuration yang ini untuk bridge banyak interface
auto br0
iface br0 inet dhcp
bridge_ports eth0 tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7 tap8 tap9 tap10
bridge_maxwait 0


Sumber Cerita : http://feryjunaedi.wordpress.com/

08 January 2009

VIm Edit comman

Vim A Editing command text A quick recap of the commands you learned here:

1. Save file - “:w”
2. Quit file without saving - “:q”
3. Save and quit file - “:wq”
4. Go into insert mode - “i”
5. Go into command mode - ESC
6. Delete word - “dw”
7. Delete line - “dd”
8. Undo change - “u”

06 January 2009

Seuntai Kata Buat PALESTINA Kota Q

Kota Jihad

Di kala waktu terus menghilang
merampas semua yang di indah
kota yang dulu penuh bunga
brubah menjadi neraka dunia ladang surga

kota yang dulu hijau pekat
membuat mu kehilangan rupa
yang biasa datang membangunkan pagi
sekarang sudah terbiasa membangunkan malam

kota kebangkitan penuh darah
menyemangatkan darah - darah islam
kota yang penuh ledakan
tidak menghentikan darah untuk berjuang

misil misil yang seakan mengamuk
menjadikan luka tiket untuk ke surga
peluru peluru yang berterbangan seakan setan
membuat darah - darah islam menemui kebangkitan

Karya: Amal Hamzah

12 October 2008

Vlan Configuration



Untuk Swtch Lt 1 Paling pojok kanan Ata

Switch_Lt1# vlan database
Switch_Lt1(vlan)# vlan 10 name keuangan ==> create vlan 10 dengan nama keuangan
Switch_Lt1(vlan)# vlan 20 name produksi
Switch_Lt1(vlan)# exit
Switch_Lt1# config terminal
Switch_Lt1(config)# interface fastethernet 0/10
Switch_Lt1(config-if)# switchport mode trunk
Switch_Lt1(config-if)# switchport trunk encapsulation dot1q
Switch_Lt1(config-if)# exit
Switch_Lt1(config)# interface fastethernet 0/1
Switch_Lt1(config-if)# switchport mode access
Switch_Lt1(config-if)# switchport access vlan 10 ==> 10 = VLAN yang kita assignkan di port fastethernet 0/1
Switch_Lt1(config)# interface fastethernet 0/2
Switch_Lt1(config-if)# switchport mode access
Switch_Lt1(config-if)# switchport access vlan 10
Switch_Lt1(config)# interface fastethernet 0/3
Switch_Lt1(config-if)# switchport mode access
Switch_Lt1(config-if)# switchport access vlan 20
Switch_Lt1(config)# interface fastethernet 0/4
Switch_Lt1(config-if)# switchport mode access
Switch_Lt1(config-if)# switchport access vlan 20
Switch_Lt1# copy running-config startup-config

===================================
Untuk Switch Lantai 2 yang terhubung dengan Router

Switch_Lt2# vlan database
Switch_Lt2(vlan)# vlan 10 name keuangan
Switch_Lt2(vlan)# vlan 20 name produksi
Switch_Lt2(vlan)# vlan 30 name penjualan
Switch_Lt2(vlan)# vlan 40 name HRD
Switch_Lt2# config terminal
Switch_Lt2(config)# interface fastethernet 0/10
Switch_Lt2(config-if)# switchport mode trunk
Switch_Lt2(config-if)# switchport trunk encapsulation dot1q
Switch_Lt2(config)# interface fastethernet 0/9
Switch_Lt2(config-if)# switchport mode trunk
Switch_Lt2(config-if)# switchport trunk encapsulation dot1q
Switch_Lt2(config)# interface fastethernet 0/8
Switch_Lt2(config-if)# switchport mode trunk
Switch_Lt2(config-if)# switchport trunk encapsulation dot1q
Switch_Lt2(config)# interface fastethernet 0/1
Switch_Lt2(config-if)# switchport mode access
Switch_Lt2(config-if)# switchport access vlan 10
Switch_Lt2(config)# interface fastethernet 0/2
Switch_Lt2(config-if)# switchport mode access
Switch_Lt2(config-if)# switchport access vlan 20
Switch_Lt2(config)# interface fastethernet 0/3
Switch_Lt2(config-if)# switchport mode access
Switch_Lt2(config-if)# switchport access vlan 30
Switch_Lt2(config)# interface fastethernet 0/4
Switch_Lt2(config-if)# switchport mode access
Switch_Lt2(config-if)# switchport access vlan 40
Switch_Lt1# copy running-config startup-config

============================================
Untuk Switch Lantai 3 yang paling kiri bawah

Switch_Lt3# vlan database
Switch_Lt3(vlan)# vlan 30 name penjualan
Switch_Lt3(vlan)# vlan 50 name IT
Switch_Lt3(vlan)# exit
Switch_Lt3# configure terminal
Switch_Lt3(config)# interface fastethernet 0/10
Switch_Lt3(config-if)# switchport mode trunk
Switch_Lt3(config-if)# switchport trunk encapsulation dot1q
Switch_Lt3(config)# interface fastethernet 0/1
Switch_Lt3(config-if)# switchport mode access
Switch_Lt3(config-if)# switchport access vlan 30
Switch_Lt3(config)# interface fastethernet 0/2
Switch_Lt3(config-if )# switchport mode access
Switch_Lt3(config-if)# switchport access vlan 30
Switch_Lt3(config)# interface fastethernet 0/3
Switch_Lt3(config-if)# switchport mode access
Switch_Lt3(config-if)# switchport access vlan 50
Switch_Lt3(config)# interface fastethernet 0/4
Switch_Lt3(config-if)# switchport mode access
Switch_Lt3(config-if)# switchport access vlan 50
Switch_Lt3# copy running-config startup-config

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

Untuk Setingan Router yang thub k Vlan

Rtr_VLAN# configure terminal
Rtr_VLAN(config)# interface fastethernet 0/0
Rtr_VLAN(config-if)# no shutdown ==> Menghidupkan interface fa0/0
Rtr_VLAN(config)# interface fastethernet 0/0.10
Rtr_VLAN(config-subif)# encapsulation dot1q 10
Rtr_VLAN(config-subif)# ip address 192.168.1.1 255.255.255.0
Rtr_VLAN(config)# interface fastethernet 0/0.20
Rtr_VLAN(config-subif)# encapsulation dot1q 20
Rtr_VLAN(config-subif)# ip address 192.168.2.1 255.255.255.0
Rtr_VLAN(config)# interface fastethernet 0/0.30
Rtr_VLAN(config-subif)# encapsulation dot1q 30
Rtr_VLAN(config-subif)# ip address 192.168.3.1 255.255.255.0
Rtr_VLAN(config)# interface fastethernet 0/0.40
Rtr_VLAN(config-subif)# encapsulation dot1q 40
Rtr_VLAN(config)# ip address 192.168.4.1 255.255.255.0
Rtr_VLAN(config)# interface fastethernet 0/0.50
Rtr_VLAN(config-subif)# encapsulation dot1q 50
Rtr_VLAN(config-subif)# ip address 192.168.5.1 255.255.255.0
Rtr_VLAN# copy running-config startup-config

Router>ena
Router#
Router#sh
Router#show run
Router#show running-config

Building configuration...

Current configuration : 874 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
!
no aaa new-model
!
!
ip cef
!
!
!
!
!
ip subnet-zero
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
no ip directed-broadcast
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.1.1 255.255.255.0
!
interface FastEthernet0/0.20
ip address 192.168.2.1 255.255.255.0
!
interface FastEthernet0/0.30
ip address 192.168.3.1 255.255.255.0
!
interface FastEthernet0/0.40
ip address 192.168.4.1 255.255.255.0
!
interface FastEthernet0/0.50
ip address 192.168.5.1 255.255.255.0
!
interface FastEthernet0/1
no ip address
no ip directed-broadcast
shutdown
!
interface Serial0/0/0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial0/0/1
no ip address
no ip directed-broadcast
shutdown
!
interface Serial0/1/0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial0/1/1
no ip address
no ip directed-broadcast
shutdown
!
!
ip classless
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
line vty 5 1180
login
!
scheduler allocate 20000 1000
!
end

Router#

07 October 2008

Routing Cisco




















Basic Routing Protocol With a 3 Router n 3 Switch n than 6 host, 2 host include 1 switc
router1#show run (router1)
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname router1
!
!
!
ip subnet-zero
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
no ip directed-broadcast
!
interface Serial0
ip address 202.47.1.1 255.255.255.252
no ip directed-broadcast
clock rate 56000
no ip mroute-cache
!
interface Serial1
no ip address
no ip directed-broadcast
shutdown
!
!
no ip classless
ip route 192.168.3.0 255.255.255.0 202.47.2.2
ip route 192.168.2.0 255.255.255.0 202.47.1.2
!
!
!
line con 0
password amal
login
line aux 0
line vty 0 4
password amal
login
!
end
=======================
router3#show running-config
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname router3
!
!
!
ip subnet-zero
!
interface Ethernet0
ip address 192.168.2.1 255.255.255.0
no ip directed-broadcast
!
interface Serial0
ip address 202.47.2.1 255.255.255.252
no ip directed-broadcast
shutdown
clock rate 56000
!
interface Serial1
ip address 202.47.1.2 255.255.255.252
no ip directed-broadcast
no ip mroute-cache
!
!
no ip classless
ip route 192.168.3.0 255.255.255.0 202.47.2.2
ip route 192.168.1.0 255.255.255.0 202.47.1.1
!
!
!
line con 0
password amal
login
line aux 0
line vty 0 4
password amal
login
!
end
=========================
router4#show running-config
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname router4
!
!
!
ip subnet-zero
!
interface Ethernet0
ip address 192.168.3.0 255.255.255.0
no ip directed-broadcast
!
interface Serial0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1
ip address 202.47.2.2 255.255.255.252
no ip directed-broadcast
no ip mroute-cache
!
!
no ip classless
ip route 192.168.2.0 255.255.255.0 202.47.2.1
ip route 192.168.1.0 255.255.255.0 202.47.1.1
!
!
!
line con 0
password amal
login
line aux 0
line vty 0 4
password amal
login
!
end

17 September 2008

how to instal in Ubuntu or debian

Sourclist baru

# Mirror.cbn.net.id
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-updates main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-security main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-backports main restricted universe multiverse
#deb http://ubuntu.cbn.net.id/Ubuntu intrepid-proposed main restricted universe multiverse

# Mirror.kambing.ui.edu
#deb http://kambing.ui.edu/Ubuntu intrepid main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-updates main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-security main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-backports main restricted universe multiverse
#deb http://kambing.ui.edu/Ubuntu intrepid-proposed main restricted universe multiverse

#deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://id.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://id.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse

===root@Jetcoms:/# vim /etc/apt/sources.list====

### Repository dengan menggunakan server mirror kambing.vlsm.org
deb http://kambing.vlsm.org/debian/ stable main contrib non-free
deb http://kambing.vlsm.org/debian-security/ stable/updates main contrib
deb http://kambing.vlsm.org/debian-security/ stable/updates non-free
deb-src http://kambing.vlsm.org/debian/ stable main contrib non-free
deb-src http://kambing.vlsm.org/debian-security/ stable/updates main contrib
deb-src http://kambing.vlsm.org/debian-security/ stable/updates non-free

Informasi situs: http://kambing.ui.edu

root@Jetcoms:/#apt-get update (enter)
root@Jetcoms:/#apt-get upgrade (enter)
root@Jetcoms:/#apt-get install (aplikasinya)
root@Jetcoms:/# apt-get install apache2
root@Jetcoms:/# apt-get install mysql-admin
root@Jetcoms:/#apt-get install libapache2-mod-php5
========================================================
how to change password Mysql-Admin

# /etc/init.d/mysql stop
# mysqld --skip-grant-tables
# mysqladmin -u root password 'newpasswd'
# /etc/init.d/mysql start

http://wiki.ubuntu-id.org/PanduanUbuntuDapper

12 September 2008

memisahkan routing lokal dan international

Teknik lainnya utk memisahkan traffic data local/IIX dan International adalah dengan menggunakan mark-routingMisal untuk traffic International dilewatkan melalui gateway 203.89.24.65 sedangkan traffic local Indonesia di lewatkan melalui gateway 203.89.24.177.

Image

contoh konfigurasi IP address router user pada interface yang terhubung ke router Datautama

[admin@jetcom-test] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 202.47.77.247/28 202.47.77.240 202.47.77.255 ether1
1 192.168.0.1/24 192.168.0.0 192.168.0.255 ether2
2 10.8.8.185/24 10.8.8.0 10.8.8.255 ether3

Pertama masukkan daftar ip blok dari router NICE ke /ip firewall address-list seperti berikut:

/ ip firewall address-list
add list=nice address=58.65.240.0/23 comment=”" disabled=no
add list=nice address=58.65.242.0/23 comment=”" disabled=no
add list=nice address=58.65.244.0/23 comment=”" disabled=no
add list=nice address=58.65.246.0/23 comment=”" disabled=no
add list=nice address=58.145.174.0/24 comment=”" disabled=no
add list=nice address=58.147.184.0/24 comment=”" disabled=no
add list=nice address=58.147.185.0/24 comment=”" disabled=no
dst…

untuk mendapatkan script diatas dapat melalui URL berikut:

http://www.datautama.net.id/harijanto/mikrotik/ip_firewall_address_list_nice.php

Kemudian tandai packet data yang menuju local Indonesia

/ ip firewall mangle
add chain=postrouting dst-address-list=nice action=mark-routing \
new-routing-mark=nice passthrough=yes comment=”" disabled=no

Selanjutnya buat ip route berikut

/ ip route
add dst-address=0.0.0.0/0 gateway=
202.47.77.241 scope=255 target-scope=10 \
comment=”traffic selain local Indonesia” disabled=no
add dst-address=0.0.0.0/0 gateway=10.8.8.1 scope=255 target-scope=10 \
routing-mark=nice comment=”traffic local Indonesia” disabled=no

Dengan demikian maka jika ke jaringan local Indonesia akan melalui 203.89.24.177 sedangkan untuk ke International melalui 203.89.24.65, sehingga jika interfacenya dipisah diantara router user dengan router datautama dapat diberi dua mikrotik sebagai bridge utk melimit traffic International maupun local secara terpisah.


"tapi masalahnya kok pas di traceroute larinya ke IP 202.47.77.241 terus yach"
apa ip nya 22 nya harus Ip public yach baru bisa di pisah???

proyek blom clear===eh atpi management bandwith simple queee udah berhasil

08 September 2008

konfigurasi Mikrotik sebagai internet gateway

pertama instal dulu mikrotik Router OSnya

[admin@jetcom-test] > ip address add address=202.47.77.247 netmask=255.255.255.240 interface=ether1
[admin@jetcom-test] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 202.47.77.247/28 202.47.77.240 202.47.77.255 ether1
1 192.168.0.1/24 192.168.0.0 192.168.0.255 ether2

untuk IP public "202.47.77.247" di tempatkan di ethernet 1
untuk Ip Private "192.168.0.1" di tempatkan di ethernet 2
__________________________________________
[admin@jetcom-test] > ip dns set primary-dns=202.47.78.8/9
[admin@jetcom-test] > ip dns print
primary-dns: 202.47.78.8
secondary-dns: 202.47.78.9
allow-remote-requests: no
cache-size: 2048KiB
cache-max-ttl: 1w
cache-used: 86KiB

untuk DNS prymary dan secondarynya sesuai dengan koneksi
internetnya
============================================================
[admin@jetcom-test] > ip firewall nat add action=masquerade out-interface=ether1
[admin@jetcom-test] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat out-interface=ether1 action=masquerade

untuk NAT nya outputnya di larikan ke interface ether1/ip
public yang kita punya
=============================================================
[admin@jetcom-test] > ip route add gateway=202.47.77.246
[admin@jetcom-test] > ip route print Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INTERFACE
0 ADC 192.168.0.0/24 192.168.0.1 ether2
1 ADC 202.47.77.240/28 202.47.77.247 ether1
2 A S 0.0.0.0/0 r 202.47.77.241 ether1

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

untuk DHCP nya menggunakan Ethernet2 yaitu IP Privatenya
192.168.0.2-192.168.0.254
/ip pool add name=dhcp-pool ranges=192.168.0.2-192.168.0.100
/ip dhcp-server network add address=192.168.0.0/24 gateway=192.168.0.1


menentukan Interface output DHCP
/ip dhcp-server add interface=ether2 address-pool=dhcp-pool enable 0


user manager menyusul.....
"http://opiq.jardiknas.net/blog/wp-content/plugins/downloads-manager/
upload/Hotspot%20dengan%20Mikrotik.pdf"

10 June 2008

Hari terakhir di PT PSN (Pasifik Satelite Nusantara) Jakarta

Ga terasa udah Genap 1 Thn di PSN dengan pekerjaan sebagai NOC (Network Operation Center) Satelite yang tugasnya memonitoring berlangsungnnya hidup suatu link IDR yang di sewa oleh Telkomsel. dengan gaji 400K sebula (gaji anak magang), hahahahahaha tadinya dengan gaji segini cukup, tapi bner kata kaka2 kelas semuanya gaji kecil bosen man.... ah pokoknya hari2 terakhir mulai deh malesnya, padahal ga kebiasa males lho. hari terakir juga membingungkan katanya pengen di Outsource, tadi pagi tepatnya Manager NOC SAT pen ngmongin tentang ini.. eh ada tamu pula, beliau makin sibuklah pula.. tapi ywdahlah mungkin belum saatnya di PSN, tapi kemaren sempat ada panggilan lho, tapi kemaren w lagi di jalan ngangkatnya argghghghg, tapi katanya c dia pen di tlp lagi jam 6 tapi sampe sekarang dia ga hub2ungi sampe sekarang, lah gw telp tuh, ktanya yang tlp gwlagi ke costumer, tw lah yach, mana pacar w minta gw kesana pas 2 thn setelah w lulus S1 n udah siap nikah.. trus dia ga suka gndut, makin takut lah w gndut, trus ini itu ini itu... kenapa yach TIA ga ngertiin amal sekali kali... amal ga bisa nolak kadang2 coz amal sayang sama dia, sudah jatuh tertimpa lah tangga pula :((

05 June 2008

Ada yang MW belajar???

Agrghhh Laptop W crash Abis W partisi, crasnya gara2nya pasrtisi pake partition magic lom kelar eh kerestart sama tangan W. hahahahaha, pas booting dia malah muncul pesan error gtu. ah dila malah di situ banyak data penting kk n kk ipar w, w sempet berpikir bisa mati di cincang w sama kk w kalo data dia ilang... otak terus berpacu dalam ketakutan.... laptop terus di akalin pake CD XP ntah di Instal ulang lah atw di apalah, yang jelas kalo di instal ulang otomatis semua data akan hilang soalnya..... masih ada 1 partisi di laptop W, cuma Drice Cnya aja. ywdah tuh gw makin bingung... setelah istirahat n berfikir sejenak w menemukan Ide yang brilian... horeeeee.... knapa ga di coba pake linux live CD aja yach bwt di Chekdis.. stw W kan itu bwt bnerin partisi atw sistem di sector hardisk yang ngaco, setelah gw jalanin linux live CDnya... hmmmm gw ga tw di situ ada sistem chekdisknya atw ga,, eh ternyata ga ada, heheheheheh ga ada atw gwnya ga tw. pokoknya intinya ga bisa lah, terus ada cara k 2. hehehehehe CD NU2nya Pak vidi BOKEP masih ada di gw, itu merupakan SIMULASI WIn XP tapi dy bisa ngedetech data hardisk, walaupun badsectornya hancur cur cur... eh tnyata ga bisa juga, tapi sistem bwt chedisknya bisa... ywdah tuh gw chedisk aja, ternyata abis di restart bisa kembali normal.... hahahahaha ternyata semua OS ada kekurangan n ada kelebhannya yach.. jd anda ga boleh menghina windows yach.. thx

Photo Suasana Hati Gak Enak

foto lesu bgt neh... waduhh, gw juga lagi ga niat di foto neh.. tolong jangan di foto, eh di foto juga

04 June 2008

Tips Menghilangkan Stress

Agrhhh edan neh, gw streees bgt, ntah mengapa alesan bw stressss, akhirnya gw taro aja dah

kiat menghilangkan stress cara jitu, akhirnya dapet ini walaupun jwabannya kurang memuaskan tapi di taro aja lah buat motivasi take car hehehehehe


KEMBANGKAN KETERATURAN.

Bebenahlah. Singkirkanlah barang-barang yang tidak dipakai. Anda bisa memulihkan rasa tenang kepada sebuah ruangan dengan “pilih dan singkirkan” selama tiga puluh menit.
ALIHKANLAH FOKUS ANDA.
Mengalihkan perhatian bisa memberikan istirahat terhadap otak Anda dari pemecahan masalah serta beban. Tidak mungkin dikuasai rasa kuatir kalau ada sesuatu hal lain yang rnenarik minat Anda.
LUANGKANLAH WAKTU UNTUK BEROLAHRAGA.
Hilangkanlah tekanan dari tubuh Anda lewat dua puluh menit aerobik.
TERBUKALAH KEPADA ORANG LAIN.
Utarakanlah ketegangan Anda kepada teman yang bisa dipercaya.
KEMBANGKAN PILIHAN LAIN
Gantilah saluran di otak Anda. Pemecahan masalah lebih efektif kalau pikiran kita sering beristirahat dari suatu masalah ketimbang terus terobsesi dengannya.
AMBILLAH WAKTU UNTUK BERSAAT TEDUH
Jadwalkanlah beberapa waktu istirahat singkat sepanjang hari untuk memperlambat kerja otak dan tubuh. Dengarkanlah musik yang membuat rileks. Berdoalah dan renungkanlah Kitab Suci untuk menyejukkan jiwa.
TUNTASKANLAH URUSAN YANG BELUM TUNTAS.
Perbaikilah apabila mungkin. Berikanlah ampun ketimbang memendam gerutu.
PUTUSKANLAH UNTUK PERCAYA.
Salah satu resep terbaik untuk rasa takut adalah mengatakan, “Ya Allah, aku memilih percaya kepada-Mu”.
DEDIKASIKANLAH DIRI KEPADA HAL-HAL YANG DASAR.
Untuk melihat dengan jelas di tengah-tengah stress yang membutakan : Tidurlah delapan hingga sembilan jam setiap malamnya; makanlah makanan yang seimbang gizinya; olahragalah dua hingga tiga puluh menit tiga kali setiap minggunya.
LEPASKANLAH
Kalau kewalahan, mundurlah, berilah waktu kepada diri sendiri, dan berhentilah berusaha terlalu keras. Segalanya tidaklah harus “dituntaskan” hari ini juga.
BERTEKUNLAH.
Menghindar hanya akan menambah kecemasan. Evaluasilah apa yang dapat dilakukan, dan kerjakanlah itu. Janganlah terperangkap dalam pendekatan “segalanya atau tidak sama sekali”.
JANGANLAH MENJADI ORANG “TIPE SERBA BISA”.
Tak ada yang dirancang untuk menjadi Segalanya bagi Semua Orang. Hanya Allah seoranglah yang dapat memenuhi uraian tugas itu.

Sumber : Internet.

Knapa Akhir2 PSG jadi males yach!!!

Waduhwhgrghhgg.... knapa akhir bulan ini gw males beud kerja yach. mungkin karena gajinya kcl kali yach yang ga sebanding sama tanggung jawab n kerjaan kita, atau mungkin pengaruh dari efek Ijazah pendidikan atau status PKL.. agrhhhh yang jelas gw males bgt, butuh hiburan tapi ga ada yang enak di buat main, plingan game2 di kompi, n mencoba mencoba apa aja yang bisa bwt gw penasaran, tapi sayangnnya gw orangnnya bosenan mencoba hal yang lebih mendetail lagi, coba yach gw tipe orang yang selallu ingin tahu, uh payah, tapi gw ga bisa, gw pengennya cukup mendalami sedikit2 aja supaya ga buta2 amat, tapi sebenernya amal pengen banget nekunin Network Engginrer, ya mudah2han aja ntar amal kuliah sambil ngambil CCNA juga... mamah amal juga lebih setuju amal kuliah dulu di bandingkan kerja, tapi knapa amal milih kerja dulu?? gni lho, amal berfikir kerja n kuliah karena ntar pas selesai kuliah udah bnyak pengalaman gtu..... jadi tinggal penyesuaian pendidikan aja ... gtu!!! ngerti kan? huh masa curhat lewat blog c?? tanya knapa???? aha bntar lagi yayang w pen dateng, mudah2an ga ada halangan yach..

Ternyata jadi Imam itu gak gampang yach??

waduh knapa yach kok saya jadi gemetaran yach liat harga rumah, liat harga emas, semua bahan2 pokok naik tanpa ada kompromi sama rakyat kcl. semua menjadi aneh... ragu... gelisah... murung menanti harga2 melambung semakin tinggi, lhooo apa hubungannya sama imam??? ini hubungannya, pasti Ibu2 stresss bgt menghadapi situasi ini tapi!!!!! ada tapinya neh, di lain sisi bapak2 lebih stresss dari ibunya gmana cara dapet duit untuk memenuhi kebutuhan keluarga trus di lain sisi desakan sang istri u "harus mendapatkan uang belanja lebih di tengan kesusahan ini" saya jadi takut yach... ntar anak istri saya susah ga yach hidup sama saya??? ntah knapa timbul di pikiran saya.. wah saya harus ambil ini lah itulah untuk masa depan keluarga saya ... initinya gw jadi makin smangat belajar n beerja untuk masa depan keluarga gw nantinya, supaya anak istri w, bahagia kedepannya... wah gw orangnnya terlalu mw sempurna semua pekerjaannnya tanpa hambatan... hahahahaha tapi begitulah hidup, di jalani saja sperti air, apabila ada 1000 batu yang menghalang di tetap lewat aja seperti ga ada halangan yang berarti

Kesan2 di PSN

Wuihhh!!! dah setahun kurang 6 hari gw di PT Pasifik Satelit Nusantara, di sini w mengalami beberapa perubahan yang pertama berat badan nambah...wah sangat banyak ilmu di sini, tapi yang w terima ke otak kok dikit yach.. apa ini pengaruh karena w banyak main di pembangunan? tapi lumayan denks... pengetahuan tentang komunikasi jadi terbuka n pengalaman kerja 1 thn sudah di raih di kehidupan w. hahahahahah, tapi tetep aja sekarnag bingung!!!!
oh iyach, yang gw aharapkan c kerja di PSN dengan gaji di atas 1jt lah gpp, yang pnting bisa mengisi kegiatan gw du luar kuliah w yang gw ambil nantinya sabtu dan minggu... tapi kenyatan yang berlawanan... gw ga di PSN.. tapi ga tw juga dinks tgantung Bos N HRDNya w jadi di OUT Source atw ga?? jangan kasih kebimbangan dunk. hahahahahaha

Design Baju NOC-SAT tapi kok ga jd2 yach!!!























ini design baju A, ada yang mw berkomentar? hahahaha. udah sebulan Gw design kok g jd2 yach, mungkin bsok kali yach