Langsung ke konten utama

seting roter fedora 9 barlianno

seting roter fedora 9 barlianno

sudah di komfigurasikan di lab barliannet

asumsi

modem >>>>>pedora 9 >>>>>>>>claint

modem speedy sudah diset dhcp pada 192.168.1.1

ip clain pada 192.168.0.2 S/D 192.168.0.254

gateway 192.168.0.1

dns 192.168.1.1

dns 8.8.8.8

1 cek kompigurasi lan

[root@localhost barlianno]# /sbin/ifconfig -a

2 seting lan

[root@localhost barlianno]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

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

# Intel Corporation 82557/8/9/0/1 Ethernet Pro 100

DEVICE=eth0

BOOTPROTO=static

HWADDR=00:a0:c9:e6:32:b6

ONBOOT=yes

IPADDR=192.168.1.2

NETMASK=255.255.255.0

BROADCAST=192.168.1.255

NETWORK=192.168.1.0

USERCTL=no

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

[root@localhost barlianno]# vi /etc/sysconfig/network-scripts/ifcfg-eth1

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

# Intel Corporation 82557/8/9/0/1 Ethernet Pro 100

DEVICE=eth1

BOOTPROTO=static

HWADDR=00:02:b3:ab:b4:06

ONBOOT=yes

IPADDR=192.168.0.1

NETMASK=255.255.255.0

NETWORK=192.168.0.0

BROADCAST=192.168.0.255

TYPE=Ethernet

USERCTL=no

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

3 cek hasil setingan

[root@localhost barlianno]# /sbin/ifconfig -a

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

eth0 Link encap:Ethernet HWaddr 00:A0:C9:E6:32:B6

inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0

inet6 addr: fe80::2a0:c9ff:fee6:32b6/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:294 errors:0 dropped:0 overruns:0 frame:0

TX packets:330 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:132109 (129.0 KiB) TX bytes:39702 (38.7 KiB)

eth1 Link encap:Ethernet HWaddr 00:02:B3:AB:B4:06

inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:4325 errors:0 dropped:0 overruns:0 frame:0

TX packets:4325 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:286080 (279.3 KiB) TX bytes:286080 (279.3 KiB)

sit0 Link encap:IPv6-in-IPv4

NOARP MTU:1480 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

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

4 seting gateway

[root@localhost barlianno]# vi /etc/sysconfig/network

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

NETWORKING=yes

HOSTNAME=localhost.localdomain

GATEWAY=192.168.1.1

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

5 seting dns

[root@localhost barlianno]# vi /etc/resolv.conf

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

nameserver 192.168.1.1

nameserver 8.8.8.8

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

6 restart network

[root@localhost barlianno]# /etc/init.d/network restart

7 ping ke eth0

[root@localhost barlianno]# ping 192.168.1.2

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

PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.

64 bytes from 192.168.1.2: icmp_seq=1 ttl=64 time=0.104 ms

64 bytes from 192.168.1.2: icmp_seq=2 ttl=64 time=0.099 ms

64 bytes from 192.168.1.2: icmp_seq=3 ttl=64 time=0.096 ms

64 bytes from 192.168.1.2: icmp_seq=4 ttl=64 time=0.094 ms

64 bytes from 192.168.1.2: icmp_seq=5 ttl=64 time=0.101 ms

^C

--- 192.168.1.2 ping statistics ---

5 packets transmitted, 5 received, 0% packet loss, time 4802ms

rtt min/avg/max/mdev = 0.094/0.098/0.104/0.013 ms

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

8 ping ke modem

[root@localhost barlianno]# ping 192.168.1.1

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

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

64 bytes from 192.168.1.1: icmp_seq=1 ttl=254 time=1.62 ms

--- 192.168.1.1 ping statistics ---

3 packets transmitted, 3 received, 0% packet loss, time 2718ms

rtt min/avg/max/mdev = 0.453/0.844/1.626/0.553 ms

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

9 ping ke eth1

[root@localhost barlianno]# ping 192.168.0.1

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

PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.

64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=0.099 ms

64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=0.097 ms

^C

--- 192.168.0.1 ping statistics ---

4 packets transmitted, 4 received, 0% packet loss, time 3077ms

rtt min/avg/max/mdev = 0.096/0.097/0.099/0.009 ms

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

