<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>oHmE &#187; Linux</title>
	<atom:link href="http://ebenz.indointernet.com/?feed=rss2&#038;cat=11" rel="self" type="application/rss+xml" />
	<link>http://ebenz.indointernet.com</link>
	<description>Dont fix if aint broken</description>
	<lastBuildDate>Fri, 19 Feb 2010 04:20:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>tools ethernet configuration [LINUX]</title>
		<link>http://ebenz.indointernet.com/?p=210</link>
		<comments>http://ebenz.indointernet.com/?p=210#comments</comments>
		<pubDate>Tue, 29 Sep 2009 11:54:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ebenz.indointernet.com/?p=210</guid>
		<description><![CDATA[use ethtool [interface]
ethtool
ethtool version 1.8
Usage:
        ethtool DEVNAME
        ethtool -a DEVNAME
        ethtool -A DEVNAME \
                [ autoneg on&#124;off ] \
 [...]]]></description>
			<content:encoded><![CDATA[<p>use ethtool [interface]</p>
<p>ethtool<br />
ethtool version 1.8<br />
Usage:<br />
        ethtool DEVNAME<br />
        ethtool -a DEVNAME<br />
        ethtool -A DEVNAME \<br />
                [ autoneg on|off ] \<br />
                [ rx on|off ] \<br />
                [ tx on|off ]<br />
        ethtool -c DEVNAME<br />
        ethtool -C DEVNAME \<br />
                [adaptive-rx on|off] \<br />
                [adaptive-tx on|off] \<br />
                [rx-usecs N] \<br />
                [rx-frames N] \<br />
                [rx-usecs-irq N] \<br />
                [rx-frames-irq N] \<br />
                [tx-usecs N] \<br />
                [tx-frames N] \<br />
                [tx-usecs-irq N] \<br />
                [tx-frames-irq N] \<br />
                [stats-block-usecs N] \<br />
                [pkt-rate-low N] \<br />
                [rx-usecs-low N] \<br />
                [rx-frames-low N] \<br />
                [tx-usecs-low N] \<br />
                [tx-frames-low N] \<br />
                [pkt-rate-high N] \<br />
                [rx-usecs-high N] \<br />
                [rx-frames-high N] \<br />
                [tx-usecs-high N] \<br />
                [tx-frames-high N] \<br />
                [sample-interval N]<br />
        ethtool -g DEVNAME<br />
        ethtool -G DEVNAME \<br />
                [ rx N ] \<br />
                [ rx-mini N ] \<br />
                [ rx-jumbo N ] \<br />
                [ tx N ]<br />
        ethtool -i DEVNAME<br />
        ethtool -d DEVNAME<br />
        ethtool -e DEVNAME \<br />
                [ raw on|off ] \<br />
                [ offset N ] \<br />
                [ length N ]<br />
        ethtool -E DEVNAME \<br />
                [ magic N ] \<br />
                [ offset N ] \<br />
                [ value N ]<br />
        ethtool -k DEVNAME<br />
        ethtool -K DEVNAME \<br />
                [ rx on|off ] \<br />
                [ tx on|off ] \<br />
                [ sg on|off ] \<br />
                [ tso on|off ]<br />
        ethtool -r DEVNAME<br />
        ethtool -p DEVNAME [ %d ]<br />
        ethtool -t DEVNAME [online|(offline)]<br />
        ethtool -s DEVNAME \<br />
                [ speed 10|100|1000 ] \<br />
                [ duplex half|full ]    \<br />
                [ port tp|aui|bnc|mii|fibre ] \<br />
                [ autoneg on|off ] \<br />
                [ phyad %d ] \<br />
                [ xcvr internal|external ] \<br />
                [ wol p|u|m|b|a|g|s|d... ] \<br />
                [ sopass %x:%x:%x:%x:%x:%x ] \<br />
                [ msglvl %d ]<br />
        ethtool -S DEVNAME</p>
<p>use mi-tool</p>
<p>mii-tool &#8211;help<br />
usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...]<br />
       -V, &#8211;version               display version information<br />
       -v, &#8211;verbose               more verbose output<br />
       -R, &#8211;reset                 reset MII to poweron state<br />
       -r, &#8211;restart               restart autonegotiation<br />
       -w, &#8211;watch                 monitor for link status changes<br />
       -l, &#8211;log                   with -w, write events to syslog<br />
       -A, &#8211;advertise=media,&#8230;   advertise only specified media<br />
       -F, &#8211;force=media           force specified media technology<br />
media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,<br />
       (to advertise both HD and FD) 100baseTx, 10baseT</p>
<p>mii-tool<br />
eth0: negotiated 100baseTx-FD, link ok<br />
eth1: negotiated 100baseTx-FD, link ok<br />
eth2: 10 Mbit, half duplex, link ok</p>
]]></content:encoded>
			<wfw:commentRss>http://ebenz.indointernet.com/?feed=rss2&amp;p=210</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Filter ASN [Zebra]</title>
		<link>http://ebenz.indointernet.com/?p=207</link>
		<comments>http://ebenz.indointernet.com/?p=207#comments</comments>
		<pubDate>Tue, 29 Sep 2009 11:31:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://ebenz.indointernet.com/?p=207</guid>
		<description><![CDATA[Filter ASN transit di zebra
ip as-path access-list 80 deny ^$
ip as-path access-list 80 deny _ASN_
ip as-path access-list 80 permit .*
route-map IMPORT-PREFIX permit 10
 match as-path 80
]]></description>
			<content:encoded><![CDATA[<p>Filter ASN transit di zebra</p>
<p>ip as-path access-list 80 deny ^$<br />
ip as-path access-list 80 deny _ASN_<br />
ip as-path access-list 80 permit .*</p>
<p>route-map IMPORT-PREFIX permit 10<br />
 match as-path 80</p>
]]></content:encoded>
			<wfw:commentRss>http://ebenz.indointernet.com/?feed=rss2&amp;p=207</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[basic-BGP] junOS &#8211; Quagga &#8211; Cisco</title>
		<link>http://ebenz.indointernet.com/?p=199</link>
		<comments>http://ebenz.indointernet.com/?p=199#comments</comments>
		<pubDate>Thu, 02 Apr 2009 02:05:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ebenz.indointernet.com/?p=199</guid>
		<description><![CDATA[Kali ini kita lagi coba2 build bgp dgn 3 router dalam 1 network yaitu 172.16.0.192/28 (tanpa filtering)
   just fur newbies.
JunOS   : 172.16.0.202/28 ASN 2020
Quagga : 172.16.0.200/28 ASN 1010
              AdvNetwork : 192.192.0.0/16
Cisco    : 172.16.0.204/28 ASN 3030
 [...]]]></description>
			<content:encoded><![CDATA[<p>Kali ini kita lagi coba2 build bgp dgn 3 router dalam 1 network yaitu 172.16.0.192/28 (tanpa filtering)<br />
 <img src='http://ebenz.indointernet.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  just fur newbies.</p>
<p>JunOS   : 172.16.0.202/28 ASN 2020<br />
Quagga : 172.16.0.200/28 ASN 1010<br />
              AdvNetwork : 192.192.0.0/16<br />
Cisco    : 172.16.0.204/28 ASN 3030<br />
              AdvNetwork : 192.100.0.0/16 </p>
<p>Kita Asumsikan bahwa quagga &#038; Cisco sudah ready dgn config BGP nya, jadi kita tinggal coba step-step config di junOS tanpa filtering ;</p>
<p><strong>config untuk peer asn 3030 (cisco)<br />
ebenz@junOS> show bgp summary<br />
BGP is not running<br />
ebenz@junOS> edit<br />
Entering configuration mode<br />
[edit]<br />
ebenz@junOS# edit protocols bgp<br />
ebenz@junOS# set group ASN-3030 type external (peer as cisco)<br />
[edit protocols bgp]<br />
ebenz@junOS# set group ASN-3030 peer-as 3030<br />
[edit protocols bgp]<br />
ebenz@junOS# set group ASN-3030 neighbor 172.16.0.200<br />
[edit protocols bgp]<br />
ebenz@junOS# show<br />
group ASN-3030 {<br />
    type external;<br />
    peer-as 3030;<br />
    neighbor 172.16.0.200;<br />
}</p>
<p></strong>config untuk peer asn 1010 (quagga)<br />
[edit protocols bgp]<br />
ebenz@junOS# set group ASN-1010 type external<br />
[edit protocols bgp]<br />
ebenz@junOS# set group ASN-1010 peer-as 1010<br />
[edit protocols bgp]<br />
ebenz@junOS# set group ASN-1010 neighbor 172.16.0.204<br />
[edit protocols bgp]<br />
ebenz@junOS# commit<br />
commit complete</p>
<p>tinggal kita lihat status BGP ;<br />
=====================<br />
ebenz@junOS# run show bgp summary<br />
Groups: 2 Peers: 2 Down peers: 2<br />
Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending<br />
inet.0                 0          0          0          0          0          0<br />
Peer               AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn State|#Active/Received/Damped&#8230;<br />
172.16.0.200     3030          0          1       0       0          40 Active<br />
172.16.0.204     1010          0          2       0       0          40 Active</p>
<p>hemm Active .., ups ternyata IP kebalik untuk peer 3030 harusnya IP 172.16.0.204 <img src='http://ebenz.indointernet.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . Nope kita rename<br />
=============================================================================</p>
<p>ebenz@junOS# edit group ASN-3030<br />
[edit protocols bgp group ASN-3030]<br />
ebenz@junOS# rename neighbor 172.16.0.200 to neighbor 172.16.0.204<br />
[edit protocols bgp group ASN-3030]<br />
ebenz@junOS# up<br />
[edit protocols bgp]<br />
ebenz@junOS# edit group ASN-1010<br />
[edit protocols bgp group ASN-1010]<br />
ebenz@junOS# rename neighbor 172.16.0.204 to neighbor 172.16.0.200<br />
[edit protocols bgp group ASN-1010]<br />
ebenz@junOS# commit<br />
commit complete<br />
[edit protocols bgp group ASN-1010]<br />
[edit protocols bgp]<br />
ebenz@junOS# show<br />
group ASN-3030 {<br />
    type external;<br />
    peer-as 3030;<br />
    neighbor 172.16.0.204;<br />
}<br />
group ASN-1010 {<br />
    type external;<br />
    peer-as 1010;<br />
    neighbor 172.16.0.200;<br />
}<br />
[edit protocols bgp]<br />
ebenz@junOS# </p>
<p>kita lihat status BGP nya kembali <img src='http://ebenz.indointernet.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
==========================</p>
<p>ebenz@junOS# run show bgp summary<br />
Groups: 2 Peers: 2 Down peers: 0<br />
Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending<br />
inet.0                 9          8          0          0          0          0<br />
Peer               AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn State|#Active/Received/Damped&#8230;<br />
172.16.0.200     1010          4          3       0       0          12 8/9/0                0/0/0<br />
172.16.0.204     3030          1          5       0       0           0 0/0/0                0/0/0</p>
<p>sebelum filtering kita coba lihat route yg di dapat  dari cisco dan quagga;<br />
======================================================</p>
<p>ebenz@junOS> show route advertising-protocol bgp 172.16.0.200 </p>
<p>inet.0: 14 destinations, 19 routes (14 active, 0 holddown, 0 hidden)<br />
  Prefix                  Nexthop              MED     Lclpref    AS path<br />
* 172.16.0.0/16           172.16.0.204                            3030 I<br />
* 192.192.191.0/24        172.16.0.204                            3030 I<br />
* 192.192.192.0/24        172.16.0.204                            3030 I<br />
* 192.192.193.0/24        172.16.0.204                            3030 I<br />
* 192.192.194.0/24        172.16.0.204                            3030 I<br />
* 192.192.195.0/24        172.16.0.204                            3030 I</p>
<p>ebenz@junOS> show route advertising-protocol bgp 172.16.0.204    </p>
<p>inet.0: 14 destinations, 19 routes (14 active, 0 holddown, 0 hidden)<br />
  Prefix                  Nexthop              MED     Lclpref    AS path<br />
* 192.100.1.0/24          172.16.0.200                            1010 ?<br />
* 192.100.2.0/24          172.16.0.200                            1010 ?<br />
* 192.100.3.0/24          172.16.0.200                            1010 ?<br />
* 192.100.4.0/24          172.16.0.200                            1010 ?<br />
* 192.100.5.0/24          172.16.0.200                            1010 ?</p>
]]></content:encoded>
			<wfw:commentRss>http://ebenz.indointernet.com/?feed=rss2&amp;p=199</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>[junOS] Filter prefix length ospf</title>
		<link>http://ebenz.indointernet.com/?p=194</link>
		<comments>http://ebenz.indointernet.com/?p=194#comments</comments>
		<pubDate>Sat, 14 Mar 2009 11:31:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mikrotik]]></category>

		<guid isPermaLink="false">http://ebenz.indointernet.com/?p=194</guid>
		<description><![CDATA[Biasanya tidak semua prefix mau di terima kita, misalnya ada ip2 private yg tidak mau kita terima routenya.
Pada case ini misal kita mau filter prefix 20.21.22.0/24 , kita lihat dulu route sebelumnya.
ebenz@enterprise# run show route &#124; match 20.21.22.
20.21.22.0/30      *[OSPF/150] 00:00:53, metric 21, tag 0
20.21.22.4/30      *[OSPF/150] [...]]]></description>
			<content:encoded><![CDATA[<p>Biasanya tidak semua prefix mau di terima kita, misalnya ada ip2 private yg tidak mau kita terima routenya.<br />
Pada case ini misal kita mau filter prefix 20.21.22.0/24 , kita lihat dulu route sebelumnya.</p>
<p>ebenz@enterprise# run show route | match 20.21.22.<br />
20.21.22.0/30      *[OSPF/150] 00:00:53, metric 21, tag 0<br />
20.21.22.4/30      *[OSPF/150] 00:00:53, metric 21, tag 0<br />
20.21.22.8/30      *[OSPF/150] 00:00:53, metric 21, tag 0<br />
20.21.22.12/30     *[OSPF/150] 00:00:53, metric 21, tag 0<br />
20.21.22.16/30     *[OSPF/150] 00:00:53, metric 21, tag 0<br />
20.21.22.20/30     *[OSPF/150] 00:00:53, metric 21, tag 0</p>
<p>[edit]<br />
ebenz@enterprise# </p>
<p><strong>simple config untuk mem-filter ip di ospf ;</strong></p>
<p>ebenz@enterprise# edit policy-options policy-statement ospf-filter<br />
[edit policy-options policy-statement ospf-filter]<br />
ebenz@enterprise# set term filter-private from neighbor 172.16.0.204<br />
ebenz@enterprise# set term filter-private from route-filter 20.21.22.0/24 orlonger<br />
ebenz@enterprise# set term filter-private then reject<br />
ebenz@enterprise# set term else then accept<br />
ebenz@enterprise# show<br />
term filter-private {<br />
    from {<br />
        neighbor 172.16.0.204;<br />
        route-filter 20.21.22.0/24 orlonger;<br />
    }<br />
    then reject;<br />
}<br />
term else {<br />
    then accept;<br />
}</p>
<p>[edit policy-options policy-statement ospf-filter]</p>
<p><strong>kemudian import statment pada protocol ospf</strong></p>
<p>ebenz@enterprise# edit protocols ospf    </p>
<p>[edit protocols ospf]<br />
ebenz@enterprise# set import ospf-filter </p>
<p>[edit protocols ospf]<br />
ebenz@enterprise# show<br />
import ospf-filter;<br />
area 0.0.0.1 {<br />
    interface fe-0/0/0.0 {<br />
        hello-interval 10;<br />
        neighbor 172.16.0.204;<br />
        neighbor 172.16.0.200;<br />
    }<br />
}</p>
<p>[edit protocols ospf]<br />
ebenz@enterprise# commit<br />
commit complete</p>
<p>[edit protocols ospf]<br />
ebenz@enterprise# run clear ospf neighbor </p>
<p>[edit protocols ospf]<br />
ebenz@enterprise# run show route | match 20.21.22. </p>
<p>[edit protocols ospf]</p>
<p>sudah hilang <img src='http://ebenz.indointernet.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  coba kita show route </p>
<p>ebenz@enterprise# top   </p>
<p>[edit]<br />
ebenz@enterprise# exit<br />
Exiting configuration mode</p>
<p>ebenz@enterprise> show route </p>
<p>inet.0: 21 destinations, 21 routes (21 active, 0 holddown, 0 hidden)<br />
+ = Active Route, &#8211; = Last Active, * = Both</p>
<p>0.0.0.0/0          *[OSPF/150] 00:00:56, metric 1, tag 0<br />
                    > to 172.16.0.200 via fe-0/0/0.0<br />
30.31.32.0/30      *[OSPF/150] 00:00:51, metric 21, tag 0<br />
                    > to 172.16.0.204 via fe-0/0/0.0<br />
30.31.32.4/30      *[OSPF/150] 00:00:51, metric 21, tag 0<br />
                    > to 172.16.0.204 via fe-0/0/0.0<br />
30.31.32.8/30      *[OSPF/150] 00:00:51, metric 21, tag 0<br />
                    > to 172.16.0.204 via fe-0/0/0.0<br />
30.31.32.12/30     *[OSPF/150] 00:00:51, metric 21, tag 0<br />
                    > to 172.16.0.204 via fe-0/0/0.0<br />
30.31.32.16/30     *[OSPF/150] 00:00:51, metric 21, tag 0<br />
                    > to 172.16.0.204 via fe-0/0/0.0<br />
40.41.42.0/30      *[OSPF/150] 00:00:51, metric 21, tag 0<br />
                    > to 172.16.0.204 via fe-0/0/0.0<br />
40.41.42.4/30      *[OSPF/150] 00:00:51, metric 21, tag 0<br />
                    > to 172.16.0.204 via fe-0/0/0.0<br />
40.41.42.8/30      *[OSPF/150] 00:00:51, metric 21, tag 0<br />
                    > to 172.16.0.204 via fe-0/0/0.0<br />
40.41.42.12/30     *[OSPF/150] 00:00:51, metric 21, tag 0<br />
                    > to 172.16.0.204 via fe-0/0/0.0<br />
40.41.42.16/30     *[OSPF/150] 00:00:51, metric 21, tag 0<br />
                    > to 172.16.0.204 via fe-0/0/0.0</p>
]]></content:encoded>
			<wfw:commentRss>http://ebenz.indointernet.com/?feed=rss2&amp;p=194</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[OSPF basic] junOS &#8211; quagga &#8211; mikrotik</title>
		<link>http://ebenz.indointernet.com/?p=184</link>
		<comments>http://ebenz.indointernet.com/?p=184#comments</comments>
		<pubDate>Sat, 14 Mar 2009 09:56:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mikrotik]]></category>

		<guid isPermaLink="false">http://ebenz.indointernet.com/?p=184</guid>
		<description><![CDATA[Melanjutkan OSPF quagga &#60;&#62; mikrotik  mumpung lagi ada perangkat (thx bang maman),  kita tambahkan lagi neigbhor baru dengan perangkat juniper j2300 series dalam satu network.
                              quagga
                                    / \
                                  /     \
                         junOS   Mikrotik
- config IP dan protocols ospf di junOS
login: ebenz
Password:
&#8212; JUNOS 8.3R1.5 built 2007-04-13 22:22:33 UTC
ebenz@enterprise&#62;
ebenz@enterprise# set interfaces fe-0/0/0 unit 0 family inet address 172.16.0.201/28
ebenz@enterprise# edit [...]]]></description>
			<content:encoded><![CDATA[<p>Melanjutkan <a href="http://ebenz.indointernet.com/?p=181" target="_blank">OSPF quagga &lt;&gt; mikrotik </a> mumpung lagi ada perangkat (thx bang maman),  kita tambahkan lagi neigbhor baru dengan perangkat juniper j2300 series dalam satu network.</p>
<p>                              quagga<br />
                                    / \<br />
                                  /     \<br />
                         junOS   Mikrotik</p>
<p><strong>- config IP dan protocols ospf di junOS</strong><br />
login: ebenz<br />
Password:</p>
<p>&#8212; JUNOS 8.3R1.5 built 2007-04-13 22:22:33 UTC<br />
ebenz@enterprise&gt;<br />
ebenz@enterprise# set interfaces fe-0/0/0 unit 0 family inet address 172.16.0.201/28<br />
ebenz@enterprise# edit interfaces<br />
[edit interfaces]<br />
ebenz@enterprise# show<br />
fe-0/0/0 {<br />
description WAN;<br />
unit 0 {<br />
family inet {<br />
address 172.16.0.201/28;<br />
}<br />
}<br />
}<br />
[edit interfaces]<br />
ebenz@enterprise# set protocols ospf area 0.0.0.1 interface fe-0/0/0.0 hello-interval 10<br />
<strong>note, untuk neigbhor bisa juga tidak diset</strong><br />
ebenz@enterprise# edit protocols<br />
[edit protocols]<br />
ebenz@enterprise# show<br />
ospf {<br />
area 0.0.0.1 {<br />
interface fe-0/0/0.0 {<br />
hello-interval 10;<br />
neighbor 172.16.0.204;<br />
neighbor 172.16.0.200;<br />
}<br />
}<br />
}</p>
<p>[edit protocols]<br />
ebenz@enterprise# commit<br />
commit complete</p>
<p>[edit protocols]<br />
ebenz@enterprise#</p>
<p><strong>- check status ospf </strong></p>
<p>ebenz@enterprise# up</p>
<p>[edit]<br />
ebenz@enterprise# exit<br />
Exiting configuration mode</p>
<p>ebenz@enterprise&gt; show ospf neighbor<br />
Address Interface State ID Pri Dead<br />
172.16.0.204 fe-0/0/0.0 Full 172.16.0.204 1 39<br />
172.16.0.200 fe-0/0/0.0 Full 172.16.0.200 0 38</p>
<p><strong>check route </strong>check  route</p>
<p>ebenz@enterprise&gt; show route</p>
<p>inet.0: 27 destinations, 27 routes (27 active, 0 holddown, 0 hidden)<br />
+ = Active Route, &#8211; = Last Active, * = Both</p>
<p>0.0.0.0/0 *[OSPF/150] 00:24:48, metric 1, tag 0<br />
&gt; to 172.16.0.200 via fe-0/0/0.0<br />
20.21.22.0/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
20.21.22.4/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
20.21.22.8/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
20.21.22.12/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
20.21.22.16/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
20.21.22.20/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
30.31.32.0/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
30.31.32.4/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
30.31.32.8/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
30.31.32.12/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
30.31.32.16/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
40.41.42.0/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
40.41.42.4/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
40.41.42.8/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
40.41.42.12/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
40.41.42.16/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
40.41.42.20/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
40.41.42.24/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
40.41.42.28/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
40.41.42.32/30 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
169.254.0.0/16 *[OSPF/150] 00:24:48, metric 20, tag 0<br />
&gt; to 172.16.0.200 via fe-0/0/0.0<br />
172.16.0.192/28 *[Direct/0] 23:41:13<br />
&gt; via fe-0/0/0.0<br />
172.16.0.201/32 *[Local/0] 23:41:13<br />
Local via fe-0/0/0.0<br />
192.168.99.0/24 *[OSPF/150] 00:24:48, metric 21, tag 0<br />
&gt; to 172.16.0.204 via fe-0/0/0.0<br />
202.53.253.0/27 *[OSPF/150] 00:24:48, metric 20, tag 0<br />
&gt; to 172.16.0.200 via fe-0/0/0.0<br />
224.0.0.5/32 *[OSPF/10] 01:41:03, metric 1<br />
MultiRecv</p>
<p> </p>
<p><strong>ebenz@enterprise# run show route 0.0.0.0</strong></p>
<p>inet.0: 27 destinations, 27 routes (27 active, 0 holddown, 0 hidden)<br />
+ = Active Route, &#8211; = Last Active, * = Both</p>
<p><strong>0.0.0.0/0 *[OSPF/150] 00:30:37, metric 1, tag 0<br />
</strong>&gt; to 172.16.0.200 via fe-0/0/0.0</p>
<p>[edit protocols ospf area 0.0.0.1]</p>
<p><strong>check route di quagga </strong></p>
<p>Router# sh ip route<br />
Codes: K &#8211; kernel route, C &#8211; connected, S &#8211; static, R &#8211; RIP, O &#8211; OSPF,<br />
I &#8211; ISIS, B &#8211; BGP, &gt; &#8211; selected route, * &#8211; FIB route</p>
<p>O&gt;* 20.21.22.0/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 20.21.22.4/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 20.21.22.8/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 20.21.22.12/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 20.21.22.16/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 20.21.22.20/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 30.31.32.0/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 30.31.32.4/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 30.31.32.8/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 30.31.32.12/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 30.31.32.16/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 40.41.42.0/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 40.41.42.4/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 40.41.42.8/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 40.41.42.12/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 40.41.42.16/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 40.41.42.20/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 40.41.42.24/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 40.41.42.28/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
O&gt;* 40.41.42.32/30 [110/30] via 172.16.0.204, eth0, 01:06:21<br />
C&gt;* 127.0.0.0/8 is directly connected, lo<br />
K&gt;* 169.254.0.0/16 is directly connected, eth0<br />
O 172.16.0.192/28 [110/10] is directly connected, eth0, 03:51:53<br />
C&gt;* 172.16.0.192/28 is directly connected, eth0<br />
O&gt;* 192.168.99.0/24 [110/30] via 172.16.0.204, eth0, 01:06:21</p>
]]></content:encoded>
			<wfw:commentRss>http://ebenz.indointernet.com/?feed=rss2&amp;p=184</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Basic configurasi OSPF Quagga vs Mikrotik</title>
		<link>http://ebenz.indointernet.com/?p=181</link>
		<comments>http://ebenz.indointernet.com/?p=181#comments</comments>
		<pubDate>Sat, 14 Mar 2009 07:57:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mikrotik]]></category>

		<guid isPermaLink="false">http://ebenz.indointernet.com/?p=181</guid>
		<description><![CDATA[Basic configure untuk ospf di quagga (asumsi zebra, ospfd sudah terinstall)
quangga1 (172.16.0.200/28) &#8212;&#8212; (172.16.0.204/28)Mikrotik
- config IP address di zebra
[ebenz@ebenz ~]$ telnet localhost 2601
Trying 127.0.0.1&#8230;
Connected to localhost.localdomain (127.0.0.1).
Escape character is &#8216;^]&#8217;.
Hello, this is Quagga (version 0.98.3).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
User Access Verification
Password:
Router> en
Password:
Router#
Router# conf t
Router(config)# int eth0
Router(config-if)# ip ad
Router(config-if)# ip address 172.16.0.200/28
Router#
- config router ospf [...]]]></description>
			<content:encoded><![CDATA[<p>Basic configure untuk ospf di quagga (asumsi zebra, ospfd sudah terinstall)</p>
<p>quangga1 (172.16.0.200/28) &#8212;&#8212; (172.16.0.204/28)Mikrotik</p>
<p>- config IP address di zebra<br />
[ebenz@ebenz ~]$ telnet localhost 2601<br />
Trying 127.0.0.1&#8230;<br />
Connected to localhost.localdomain (127.0.0.1).<br />
Escape character is &#8216;^]&#8217;.</p>
<p>Hello, this is Quagga (version 0.98.3).<br />
Copyright 1996-2005 Kunihiro Ishiguro, et al.<br />
User Access Verification<br />
Password:<br />
Router> en<br />
Password:<br />
Router#<br />
Router# conf t<br />
Router(config)# int eth0<br />
Router(config-if)# ip ad<br />
Router(config-if)# ip address 172.16.0.200/28<br />
Router#</p>
<p><strong>- config router ospf  (ospfd)</strong></p>
<p>ospfd# conf t<br />
ospfd(config)# router ospf<br />
ospfd(config-router)# ospf router-id 172.16.0.200<br />
ospfd(config-router)# redistribute kernel<br />
ospfd(config-router)# redistribute connected<br />
ospfd(config-router)# redistribute static<br />
ospfd(config-router)# network 172.16.0.192/28 area 0.0.0.1<br />
ospfd(config-router)# default-information originate always<br />
ospfd(config-router)# end</p>
<p>-<strong> Setting IP address Mikrotik</strong></p>
<p>[admin@MikroTik] > ip address add address=172.16.0.204/28 interface=Backbone  </p>
<p><strong>- config routing ospf Mikrotik </strong></p>
<p>[admin@MikroTik] > routing ospf set router-id=172.16.0.204<br />
[admin@MikroTik] > routing ospf set distribute-default=never (note, neigbhor sudah aktif)<br />
[admin@MikroTik] > routing ospf set redistribute-connected=as-type-2<br />
[admin@MikroTik] > routing ospf set redistribute-static=as-type-2 </p>
<p><strong>- config area &#038; network </strong></p>
<p>[admin@MikroTik] > routing ospf area add area-id=0.0.0.1 name=area1<br />
[admin@MikroTik] > routing ospf network add network=172.16.0.192/28 area=area1</p>
<p>secara basic dan default setting ospf di quangga dan mikrotik sudah selesai, tingal kita lihat statusnya<br />
di Mikrotik dan quangga<br />
Mikrotik ;<br />
[admin@MikroTik] > routing ospf neighbor print<br />
 router-id=172.16.0.200 address=172.16.0.204 priority=1 state=&#8221;2-Way&#8221; state-changes=0 ls-retransmits=0 ls-requests=0    db-summaries=0 dr-id=172.16.0.204 backup-dr-id=0.0.0.0</p>
<p>ups, sepertinya belum full. Check debug ospf pada log ;</p>
<p>[admin@MikroTik] routing> /log print<br />
13:08:01 ospf,debug Hello received from 172.16.0.200 via [eth1:172.16.0.204]<br />
13:08:01 ospf,debug Hello from 172.16.0.200: invalid HelloInterval 3, expected 10<br />
13:08:04 ospf,debug Hello received from 172.16.0.200 via [eth1:172.16.0.204]<br />
13:08:04 ospf,debug Hello from 172.16.0.200: invalid HelloInterval 3, expected 10<br />
13:08:05 ospf,debug Hello sent to 224.0.0.5 via[eth1:172.16.0.204]<br />
13:08:07 ospf,debug Hello received from 172.16.0.200 via [eth1:172.16.0.204]<br />
13:08:07 ospf,debug Hello from 172.16.0.200: invalid HelloInterval 3, expected 10<br />
13:08:10 ospf,debug Hello received from 172.16.0.200 via [eth1:172.16.0.204]<br />
13:08:10 ospf,debug Hello from 172.16.0.200: invalid HelloInterval 3, expected 10<br />
13:08:13 ospf,debug Hello received from 172.16.0.200 via [eth1:172.16.0.204]<br />
13:08:13 ospf,debug Hello from 172.16.0.200: invalid HelloInterval 3, expected 10   </p>
<p>dari hasil log ada ketidak cocokan hellointerval antara quangga dan Mikrotik.<br />
Check default hellointerval di quangga dan sesuaikan sesuai informasi log yaitu 10</p>
<p>ospfd# conf t<br />
ospfd(config)# int eth0<br />
ospfd(config-if)# ip ospf hello-interval 10<br />
ospfd(config-if)# end</p>
<p><strong>before quangga</strong>;<br />
ospfd# sh ip ospf neighbor<br />
Neighbor ID     Pri   State           Dead Time   Address         Interface           RXmtL RqstL DBsmL<br />
<strong>before mikrotik</strong>;<br />
router-id=172.16.0.204 address=172.16.0.204 priority=1 state=&#8221;2-Way&#8221; state-changes=0 ls-retransmits=0 ls-requests=0 db-summaries=0 dr-id=172.16.0.204 backup-dr-id=0.0.0.0<br />
<strong><br />
After quangga;</strong><br />
ospfd# sh ip ospf neighbor<br />
Neighbor ID     Pri   State           Dead Time   Address         Interface           RXmtL RqstL DBsmL<br />
172.16.0.204      1   Full/DR         00:00:39    172.16.0.204    eth0:172.16.0.200     0     0     0<br />
<strong>After Mikrotik;</strong><br />
[admin@MikroTik] > routing ospf neighbor print<br />
 router-id=172.16.0.200 address=172.16.0.200 priority=0 state=&#8221;Full&#8221; state-changes=5 ls-retransmits=0 ls-requests=0   db-summaries=0 dr-id=172.16.0.204 backup-dr-id=0.0.0.0<br />
 router-id=172.16.0.204 address=172.16.0.204 priority=1 state=&#8221;2-Way&#8221; state-changes=0 ls-retransmits=0 ls-requests=0  db-summaries=0 dr-id=172.16.0.204 backup-dr-id=0.0.0.0 </p>
<p>check route di quangga </p>
<p>Router# sh ip route<br />
Codes: K &#8211; kernel route, C &#8211; connected, S &#8211; static, R &#8211; RIP, O &#8211; OSPF,<br />
       I &#8211; ISIS, B &#8211; BGP, > &#8211; selected route, * &#8211; FIB route</p>
<p>O>* 20.21.22.0/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 20.21.22.4/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 20.21.22.8/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 20.21.22.12/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 20.21.22.16/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 20.21.22.20/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 30.31.32.0/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 30.31.32.4/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 30.31.32.8/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 30.31.32.12/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 30.31.32.16/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 40.41.42.0/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 40.41.42.4/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 40.41.42.8/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 40.41.42.12/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 40.41.42.16/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 40.41.42.20/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 40.41.42.24/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 40.41.42.28/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
O>* 40.41.42.32/30 [110/20] via 172.16.0.204, eth0, 00:05:12<br />
C>* 127.0.0.0/8 is directly connected, lo<br />
K>* 169.254.0.0/16 is directly connected, eth0<br />
O   172.16.0.192/28 [110/10] is directly connected, eth0, 01:57:17<br />
C>* 172.16.0.192/28 is directly connected, eth0<br />
O>* 192.168.99.0/24 [110/20] via 172.16.0.204, eth0, 00:05:12</p>
]]></content:encoded>
			<wfw:commentRss>http://ebenz.indointernet.com/?feed=rss2&amp;p=181</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transparent Porxy Squid Version 2.6.STABLE6</title>
		<link>http://ebenz.indointernet.com/?p=171</link>
		<comments>http://ebenz.indointernet.com/?p=171#comments</comments>
		<pubDate>Fri, 13 Feb 2009 08:25:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ebenz.indo.net.id/blog/?p=171</guid>
		<description><![CDATA[Di versi squid 2.5.STABLE14 untuk enable transparent proxy biasa kita tambahkan 4 baris ;
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
reload config  coba redirect/dnat port jalan dech. 
Dan lama nunggu yg stable akhirnya keluar 2.6.Stable6   , ketika di jajal copy paste squid.conf yg lama 
keluar error   
2009/02/13 15:24:01&#124; parseConfigFile: squid.conf:3096 unrecognized: &#8216;httpd_accel_host&#8217;
2009/02/13 15:24:01&#124; [...]]]></description>
			<content:encoded><![CDATA[<p>Di versi squid 2.5.STABLE14 untuk enable transparent proxy biasa kita tambahkan 4 baris ;</p>
<p>httpd_accel_host virtual<br />
httpd_accel_port 80<br />
httpd_accel_with_proxy on<br />
httpd_accel_uses_host_header on</p>
<p>reload config  coba redirect/dnat port jalan dech. </p>
<p>Dan lama nunggu yg stable akhirnya keluar 2.6.Stable6 <img src='http://ebenz.indointernet.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  , ketika di jajal copy paste squid.conf yg lama <img src='http://ebenz.indointernet.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
keluar error <img src='http://ebenz.indointernet.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  </p>
<p>2009/02/13 15:24:01| parseConfigFile: squid.conf:3096 unrecognized: &#8216;httpd_accel_host&#8217;<br />
2009/02/13 15:24:01| parseConfigFile: squid.conf:3097 unrecognized: &#8216;httpd_accel_port&#8217;<br />
2009/02/13 15:24:01| parseConfigFile: squid.conf:3098 unrecognized: &#8216;httpd_accel_with_proxy&#8217;<br />
2009/02/13 15:24:01| parseConfigFile: squid.conf:3099 unrecognized: &#8216;httpd_accel_uses_host_header&#8217;</p>
<p>browsing2 dikit ke google ternyata lain, padahal di squid.conf keterangannya dah jelas tuch <img src='http://ebenz.indointernet.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  </p>
<p>#  TAG: http_port<br />
#       Usage:  port [options]<br />
#               hostname:port [options]<br />
#               1.2.3.4:port [options]</p>
<p>#       Options:<br />
#<br />
#          transparent  Support for transparent interception of<br />
#                       outgoing requests without browser settings.</p>
<p>Yah gitu dech kalo males baca <img src='http://ebenz.indointernet.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  , jadi config yg baru cukup simple ;</p>
<p>http_port 3128 transparent</p>
<p>dgn begitu sudah bisa jalan, ada option lain katanya squid ;</p>
<p>#       Usage:  [ip:]port cert=certificate.pem [key=key.pem] [options...]<br />
#       The socket address where Squid will listen for HTTPS client<br />
#       requests.</p>
<p>http_port 192.168.10.1:3128 transparent</p>
<p>just fur newbies <img src='http://ebenz.indointernet.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://ebenz.indointernet.com/?feed=rss2&amp;p=171</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable syslogd Server on Linux (fur newbie)</title>
		<link>http://ebenz.indointernet.com/?p=159</link>
		<comments>http://ebenz.indointernet.com/?p=159#comments</comments>
		<pubDate>Fri, 13 Feb 2009 03:36:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ebenz.indo.net.id/blog/?p=159</guid>
		<description><![CDATA[Services syslogd secara default hanya logging pada localhost. Untuk bisa menampung log dari luar dan dijadikan sebagai server ada ada 2 cara;
1. Jalankan syslogd dgn menambahkan option -r
&#8220;syslogd -r&#8221;
2. Rubah file menjadi &#8221; SYSLOGD_OPTIONS=&#8221;-r&#8221; di /etc/sysconfig/syslog sesuai kebutuhan
# Options to syslogd
# -m 0 disables &#8216;MARK&#8217; messages.
# -r enables logging from remote machines
# -x disables DNS [...]]]></description>
			<content:encoded><![CDATA[<p>Services syslogd secara default hanya logging pada localhost. Untuk bisa menampung log dari luar dan dijadikan sebagai server ada ada 2 cara;</p>
<p>1. Jalankan syslogd dgn menambahkan option -r</p>
<p>&#8220;syslogd -r&#8221;</p>
<p>2. Rubah file menjadi &#8221; SYSLOGD_OPTIONS=&#8221;-r&#8221; di /etc/sysconfig/syslog sesuai kebutuhan</p>
<p># Options to syslogd<br />
# -m 0 disables &#8216;MARK&#8217; messages.<br />
# -r enables logging from remote machines<br />
# -x disables DNS lookups on messages recieved with -r</p>
<p>Restart dech servicesnya <img src='http://ebenz.indointernet.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>[root@noc /]# netstat -anu | grep 514<br />
udp        0      0 0.0.0.0:514                 0.0.0.0:*  </p>
<p>udp 514 dah listen berarti dah bisa terima logging dari luar , atur lagi file /etc/syslogd.conf untuk filtering nya.</p>
]]></content:encoded>
			<wfw:commentRss>http://ebenz.indointernet.com/?feed=rss2&amp;p=159</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trunking switch Adtran &amp; Mikrotik</title>
		<link>http://ebenz.indointernet.com/?p=104</link>
		<comments>http://ebenz.indointernet.com/?p=104#comments</comments>
		<pubDate>Sat, 14 Jun 2008 06:53:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mikrotik]]></category>
		<category><![CDATA[Technologi]]></category>

		<guid isPermaLink="false">http://eandriana.wordpress.com/?p=104</guid>
		<description><![CDATA[VLAN-SWITCH#sh ver
ADTRAN, Inc. OS version 13.10.00
  Checksum: 2054C82B, built on Tue Dec 04 13:40:18 2007
  Upgrade key: 68a2fe5412a6c447084e1a4d4873d7ff
Boot ROM version 12.02.00
  Checksum: C440, built on: Fri May 12 15:14:02 2006
Copyright (c) 1999-2006, ADTRAN, Inc.
Platform: NetVanta 1224ST, part number 1200504L1
Serial number G15C5195
Flash: 8388608 bytes  DRAM: 16777215 bytes
VLAN-SWITCH uptime is 1 days, 2 [...]]]></description>
			<content:encoded><![CDATA[<p>VLAN-SWITCH#sh ver<br />
ADTRAN, Inc. OS version 13.10.00<br />
  Checksum: 2054C82B, built on Tue Dec 04 13:40:18 2007<br />
  Upgrade key: 68a2fe5412a6c447084e1a4d4873d7ff<br />
Boot ROM version 12.02.00<br />
  Checksum: C440, built on: Fri May 12 15:14:02 2006<br />
Copyright (c) 1999-2006, ADTRAN, Inc.<br />
Platform: NetVanta 1224ST, part number 1200504L1<br />
Serial number G15C5195<br />
Flash: 8388608 bytes  DRAM: 16777215 bytes</p>
<p>VLAN-SWITCH uptime is 1 days, 2 hours, 13 minutes, 24 seconds</p>
<p>System returned to ROM by Hard Reset<br />
Current system image file is &#8220;NV1224A-13-10-00.biz&#8221;<br />
Primary boot system image file is &#8220;NV1224A-13-10-00.biz&#8221;<br />
Backup boot system image file is &#8220;9200500-2A1202.biz&#8221;<br />
Primary system configuration file is &#8220;startup-config&#8221;</p>
<p>VLAN-SWITCH#sh run int eth 0/24<br />
Building configuration&#8230;<br />
!<br />
!<br />
interface eth 0/24<br />
  description TRUNK-MIKROTIK<br />
  speed 100<br />
  no shutdown<br />
  switchport mode trunk<br />
!<br />
end</p>
<p>VLAN-SWITCH#sh run in eth 0/20<br />
Building configuration&#8230;<br />
!<br />
!<br />
interface eth 0/20<br />
  no shutdown<br />
  switchport access vlan 2<br />
!<br />
end</p>
<p>==============================================<br />
                             Mikrotik Config<br />
==============================================</p>
<p>[admin@MikroTik] &gt; interface print<br />
Flags: X &#8211; disabled, R &#8211; running, D &#8211; dynamic, S &#8211; slave<br />
 #    NAME                            TYPE             MTU<br />
 0 R  ISP-PTP                        ether            1500<br />
 2 R  DMZ                             ether            1500<br />
 3 R  ADTRAN-TRUNK              ether            1500<br />
 5 R  vlan2                            vlan             1500</p>
<p>[admin@MikroTik] &gt; interface vlan print<br />
Flags: X &#8211; disabled, R &#8211; running, S &#8211; slave<br />
 #    NAME         MTU  ARP        VLAN-ID INTERFACE<br />
 0 R  vlan2        1500 enabled    2       ADTRAN-TRUNK</p>
<p>[admin@MikroTik] &gt; ip address print<br />
Flags: X &#8211; disabled, I &#8211; invalid, D &#8211; dynamic<br />
 #   ADDRESS            NETWORK         BROADCAST       INTERFACE<br />
 0   10.2.1.1/24        10.2.1.0        10.2.1.255      vlan2</p>
<p>[admin@MikroTik] &gt; ip dhcp-server print<br />
Flags: X &#8211; disabled, I &#8211; invalid<br />
 #   NAME   INT&#8230; RELAY           ADDRESS-POOL      LEASE-TIME ADD<br />
 0   dhcp1  vlan2                  dhcp_pool2        1d</p>
<p>salam,</p>
<p>Ervin Taufik</p>
]]></content:encoded>
			<wfw:commentRss>http://ebenz.indointernet.com/?feed=rss2&amp;p=104</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Encrypt date access.log di squid</title>
		<link>http://ebenz.indointernet.com/?p=7</link>
		<comments>http://ebenz.indointernet.com/?p=7#comments</comments>
		<pubDate>Fri, 25 Jan 2008 09:38:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://eandriana.wordpress.com/?p=7</guid>
		<description><![CDATA[Access.log di squid biasanya diperlukan untuk monitoring sys-admin akan access internet dari client2. Dan sebagian squid versi lama masih belum menginformasikan date pada access.log . Sehingga kita tidak tau kapan user mengaccess site yang ada di access.log .
Jika kita malas compile ulang kita bisa menggunakan script perl untuk encrypt access.log menjadi  date dengan catatan [...]]]></description>
			<content:encoded><![CDATA[<p>Access.log di squid biasanya diperlukan untuk monitoring sys-admin akan access internet dari client2. Dan sebagian squid versi lama masih belum menginformasikan date pada access.log . Sehingga kita tidak tau kapan user mengaccess site yang ada di access.log .</p>
<p>Jika kita malas compile ulang kita bisa menggunakan script perl untuk encrypt access.log menjadi  date dengan catatan perl sudah terinstall di system kita.</p>
<p>Data access.log sebelum di encrypt<br />
[root@squid logs]# tail access.log<br />
<i><b>1199960883.185 </b></i>    16 202.159.18.194 TCP_MISS/304 294 GET http://us.js2.yimg.com/us.js.yimg.com/lib/msg/js/clientad_071214.js &#8211; DIRECT/202.159.22.8 application/x-javascript<br />
1199960883.276     15 202.159.18.194 TCP_CLIENT_REFRESH_MISS/304 294 GET http://l.yimg.com/us.js.yimg.com/lib/bc/bc_2.0.4.js &#8211; DIRECT/202.159.22.8 application/x-javascript<br />
1199960883.562    286 202.159.18.194 TCP_MISS/200 423 GET http://us.bc.yahoo.com/b? &#8211; DIRECT/203.84.204.69 image/gif<br />
1199960883.866    680 202.159.18.194 TCP_MISS/200 1631 GET http://media.adrevolver.com/adrevolver/banner? &#8211; DIRECT/216.205.149.2 text/html<br />
1199960884.992   1126 202.159.18.194 TCP_MISS/200 5903 GET http://view.atdmt.com/VON/iview/rdmnnvos0270000142von/direct/01/1199960889897? &#8211; DIRECT/65.203.229.43 text/html<br />
1199960886.266     89 202.159.18.194 TCP_CLIENT_REFRESH_MISS/200 286 GET http://rmd.atdmt.com/tl//DocumentDotWrite.js &#8211; DIRECT/202.159.22.8 application/x-javascript<br />
1199960886.587    320 202.159.18.194 TCP_MISS/200 27051 GET http://spe.atdmt.com/ds/VOVONVNGEVOS/07COREfree_etab_234&#215;60_.swf? &#8211; DIRECT/202.159.22.7 application/x-shockwave-flash<br />
1199960900.715  56184 202.159.18.194 TCP_MISS/200 1434 CONNECT 84.100.145.36:443 &#8211; DIRECT/84.100.145.36 -<br />
1199960903.568      1 202.159.18.194 TCP_MISS/000 0 CONNECT 220.130.140.91:443 &#8211; NONE/- -<br />
1199960924.812  20046 202.159.18.194 TCP_MISS/200 154 CONNECT 220.142.10.9:443 &#8211; DIRECT/220.142.10.9 -</p>
<p>Setelah diencrypt dengan menggunakan  perl -pe &#8217;s/\d+/localtime($&amp;)/e&#8217;</p>
<p>[root@squid logs]#  perl -pe &#8217;s/\d+/localtime($&amp;)/e&#8217; access.log | tail<br />
<b><i>Thu Jan 10 17:28:03 2008.185 </i></b>    16 202.159.18.194 TCP_MISS/304 294 GET http://us.js2.yimg.com/us.js.yimg.com/lib/msg/js/clientad_071214.js &#8211; DIRECT/202.159.22.8 application/x-javascript<br />
Thu Jan 10 17:28:03 2008.276     15 202.159.18.194 TCP_CLIENT_REFRESH_MISS/304 294 GET http://l.yimg.com/us.js.yimg.com/lib/bc/bc_2.0.4.js &#8211; DIRECT/202.159.22.8 application/x-javascript<br />
Thu Jan 10 17:28:03 2008.562    286 202.159.18.194 TCP_MISS/200 423 GET http://us.bc.yahoo.com/b? &#8211; DIRECT/203.84.204.69 image/gif<br />
Thu Jan 10 17:28:03 2008.866    680 202.159.18.194 TCP_MISS/200 1631 GET http://media.adrevolver.com/adrevolver/banner? &#8211; DIRECT/216.205.149.2 text/html<br />
Thu Jan 10 17:28:04 2008.992   1126 202.159.18.194 TCP_MISS/200 5903 GET http://view.atdmt.com/VON/iview/rdmnnvos0270000142von/direct/01/1199960889897? &#8211; DIRECT/65.203.229.43 text/html<br />
Thu Jan 10 17:28:06 2008.266     89 202.159.18.194 TCP_CLIENT_REFRESH_MISS/200 286 GET http://rmd.atdmt.com/tl//DocumentDotWrite.js &#8211; DIRECT/202.159.22.8 application/x-javascript<br />
Thu Jan 10 17:28:06 2008.587    320 202.159.18.194 TCP_MISS/200 27051 GET http://spe.atdmt.com/ds/VOVONVNGEVOS/07COREfree_etab_234&#215;60_.swf? &#8211; DIRECT/202.159.22.7 application/x-shockwave-flash<br />
Thu Jan 10 17:28:20 2008.715  56184 202.159.18.194 TCP_MISS/200 1434 CONNECT 84.100.145.36:443 &#8211; DIRECT/84.100.145.36 -<br />
Thu Jan 10 17:28:23 2008.568      1 202.159.18.194 TCP_MISS/000 0 CONNECT 220.130.140.91:443 &#8211; NONE/- -<br />
Thu Jan 10 17:28:44 2008.812  20046 202.159.18.194 TCP_MISS/200 154 CONNECT 220.142.10.9:443 &#8211; DIRECT/220.142.10.9 -<br />
Semoga membantu</p>
<p>rgs,</p>
<p>Ervin Taufik</p>
]]></content:encoded>
			<wfw:commentRss>http://ebenz.indointernet.com/?feed=rss2&amp;p=7</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
