Archive for July, 2007

31
Jul
07

Puisi dari Syaikh Tarbiyah

Merendahlah,

engkau kan seperti bintang-gemintang.....


Berkilau di pandang orang Diatas riak air


dan sang bintang nun jauh tinggi....


Janganlah seperti asap


Yang mengangkat diri tinggi di langit


Padahal dirinya rendah-hina

 

(Ust. Rahmat Abdullah, Allahu yarham.....)

Powered by ScribeFire.

31
Jul
07

Membuat IP secondary di Linux

Untuk membuat ip secondary, perhatikan step-step berikut.

  • copy file ifcfg-eth0 dan rename menjadi ifcfg-eth0:1

        cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:1

  • setelah itu buka file ifcfg-eth0:1

        vi /etc/sysconfig/network-scripts/ifcfg-eth0:1
        DEVICE:eth0:1 (telah di-rename menjadi eth0:1)
        BOOTPROTO:static
        IPADDR:192.168.0.XX
        dan seterusnya…
        setelah itu save !

  • reboot network

        service network restart

Powered by ScribeFire.

29
Jul
07

Jaringan Komputer part 2

SUbnetting
==========

Merampingkan jaringan yang besar menjadi jaringan yang lebih kecil.
mis.
anda adlaah network engineer PT. IB. anda dimintai oleh bos untuk memisssahkan jaringan yang ada menjadi 2 buah jaringan yang terpisah yang dihubungkan dengan router.
IP yang digunakan 192.168.200.x, berapa ip maskin yang digunakan, ip network, ip broadcast & range host tiap jaringan ?

+++++++++++++++++                    +++++++++++++++++
+                    +        +
+                    +        +
R1    +++++++++++++ Router/GW ++++++++++++++++   R2        +
+                    +        +
+                    +        +
+++++++++++++++++                    +++++++++++++++++

1. dibagi 2     =>    256:2    = 128
2. Ip Masking    =>    256-128    = 128  => 255.255.255.1218
3. Tabel
=========================================================
Ruang    IP Network    IP Broadcst    Range Host
=========================================================
1    192.168.1.0    192.168.1.127    192.168.1.1-126
2    192.168.1.128    192.168.1.255    192.168.1.129-254
=========================================================

Konfigurasi Jaringan di LINUX
==============================

a. Setting IP address
~ ifconfig
syntax     : ifconfig device ip_address netmask
mis    : ifconfig eth0 192.168.1.20
sifatnya sementara
~ edit file /etc/sysconfig/network-scipts/ifcfg-eth
device=eth0
bootpro=static (bisa static atau DHCP)
ipaddress=192.168.1.20
netmassk=255.255.255.0
gateway=192.168.1.1
onboot=yes

contoh lain :

DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.13
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=no
USERCTL=no
MS_DNS1=202.134.2.5
MS_DNS2=192.168.1.1
RESOLV_MODS=yes
IPV6INIT=no
IPV6TO4INIT=no

~ mcc/drakconf

b.setting gateway
~ route (temporaary)
melihat routing
route -n
konfigurasi routing default gateway
syntax    : route add default gw ip_gateway
misal    : route add default gw 192.168.1.1
route del default gw 192.168.1.1 (untuk mengahapus)

~ edit file /etc/sysconfig/network
gateway=192.168.1.1
~ mcc/drakconf

menjalankan network
service network  start
/etc/init.d/network start
mematikan network
service network stop
me-restart network
service network restart

c. Setting default DNS
~ edit file /etc/resolv.conf
nameserver 192.168.1.1
nameserver 202.134.2.5
~ mcc / drackconf

Sharing internet via Modem dial-up
====================================

—-modem dial——- PC eth0 192.168.2.1/24 kosongkan gw dan dns ——– LAN 192.168.2.x/24

A. Setting Server

~ Mendeteksi modem
a. wvdial

wvdialconf /etc/wvdial.conf >>> query modem
edit file /etc/wvdial.cof

PROVIDER=telkomnet
PHONENUMBER=080989999
USERNAME=telkomnet@instant
PASSWORD=telkom

menjalankan
ketik # wvdial

- setting ip forward
edit file /etc/sysctl.conf
ubah menjadi
net.ipv4.ip_forward=1
simpan
jalankan
sysctl -p

- setting masquerade
iptables -t nat -A POSTROUTING -s 192.168.2.0/24 -j masquerade -o ppp0

SHARING INTERNET VIA ETHERNET
=============================

—– modem adsl 192.168.1.1 ———– eth0 192.168.1.2 PC eth 192.168.200.1 ——- LAN 192.168.200.x/24 gw:192.168.200.1 dns:202.153.31.18

pada konsepnya sama
- setting ip forward
edit file /etc/sysctl.conf
ubah menjadi
net.ipv4.ip_forward=1
simpan
jalankan
sysctl -p

- setting masquerade
iptables -t nat -A POSTROUTING -s 192.168.2.0/24 -j masquerade -o eth0




 

July 2007
M T W T F S S
« May   Aug »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Quote

"I am a traveler seeking the truth, a human searching for the meaning of humanity and a citizen seeking dignity, freedom, stability and welfare under the shade of Islam. I am a free man who is aware of the purpose of his existence and who proclaims: “Truly, my prayer and my sacrifice, my living and my dying are all for Allah, the Lord of the worlds; no partner has He. This, am I commanded and I am of those who submit to His Will.” This is who I am. Who are you?" (Hassan al-Banna)

Online

tracker

Your IP Address

Kalender Hijriyah

Blog Stats

  • 20,070 hits

Qur’an Flash

Powered by