10 ping ke yahoo

[root@localhost barlianno]# ping yahoo.com

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

PING yahoo.com (69.147.125.65) 56(84) bytes of data.

64 bytes from ir1.fp.vip.re1.yahoo.com (69.147.125.65): icmp_seq=1 ttl=50 time=487 ms

64 bytes from ir1.fp.vip.re1.yahoo.com (69.147.125.65): icmp_seq=2 ttl=50 time=576 ms

64 bytes from ir1.fp.vip.re1.yahoo.com (69.147.125.65): icmp_seq=3 ttl=50 time=310 ms

64 bytes from ir1.fp.vip.re1.yahoo.com (69.147.125.65): icmp_seq=4 ttl=50 time=304 ms

^C

--- yahoo.com ping statistics ---

4 packets transmitted, 4 received, 0% packet loss, time 3706ms

rtt min/avg/max/mdev = 304.513/419.990/576.614/116.569 ms

[root@localhost barlianno]#

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

sampai di tahap ini pedora udah bisa brousing internet

tapi kalow direstart maka tidak bisa brosing internet lagi

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

[root@localhost barlianno]# /sbin/ifconfig -a

di cek kompigurasi hilang lagi

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

eth0 Link encap:Ethernet HWaddr 00:A0:C9:E6:32:B6

BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

eth1 Link encap:Ethernet HWaddr 00:02:B3:AB:B4:06

BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:2249 errors:0 dropped:0 overruns:0 frame:0

TX packets:2249 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:112632 (109.9 KiB) TX bytes:112632 (109.9 KiB)

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

11 coba restart network

[root@localhost barlianno]# /etc/init.d/network restart

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

Shutting down loopback interface: [ OK ]

Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0

[ OK ]

Bringing up loopback interface: [ OK ]

Bringing up interface eth0: [ OK ]

Bringing up interface eth1: [ OK ]

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

12 cek lagi lan kompigurasi lan ok lagi

[root@localhost barlianno]# /sbin/ifconfig -a

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

eth0 Link encap:Ethernet HWaddr 00:A0:C9:E6:32:B6

inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0

inet6 addr: fe80::2a0:c9ff:fee6:32b6/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:1369 errors:0 dropped:0 overruns:0 frame:0

TX packets:1080 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:1028646 (1004.5 KiB) TX bytes:73419 (71.6 KiB)

eth1 Link encap:Ethernet HWaddr 00:02:B3:AB:B4:06

inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0

inet6 addr: fe80::202:b3ff:feab:b406/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:1062 errors:0 dropped:0 overruns:0 frame:0

TX packets:1389 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:73139 (71.4 KiB) TX bytes:1031443 (1007.2 KiB)

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:2249 errors:0 dropped:0 overruns:0 frame:0

TX packets:2249 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:112632 (109.9 KiB) TX bytes:112632 (109.9 KiB)

sit0 Link encap:IPv6-in-IPv4

NOARP MTU:1480 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

supaya network lansung jalan secara otomatis

pada saat booting

13 ketik perintah di bawah ini

[root@localhost ~]# service network start

Sekarang coba reboot computer maka komfikurasi lan akan permanent

Langsung bias intrnet

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

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

Note

Agar claint bias brousing maka pastikan setingan di bawah ini sudah di set

* pastikan dns sudah di seklis masquerading all eth+ sudah di celis

masuk pada menu system >>pilih administration >> pilih ferewall >>setelah masuk pada menu tampilan firewall

pastikan dns sudah di seklis masquerading all eth+ sudah di celis

* selinuk tidak di aktipkan degan cara

[root@localhost ~]# vi /etc/selinux/config

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

# This file controls the state of SELinux on the system.

# SELINUX= can take one of these three values:

# enforcing - SELinux security policy is enforced.

# permissive - SELinux prints warnings instead of enforcing.

# disabled - No SELinux policy is loaded.

SELINUX=disabled

# SELINUXTYPE= can take one of these two values:

# targeted - Targeted processes are protected,

# mls - Multi Level Security protection.

SELINUXTYPE=targeted

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

* network manager sudah di disabled


bila clain tidak bisa brousing inter net maka buat iptables ketik di bawah ini


[root@localhost ~]# iptables -t nat -A POSTROUTING -s 192.168.0.0/255.255.255.0 -d 0/0 -j MASQUERADE


clain sekarang bisa brousing internet cihuuuuiiii

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

sudah di uji di lab network barliannet

perintah penting

[root@localhost barlianno]# /sbin/ifconfig –a

[root@localhost barlianno]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

[root@localhost barlianno]# vi /etc/sysconfig/network

[root@localhost barlianno]# vi /etc/resolv.conf

[root@localhost barlianno]# /etc/init.d/network restart

Mengaktipkan service network

[root@localhost ~]# service network start

Menon aktip kan selinuk

[root@localhost ~]# vi /etc/selinux/config

[root@localhost ~]# iptables -t nat -A POSTROUTING -s 192.168.0.0/255.255.255.0 -d 0/0 -j MASQUERADE


sudah di uji di lab network barliannet


Komentar

Posting Komentar

Postingan populer dari blog ini

agar phpmyadmin bisa di akses dari luar

Setting local server XAMPP agar bisa di panggil dari komputer lain dalam jaringan katika akan membuat aplikasi client server dengan mengandalkan localserver XAMPP hal yang apling penting yaitu XAMPP pada komputer server dapat dipanggil dari komputer client. Agar XAMPP komputer server dapat dipanggil maka perlu kita lakukan pengaturan sebagai berikut: Buka file httpd.conf   di folder C:\xampp\apache\conf , ggunakan notepad atau notepad++ untuk lebih mudahnya Cari tulisan LoadModule vhost_alias_module modules/mod_vhost_alias.so  dan hilangkan tanda pagar (#) didepannya. Cari tulisan Include "conf/extra/httpd-vhosts.conf" apabila didepanya masih ada tanda # hilangkan tanda tersebut. Selanjutnya kita perlu mengatur siapa saja yang dapat mengakses XAMPP pada komputer server, langkah-langkahnya seperti berikut. Buka file httpd-xampp.conf di C:\xampp\apache\conf\extra . Dibagian paling bawah terdapat tulisan seperti berikut view plain print ?

CARA MENGHITUNG Solar Charge Controller

CARA MENGHITUNG SOLAR CHARGE CONTROLLER Untuk menghitung kebutuhan solar charge controller, maka kita harus mengetahui dulu karakteristik dan spesifikasi dari solar panel, pada solar panel terdapat spesifikasi sebagai berikut : maximum power (Pm)                            = 110 Wp Optimum Power Voltage (Vmp)             = 16,7 VDC Optimum Operation Current (Imp)        = 6,6 A Open Circuit Voltage (Voc)                    = 20,7 A short circuit current (Isc)                      = 7,5 A yang harus diperhatikan adalah angka Isc (short circuit current) , nilainya dikalikan dengan jumlah panel surya, hasilnya merupakan nilai berapa nilai minimal dari charge controller yang dibutuhkan contoh kita menngunakan 1 panel surya 110 wp maka kita memakai controler 10 A. kalow kita memakai dua buah panel surya dipasang paraler maka kita butuk kontroler 7,5 X 2 = 15 A. maka sebaiknya kita menggunakan controler yang 20 A agar aman. cara kerja controler.   Solar charge controller , ad

cara pasang jarum dot matrix lq 2180

memasang jarum 24 pin dotmatrik merupakan hal yang paling sulit, dan memerlukan kesabaran, apalagi jika kita tidak mengetahui urutan pemasangan jarum nya. di bawah ini saya akan mencoba memasang jarum serta tahapan tahapannya. kunci dari pemasangan terletak pada pemasangan jarum pendek. kita harus memastikan jarum pendek terpasang secara sempurna pada titik lobang yang telah ditentukan.kita harus memasang jarum pendek dari urutan pertama dan meloncati satu lobang untuk nantinya dipasang jarum panjang.kalow pemasangan jarum pendek tidak terpasang dengan sempurna maka pada waktu pemasangan jarum panjang akan susah masuk. dan harus di ulang dari awal capepee dehhh.   gambar di atas memperlihatkan tahap pemasangan jarum pendek sampai ke jarum panjang. setelah pemasangan jarum selesai dan head sdiap di coba . selamat mencoba telah di uji di lab barlianno. http://www.sewadpc.com/