<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5453778411035135848</id><updated>2012-01-26T22:13:15.476+05:30</updated><category term='cef'/><category term='ACL'/><category term='mikrotik queue tree'/><category term='CISCO'/><category term='shorten'/><category term='802.3az'/><category term='vulnerability'/><category term='/31 mask'/><category term='ipcp'/><category term='undocumented ios command'/><category term='network related'/><category term='x32.php'/><category term='projects'/><category term='column'/><category term='rfc1812'/><category term='GNS3'/><category term='mikrotik queue priority'/><category term='BSCI'/><category term='Network Data Streaming'/><category term='windows 7'/><category term='rootkit.com'/><category term='xampp'/><category term='aliases'/><category term='l2tpv3'/><category term='neighbor issue'/><category term='NBMA'/><category term='Qos'/><category term='sharing bandwidth.'/><category term='cisco point to point interface'/><category term='traceroute'/><category term='performance'/><category term='PCQ'/><category term='ip address saving'/><category term='network managment'/><category term='attribute list'/><category term='backup'/><category term='Framerelay'/><category term='bgp configuration'/><category term='mikrotik bandwidth manager'/><category term='mysql'/><category term='recent'/><category term='webdav'/><category term='security'/><category term='bandwidth control'/><category term='host byte order.'/><category term='mikrtik x86'/><category term='automatic'/><category term='nat terminology'/><category term='pptp'/><category term='traffic shaping'/><category term='Energy Efficient Ethernet'/><category term='wireshark'/><category term='bgp design and implementation configuration'/><category term='wirless'/><category term='icmp'/><category term='point to point interface'/><category term='prefix deaggregation'/><category term='hierarchical'/><category term='Qubes Os'/><category term='subnet'/><category term='same ip to two interfaces'/><category term='html'/><category term='neo'/><category term='CCNP'/><category term='testing'/><category term='DDOS'/><category term='switching order'/><category term='Queue'/><category term='xml to html'/><category term='1portcons`le server'/><category term='mikrotik'/><category term='ipsec'/><category term='client'/><category term='phpcode'/><category term='perl'/><category term='ospf'/><category term='show ip ospf route'/><category term='network address translation'/><category term='ANSI color code'/><category term='ISIS'/><category term='mpls'/><category term='mikrotik serial port'/><category term='CCNA'/><category term='ppp interface'/><category term='ipaddress search'/><category term='ios'/><category term='ios mpls commands'/><category term='mikrotik bandwidth control'/><category term='network byte order'/><category term='Packet Tracer'/><category term='windows'/><category term='local as'/><category term='Virtualization'/><category term='pseudowire'/><category term='sateful nat'/><category term='idea'/><category term='Conditional Advertisement'/><category term='breach'/><category term='BGP'/><category term='Netflow processing'/><category term='nmap'/><category term='proxy arp'/><category term='icmp-unreachable'/><category term='inject map'/><category term='INET_ATON'/><category term='server'/><category term='qemu'/><category term='lab'/><category term='iptables'/><category term='snat'/><category term='queue tree'/><category term='ip to switch port mapping'/><category term='packet switching'/><category term='ftp'/><category term='content change'/><category term='ipv6'/><category term='terminal server'/><category term='Network Monitoring'/><title type='text'>To share what I've learned !</title><subtitle type='html'>Network related development, Advanced Routing(OSPF, BGP) related topics and Cisco related posts will be published.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>46</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-5087575246552197630</id><published>2011-12-09T13:08:00.000+05:30</published><updated>2011-12-09T13:08:56.032+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='nmap'/><category scheme='http://www.blogger.com/atom/ns#' term='xml to html'/><category scheme='http://www.blogger.com/atom/ns#' term='traceroute'/><category scheme='http://www.blogger.com/atom/ns#' term='ipv6'/><category scheme='http://www.blogger.com/atom/ns#' term='html'/><title type='text'>Producing IPv6 traceroute results in HTML format using NMAP</title><content type='html'>I searched how we can display the IPv6 trace-route results to web in automated manner. There may be different PHP / perl modules but using nmap trace route option we can archive similar fashion. &lt;br /&gt;&lt;br /&gt;we can have the list of hosts separated by space &lt;br /&gt;nmap.org www.apnic.net he.net&lt;br /&gt;&lt;br /&gt;we can use following command to create the XML output. &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;nmap -6 --traceroute -vv -iL TestList -sn -oX test.xml --stylesheet /usr/share/nmap/nmap.xsl&lt;br /&gt;&lt;/pre&gt;-6 to enable IPv6&lt;br /&gt;-vv increase the verbosity of the oubput&lt;br /&gt;--sn no port scan&lt;br /&gt;-oX output XML&lt;br /&gt;--stylesheet where to find { to translate from XML to HTML }&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;xsltproc test.xml --output test.html&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-pDXn-vGHm8k/TuG4A0DQHuI/AAAAAAAAEos/znV8sR5Xng8/s1600/scanrepot.png" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="178" width="400" src="http://3.bp.blogspot.com/-pDXn-vGHm8k/TuG4A0DQHuI/AAAAAAAAEos/znV8sR5Xng8/s400/scanrepot.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-5087575246552197630?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/5087575246552197630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=5087575246552197630' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/5087575246552197630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/5087575246552197630'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/12/producing-ipv6-traceroute-results-in.html' title='Producing IPv6 traceroute results in HTML format using NMAP'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-pDXn-vGHm8k/TuG4A0DQHuI/AAAAAAAAEos/znV8sR5Xng8/s72-c/scanrepot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-5129540017571071586</id><published>2011-11-26T14:38:00.001+05:30</published><updated>2011-11-26T14:39:33.126+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='server'/><category scheme='http://www.blogger.com/atom/ns#' term='CISCO'/><category scheme='http://www.blogger.com/atom/ns#' term='attribute list'/><category scheme='http://www.blogger.com/atom/ns#' term='mikrotik'/><category scheme='http://www.blogger.com/atom/ns#' term='pptp'/><category scheme='http://www.blogger.com/atom/ns#' term='client'/><title type='text'>PPTP Server as Cisco for Mikrotik Client</title><content type='html'>Following configuration explains the Cisco as PPTP server and connecting two sites:&lt;br /&gt;&lt;br /&gt;Following Configuration needed to enable the VPDN and default server:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-e9eYedy2C3w/TtCrLpD71QI/AAAAAAAAEoc/6tTXkVqZfSQ/s1600/pptp_setup.png" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="161" width="400" src="http://4.bp.blogspot.com/-e9eYedy2C3w/TtCrLpD71QI/AAAAAAAAEoc/6tTXkVqZfSQ/s400/pptp_setup.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;vpdn enable&lt;br /&gt;!&lt;br /&gt;vpdn-group Mtik&lt;br /&gt;! Default PPTP VPDN group&lt;br /&gt; accept-dialin&lt;br /&gt;  protocol pptp&lt;br /&gt;  virtual-template 1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;interface Virtual-Template1&lt;br /&gt; ip unnumbered Loopback0&lt;br /&gt; peer default ip address pool IPPOOL1&lt;br /&gt; ppp encrypt mppe auto required&lt;br /&gt; ppp authentication ms-chap-v2 ms-chap pap&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;ip local pool IPPOOL1 192.168.150.10 192.168.150.224&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Few more additional things we need to keep the same ip address for the user: &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;aaa new-model&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;aaa authentication ppp default local&lt;br /&gt;aaa authorization network default local&lt;br /&gt;!&lt;br /&gt;aaa attribute list Gobi&lt;br /&gt; attribute type addr 192.168.150.13 service ppp protocol ip mandatory&lt;br /&gt; attribute type route "10.0.0.0 255.255.255.0 192.168.150.13"&lt;br /&gt; attribute type interface-config "description Gobi-test"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Finally apply the attribute list to the user:&lt;br /&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;username gobi password 0 test&lt;br /&gt;username gobi aaa attribute list Gobi&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Mikrotik Configurations: &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;/interface pptp-client&lt;br /&gt;add add-default-route=no allow=mschap2 connect-to=192.168.16.2 \&lt;br /&gt;    dial-on-demand=no disabled=no max-mru=1500 max-mtu=1500 mrru=1500 name=\&lt;br /&gt;    gobi password=test profile=default-encryption user=gobi&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;[admin@HOST1] &gt; ip add print&lt;br /&gt;Flags: X - disabled, I - invalid, D - dynamic&lt;br /&gt; #   ADDRESS            NETWORK         INTERFACE&lt;br /&gt; 0   192.168.10.2/30    192.168.10.0    ether1&lt;br /&gt; 1   192.168.16.1/30    192.168.16.0    ether2&lt;br /&gt; 2   10.0.0.1/24        10.0.0.0        ether1&lt;br /&gt; 3 D 192.168.150.13/32  192.168.150.1   gobi&lt;br /&gt;&lt;/pre&gt;IP route placed in the mikrotik as static : &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;/ip route&lt;br /&gt;add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=gobi scope=30 \&lt;br /&gt;    target-scope=10&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;1500 df-bit ping test &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R1#ping 10.0.0.254 size 1500 df-bit&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 5, 1500-byte ICMP Echos to 10.0.0.254, timeout is 2 seconds:&lt;br /&gt;Packet sent with the DF bit set&lt;br /&gt;!!!!!&lt;br /&gt;Success rate is 100 percent (5/5), round-trip min/avg/max = 100/124/152 ms&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-5129540017571071586?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/5129540017571071586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=5129540017571071586' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/5129540017571071586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/5129540017571071586'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/11/pptp-server-as-cisco-for-mikrotik.html' title='PPTP Server as Cisco for Mikrotik Client'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-e9eYedy2C3w/TtCrLpD71QI/AAAAAAAAEoc/6tTXkVqZfSQ/s72-c/pptp_setup.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-2707139408023177188</id><published>2011-11-19T12:39:00.000+05:30</published><updated>2011-11-19T12:39:45.116+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='CISCO'/><category scheme='http://www.blogger.com/atom/ns#' term='pseudowire'/><category scheme='http://www.blogger.com/atom/ns#' term='l2tpv3'/><title type='text'>l2tpv3 configuration reference</title><content type='html'>Reference Comparing , Designing and Deploying VPNs chap - 02 : &lt;br /&gt;L2TPv3 is the enhanced version of L2TPv2 protocol. Mikrotik uses L2TPv2 i suppose but it offer another similar tunneling mechanism as EOIP. &lt;br /&gt;L2TPv3 in cisco provides Pseudo-wire services to the customer. L2TPv3 only require the IP connectivity between peers but it can transport Ethernet, 802.1Q , HDLC, PPP framerelay etc. &lt;br /&gt;&lt;br /&gt;Advantage over MPLS is the customer having the full control of their routing domain.&lt;br /&gt;&lt;br /&gt;L2TP depolyment methods having 3 topologies &lt;br /&gt;LAC - LNS , LNS - LNS , LAC - LAC&lt;br /&gt;&lt;br /&gt;Following Diagram explain simple LAC - LAC L2TPv3 setup. &lt;br /&gt;&lt;br /&gt;It uses two types of messages:&lt;br /&gt;control connection messages - used for signaling between LCEs&lt;br /&gt;session data messages - Used to transport layer 2 protocols and connections&lt;br /&gt;&lt;br /&gt;Data channel Message Header having Session ID &amp; cookie to correctly associate with  the tunnel&lt;br /&gt;Deploying dynamic Pseudowires session&lt;br /&gt;1) configure CEF - Its default in IOSs now. &lt;br /&gt;2) configure a loopback interface to use as the pseduowire endpoint ( need to have the connectivity) &lt;br /&gt;3) configure an L2TP class ( optional)&lt;br /&gt;L2TPv3 Class enables to configure number of control channel configurations.&lt;br /&gt;authentication , keepalive intervals , receive window size, retransmission parameters, timeouts&lt;br /&gt;4) configure a pseudowire class&lt;br /&gt;5) bind attachment circuits to pseudowires&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-ABYiatE9G_E/TsdT7oCTYeI/AAAAAAAAEoM/xKpbjrGnItY/s1600/L2tp.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="126" width="400" src="http://3.bp.blogspot.com/-ABYiatE9G_E/TsdT7oCTYeI/AAAAAAAAEoM/xKpbjrGnItY/s400/L2tp.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;R1:&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;l2tp-class digest_r1&lt;br /&gt; digest secret 7 096F673A3A2A hash SHA1&lt;br /&gt;&lt;/pre&gt;&lt;pre class="cpp" name="code"&gt;pseudowire-class R1toR2&lt;br /&gt; encapsulation l2tpv3&lt;br /&gt; sequencing both&lt;br /&gt; protocol l2tpv3 digest_r1&lt;br /&gt; ip local interface Loopback0&lt;br /&gt;&lt;/pre&gt; xconnect peer-address VCID ( should be unique) pw-class [name]&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;interface FastEthernet1/0&lt;br /&gt; no ip address&lt;br /&gt; duplex auto&lt;br /&gt; speed auto&lt;br /&gt; xconnect 172.16.0.2 100 pw-class R1toR2 sequencing both&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;R2:&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;l2tp-class digest_r2&lt;br /&gt; digest secret 7 062526126F61 hash SHA1&lt;br /&gt;&lt;/pre&gt;&lt;pre class="cpp" name="code"&gt;pseudowire-class R2toR1&lt;br /&gt; encapsulation l2tpv3&lt;br /&gt; sequencing both&lt;br /&gt; protocol l2tpv3 digest_r2&lt;br /&gt; ip local interface Loopback0&lt;br /&gt;&lt;/pre&gt;&lt;pre class="cpp" name="code"&gt;interface FastEthernet1/1&lt;br /&gt; no ip address&lt;br /&gt; duplex auto&lt;br /&gt; speed auto&lt;br /&gt; xconnect 172.16.0.1 100 pw-class R2toR1 sequencing both&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Between Two Circuits &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R6#ping 192.168.20.2 size 1500 repeat 2 df-bit&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 2, 1500-byte ICMP Echos to 192.168.20.2, timeout is 2 seconds:&lt;br /&gt;Packet sent with the DF bit set&lt;br /&gt;!!&lt;br /&gt;Success rate is 100 percent (2/2), round-trip min/avg/max = 72/94/116 ms&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;CDP from remote devices : &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R6#show cdp neighbors detail  | inc Device|IP|Int&lt;br /&gt;Device ID: R1&lt;br /&gt;  IP address: 172.16.0.1&lt;br /&gt;Interface: FastEthernet1/0,  Port ID (outgoing port): FastEthernet1/0&lt;br /&gt;Device ID: R7&lt;br /&gt;  IP address: 192.168.20.2&lt;br /&gt;Interface: FastEthernet1/0,  Port ID (outgoing port): FastEthernet1/0&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R1#show l2tun session all&lt;br /&gt;&lt;br /&gt;L2TP Session Information Total tunnels 1 sessions 1&lt;br /&gt;&lt;br /&gt;Session id 56564 is up, tunnel id 23863&lt;br /&gt;  Remote session id is 61449, remote tunnel id 53859&lt;br /&gt;  Remotely initiated session&lt;br /&gt;Call serial number is 10785&lt;br /&gt;Remote tunnel name is R2&lt;br /&gt;  Internet address is 172.16.0.2&lt;br /&gt;Local tunnel name is R1&lt;br /&gt;  Internet address is 172.16.0.1&lt;br /&gt;IP protocol 115&lt;br /&gt;  Session is L2TP signaled&lt;br /&gt;  Session state is established, time since change 00:58:25&lt;br /&gt;  DF bit off, ToS reflect disabled, ToS value 0, TTL value 255&lt;br /&gt;  UDP checksums are disabled&lt;br /&gt;  FS cached header information:&lt;br /&gt;    encap size = 28 bytes&lt;br /&gt;    45000014 00000000 FF736353 AC100001&lt;br /&gt;    AC100002 0000F009 00000000&lt;br /&gt;    881 Packets sent, 881 received&lt;br /&gt;    744359 Bytes sent, 744061 received&lt;br /&gt;  Last clearing of counters never&lt;br /&gt;  Counters, ignoring last clear:&lt;br /&gt;    881 Packets sent, 881 received&lt;br /&gt;    744359 Bytes sent, 744061 received&lt;br /&gt;    Receive packets dropped:&lt;br /&gt;      out-of-order:             0&lt;br /&gt;      total:                    0&lt;br /&gt;    Send packets dropped:&lt;br /&gt;      exceeded session MTU:     0&lt;br /&gt;      total:                    0&lt;br /&gt;  Sequencing is on&lt;br /&gt;    Ns 872, Nr 872, 0 out of order packets received&lt;br /&gt;    Packets switched/dropped by secondary path: Tx 0, Rx 0&lt;br /&gt;  Conditional debugging is disabled&lt;br /&gt;  Unique ID is 1&lt;br /&gt;Session Layer 2 circuit, type is Ethernet, name is FastEthernet1/0&lt;br /&gt;  Session vcid is 100&lt;br /&gt;  Circuit state is UP&lt;br /&gt;    Local circuit state is UP&lt;br /&gt;    Remote circuit state is UP&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Have to try the interoperability between cisco &amp; mikrotik&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-2707139408023177188?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/2707139408023177188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=2707139408023177188' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/2707139408023177188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/2707139408023177188'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/11/l2tpv3-configuration-reference.html' title='l2tpv3 configuration reference'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-ABYiatE9G_E/TsdT7oCTYeI/AAAAAAAAEoM/xKpbjrGnItY/s72-c/L2tp.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-7625719715082643004</id><published>2011-11-18T20:31:00.000+05:30</published><updated>2011-11-18T20:31:14.904+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='column'/><category scheme='http://www.blogger.com/atom/ns#' term='icmp'/><category scheme='http://www.blogger.com/atom/ns#' term='wireshark'/><title type='text'>Modifying the Wireshark Column.</title><content type='html'>Basically i had a packet capture file where i need to check the ICMP sequence number to check any packet drops. going each packet one by one and finding out the sequence number is a tedious job. So i was looking to find a way to add another column to display the icmp sequence number. &lt;br /&gt;Its quite easy &lt;br /&gt;1) Go to  Edit -&gt; Preference &lt;br /&gt;2) Add a new column and select the field type as custom and give the filter as icmp.seq &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-kKzEUpA5UCA/TsZxz0exOeI/AAAAAAAAEn0/kRBO3vCGehI/s1600/wireshark.png" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="245" width="400" src="http://1.bp.blogspot.com/-kKzEUpA5UCA/TsZxz0exOeI/AAAAAAAAEn0/kRBO3vCGehI/s400/wireshark.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;3) You can see following result . According to our requirement we can modify the field type. &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-Ldb1TwHw3S0/TsZy2CQDSvI/AAAAAAAAEoA/rJMC7ezrQts/s1600/wireshark2.png" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="216" width="400" src="http://4.bp.blogspot.com/-Ldb1TwHw3S0/TsZy2CQDSvI/AAAAAAAAEoA/rJMC7ezrQts/s400/wireshark2.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-7625719715082643004?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/7625719715082643004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=7625719715082643004' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/7625719715082643004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/7625719715082643004'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/11/modifying-wireshark-column.html' title='Modifying the Wireshark Column.'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-kKzEUpA5UCA/TsZxz0exOeI/AAAAAAAAEn0/kRBO3vCGehI/s72-c/wireshark.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-3829548179486220996</id><published>2011-07-21T22:30:00.001+05:30</published><updated>2011-07-21T22:33:00.949+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='1portcons`le server'/><category scheme='http://www.blogger.com/atom/ns#' term='terminal server'/><category scheme='http://www.blogger.com/atom/ns#' term='mikrotik serial port'/><title type='text'>Cost Effective 1 Port Terminal Server Rs232 using mikrotik / 3G</title><content type='html'>out of band management is critical for the network operation. when searching solution for console access through rs232 and 3G i came across Mikrotik serial connection option. I haven't tested the 3G setup yet but quite impressive options available in 79$ Mikrotik router for RS232 access: &lt;br /&gt;1st have to set the baud-rate and similar settings : &lt;br /&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;[admin@Console_Tik] &gt; port export            &lt;br /&gt;# jan/02/1970 00:32:05 by RouterOS 5.5&lt;br /&gt;# software id = WE49-11I9&lt;br /&gt;#&lt;br /&gt;/port&lt;br /&gt;set 0 baud-rate=9600 data-bits=8 flow-control=none name=serial0 parity=none \&lt;br /&gt;stop-bits=1&lt;br /&gt;/port firmware&lt;br /&gt;set directory=firmware&lt;br /&gt;[admin@Console_Tik] &gt; &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;2nd if we are using for console access we need to disable the console port option on mikrotik as follows : &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;[admin@Console_Tik] &gt; system console print &lt;br /&gt;Flags: X - disabled, U - used, F - free &lt;br /&gt;#   PORT                                   TERM                                 &lt;br /&gt;0 X serial0                                vt102    &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;From mikrotik we can directly access the console port of cisco as follows : &lt;br /&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;[admin@Console_Tik] &gt; system serial-terminal serial0    &lt;br /&gt;[Ctrl-A is the prefix key]&lt;br /&gt;TEST&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;or we can create separ te user account and divert the user directly to the serial access :&lt;br /&gt;1) have to create separate user account : &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;[admin@Console_Tik] &gt; u er print &lt;br /&gt;Flags: X - disabled &lt;br /&gt;#   NAME         GROUP        ADDRESS                                           &lt;br /&gt;0   ;;; system default user&lt;br /&gt;admin        fullZ       &lt;br /&gt;1   terminal     full        &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;2) have to assign the user to the spcial-login option &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;admin@Console_Tik] &gt; special-login print   &lt;br /&gt;Flags: X - disabled &lt;br /&gt;#   USER                                      PORT                              &lt;br /&gt;0   terminal                                  serial0   &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;if we telnet using the special user account directly redirected to serial access : &lt;br /&gt;&lt;br /&gt;MikroTik v5.5&lt;br /&gt;Login: terminal&lt;br /&gt;Password:&lt;br /&gt;&lt;br /&gt;[Ctrl-A is the prefix key]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;VOICE_TEST&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-3829548179486220996?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/3829548179486220996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=3829548179486220996' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/3829548179486220996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/3829548179486220996'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/07/cost-effective-1-port-terminal-server.html' title='Cost Effective 1 Port Terminal Server Rs232 using mikrotik / 3G'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-1938627167207973382</id><published>2011-07-04T20:14:00.000+05:30</published><updated>2011-07-04T20:14:23.607+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='CISCO'/><category scheme='http://www.blogger.com/atom/ns#' term='aliases'/><category scheme='http://www.blogger.com/atom/ns#' term='ios mpls commands'/><category scheme='http://www.blogger.com/atom/ns#' term='shorten'/><title type='text'>shorten the MPLS  IOS commands</title><content type='html'>when it comes to mpls + vrf we can observe some lengthly commands.. &lt;br /&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R3#show bgp vpnv4 unicast vrf CusA&lt;br /&gt;BGP table version is 7, local router ID is 192.168.254.3&lt;br /&gt;Status codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal,&lt;br /&gt;              r RIB-failure, S Stale&lt;br /&gt;Origin codes: i - IGP, e - EGP, ? - incomplete&lt;br /&gt;&lt;br /&gt;   Network          Next Hop            Metric LocPrf Weight Path&lt;br /&gt;Route Distinguisher: 65001:100 (default for vrf CusA)&lt;br /&gt;*&gt; 192.168.200.0    192.168.100.1            0             0 65100 i&lt;br /&gt;*&gt;i192.168.210.0    192.168.254.8            0    100      0 65101 i&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;how to shorten these commands as usual we can use aliases &lt;br /&gt;&lt;br /&gt;eg: &lt;br /&gt;&lt;br /&gt;alias exec shbgpvrf show bgp vpnv4 unicast vrf&lt;br /&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R3#shbgpvrf CusA&lt;br /&gt;BGP table version is 7, local router ID is 192.168.254.3&lt;br /&gt;Status codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal,&lt;br /&gt;              r RIB-failure, S Stale&lt;br /&gt;Origin codes: i - IGP, e - EGP, ? - incomplete&lt;br /&gt;&lt;br /&gt;   Network          Next Hop            Metric LocPrf Weight Path&lt;br /&gt;Route Distinguisher: 65001:100 (default for vrf CusA)&lt;br /&gt;*&gt; 192.168.200.0    192.168.100.1            0             0 65100 i&lt;br /&gt;*&gt;i192.168.210.0    192.168.254.8            0    100      0 65101 i&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;eg2: alias exec shvrf show ip route vrf&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R3#shvrf CusA&lt;br /&gt;&lt;br /&gt;Routing Table: CusA&lt;br /&gt;Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP&lt;br /&gt;       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area &lt;br /&gt;       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2&lt;br /&gt;       E1 - OSPF external type 1, E2 - OSPF external type 2&lt;br /&gt;       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2&lt;br /&gt;       ia - IS-IS inter area, * - candidate default, U - per-user static route&lt;br /&gt;       o - ODR, P - periodic downloaded static route, + - replicated route&lt;br /&gt;&lt;br /&gt;Gateway of last resort is not set&lt;br /&gt;&lt;br /&gt;      192.168.100.0/24 is variably subnetted, 2 subnets, 2 masks&lt;br /&gt;C        192.168.100.0/30 is directly connected, Ethernet0/0&lt;br /&gt;L        192.168.100.2/32 is directly connected, Ethernet0/0&lt;br /&gt;B     192.168.200.0/24 [20/0] via 192.168.100.1, 00:10:08&lt;br /&gt;B     192.168.210.0/24 [200/0] via 192.168.254.8, 00:08:42&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-1938627167207973382?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/1938627167207973382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=1938627167207973382' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/1938627167207973382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/1938627167207973382'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/07/shorten-mpls-ios-commands.html' title='shorten the MPLS  IOS commands'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-7961633212061046635</id><published>2011-06-24T21:49:00.002+05:30</published><updated>2011-06-25T10:53:44.824+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='testing'/><category scheme='http://www.blogger.com/atom/ns#' term='mpls'/><category scheme='http://www.blogger.com/atom/ns#' term='lab'/><title type='text'>MPLS LAB for experiment.</title><content type='html'>This is the lab prepared using the L2IOU (http://tinyurl.com/69j77ju ) &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-9h-uk3a57UI/TgSyHs6-5rI/AAAAAAAAEiI/v4NZr7DsVi4/s1600/mpls.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="307" width="400" src="http://3.bp.blogspot.com/-9h-uk3a57UI/TgSyHs6-5rI/AAAAAAAAEiI/v4NZr7DsVi4/s400/mpls.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;NETMAP : &lt;br /&gt;1:0/0 3:0/0&lt;br /&gt;1:0/1 4:0/0&lt;br /&gt;2:0/0 3:0/1&lt;br /&gt;2:0/1 4:0/1&lt;br /&gt;3:0/2 5:0/0&lt;br /&gt;4:0/2 5:0/1&lt;br /&gt;5:0/3 6:0/0&lt;br /&gt;5:0/2 7:0/1&lt;br /&gt;6:0/1 7:0/0&lt;br /&gt;7:0/2 8:0/0&lt;br /&gt;7:0/3 9:0/0&lt;br /&gt;8:0/1 10:0/0&lt;br /&gt;9:0/1 11:0/0&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;root@box:/home/tc# cat labstart_mpls &lt;br /&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;if [ "`pgrep i86bi`" ]&lt;br /&gt;then&lt;br /&gt; echo ""&lt;br /&gt; echo ""&lt;br /&gt; echo "The lab is already loaded"&lt;br /&gt; echo ""&lt;br /&gt; echo ""&lt;br /&gt;else&lt;br /&gt; echo ""&lt;br /&gt; echo ""&lt;br /&gt; echo please wait for the Lab to be loaded..&lt;br /&gt; echo ""&lt;br /&gt; ./wrapper -m ./i86bi_linuxl2-upk9-ms.M -p 2001 -- -c configs/R1.cfg -e1 -s0 1 &gt; /dev/null 2&gt;&amp;1 &amp; sleep 5&lt;br /&gt; echo R1 loaded&lt;br /&gt; ./wrapper -m ./i86bi_linuxl2-upk9-ms.M -p 2002 -- -c configs/R2.cfg -e1 -s0 2 &gt; /dev/null 2&gt;&amp;1 &amp; sleep 5&lt;br /&gt; echo R2 loaded&lt;br /&gt; ./wrapper -m ./i86bi_linuxl2-upk9-ms.M -p 2003 -- -c configs/R3.cfg -e1 -s0  3 &gt; /dev/null 2&gt;&amp;1 &amp; sleep 5&lt;br /&gt; echo R3 loaded&lt;br /&gt; ./wrapper -m ./i86bi_linuxl2-upk9-ms.M -p 2004 -- -c configs/R4.cfg -e1 -s0 4 &gt; /dev/null 2&gt;&amp;1 &amp; sleep 5&lt;br /&gt; echo R4 loaded&lt;br /&gt; ./wrapper -m ./i86bi_linuxl2-upk9-ms.M -p 2005 -- -c configs/R5.cfg -e1 -s0 5 &gt; /dev/null 2&gt;&amp;1 &amp; sleep 5&lt;br /&gt; echo R5 loaded&lt;br /&gt; ./wrapper -m ./i86bi_linuxl2-upk9-ms.M -p 2006 -- -c configs/R6.cfg -e1 -s0 6 &gt; /dev/null 2&gt;&amp;1 &amp; sleep 5&lt;br /&gt; echo R6 loaded&lt;br /&gt; ./wrapper -m ./i86bi_linuxl2-upk9-ms.M -p 2007 -- -c configs/R7.cfg -e1 -s0 7 &gt; /dev/null 2&gt;&amp;1 &amp; sleep 5&lt;br /&gt;echo R7 loaded &lt;br /&gt;./wrapper -m ./i86bi_linuxl2-upk9-ms.M -p 2008 -- -c configs/R8.cfg -e1 -s0 8 &gt; /dev/null 2&gt;&amp;1 &amp; sleep 5  &lt;br /&gt;echo R8 loaded&lt;br /&gt;./wrapper -m ./i86bi_linuxl2-upk9-ms.M -p 2009 -- -c configs/R9.cfg -e1 -s0 9 &gt; /dev/null 2&gt;&amp;1 &amp; sleep 5  &lt;br /&gt;echo R9 loaded&lt;br /&gt;./wrapper -m ./i86bi_linuxl2-upk9-ms.M -p 2010 -- -c configs/R10.cfg -e1 -s0 10 &gt; /dev/null 2&gt;&amp;1 &amp; sleep 5  &lt;br /&gt;echo R10 loaded&lt;br /&gt;./wrapper -m ./i86bi_linuxl2-upk9-ms.M -p 2011 -- -c configs/R11.cfg -e1 -s0 11 &gt; /dev/null 2&gt;&amp;1 &amp; sleep 5  &lt;br /&gt;echo R11 loaded&lt;br /&gt; echo ""&lt;br /&gt; echo ""&lt;br /&gt; nohup -g -Fa `pgrep i86bi` &gt; /dev/null 2&gt;&amp;1&lt;br /&gt;fi&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://hotfile.com/dl/122079751/09b06f7/mpls.zip.html"&gt;Router configuration : &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-7961633212061046635?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/7961633212061046635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=7961633212061046635' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/7961633212061046635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/7961633212061046635'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/06/mpls-lab-for-experiment.html' title='MPLS LAB for experiment.'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-9h-uk3a57UI/TgSyHs6-5rI/AAAAAAAAEiI/v4NZr7DsVi4/s72-c/mpls.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-5148149952899944062</id><published>2011-06-04T12:35:00.000+05:30</published><updated>2011-06-04T12:35:52.986+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='bgp configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='local as'/><title type='text'>Can you run two AS Numbers in Single Router ? - Local AS</title><content type='html'>according to my experience  we can't but similar functionalities given by Local AS option . It enables to act one AS for some of the neighbors and another AS for other neighbors &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-uHt8kZjawkk/TenVgX7JPaI/AAAAAAAAEhk/1YTF4_svSH0/s1600/localas.png" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="233" width="400" src="http://2.bp.blogspot.com/-uHt8kZjawkk/TenVgX7JPaI/AAAAAAAAEhk/1YTF4_svSH0/s400/localas.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;R2 connects to R1 using remote as 100 , but the R1 using remote-as as 2 rather than 300&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R2#&lt;br /&gt;router bgp 300&lt;br /&gt; no synchronization&lt;br /&gt; bgp log-neighbor-changes&lt;br /&gt; network 200.200.200.0&lt;br /&gt; neighbor 192.168.100.1 remote-as 100&lt;br /&gt; neighbor 192.168.100.1 local-as 2&lt;br /&gt;&lt;/pre&gt;&lt;pre class="cpp" name="code"&gt;R1#router bgp 100&lt;br /&gt; no synchronization&lt;br /&gt; bgp log-neighbor-changes&lt;br /&gt; neighbor 192.168.100.2 remote-as 2&lt;br /&gt; no auto-summary&lt;br /&gt;&lt;/pre&gt;but when the route injected it shows originated AS as 300&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R1#show ip bgp &lt;br /&gt;BGP table version is 2, local router ID is 192.168.100.1&lt;br /&gt;Status codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal,&lt;br /&gt;              r RIB-failure, S Stale&lt;br /&gt;Origin codes: i - IGP, e - EGP, ? - incomplete&lt;br /&gt;&lt;br /&gt;   Network          Next Hop            Metric LocPrf Weight Path&lt;br /&gt;*&gt; 200.200.200.0    192.168.100.2            0             0 2 300 i&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;with  no-prepend we can remove the local as prepending .&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R2#show ip bgp &lt;br /&gt;BGP table version is 3, local router ID is 192.168.100.2&lt;br /&gt;Status codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal,&lt;br /&gt;              r RIB-failure, S Stale&lt;br /&gt;Origin codes: i - IGP, e - EGP, ? - incomplete&lt;br /&gt;&lt;br /&gt;   Network          Next Hop            Metric LocPrf Weight Path&lt;br /&gt;*&gt; 100.100.100.0/24 192.168.100.1            0             0 100 i&lt;br /&gt;*&gt; 200.200.200.0    0.0.0.0                  0         32768 i&lt;br /&gt; &lt;br /&gt;&lt;/pre&gt;&lt;pre class="cpp" name="code"&gt;R2#router bgp 300&lt;br /&gt; no synchronization&lt;br /&gt; bgp log-neighbor-changes&lt;br /&gt; network 200.200.200.0&lt;br /&gt; neighbor 192.168.100.1 remote-as 100&lt;br /&gt; neighbor 192.168.100.1 local-as 2 no-prepend&lt;br /&gt; no auto-summary&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-5148149952899944062?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/5148149952899944062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=5148149952899944062' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/5148149952899944062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/5148149952899944062'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/06/can-you-run-two-as-numbers-in-single.html' title='Can you run two AS Numbers in Single Router ? - Local AS'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-uHt8kZjawkk/TenVgX7JPaI/AAAAAAAAEhk/1YTF4_svSH0/s72-c/localas.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-8414735091749471170</id><published>2011-06-04T11:42:00.001+05:30</published><updated>2011-06-04T11:46:57.168+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='inject map'/><category scheme='http://www.blogger.com/atom/ns#' term='bgp design and implementation configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='BGP'/><category scheme='http://www.blogger.com/atom/ns#' term='prefix deaggregation'/><title type='text'>prefix Deaggregation and inject map - BGP Design &amp; Implementation Chap 4</title><content type='html'>this lab is directly taken from  BGP Design &amp; Implementation Chap 4. GNS3 configurations attached below.&lt;br /&gt;Summary - &lt;br /&gt;In the boarder router if the summary route injected as follows &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;aggregate-address 172.16.0.0 255.255.0.0 as-set summary-only&lt;br /&gt;&lt;/pre&gt;downwards the originality of the prefix may be lost therefore to specify the best exist path we can regenerate the path we use inject path .&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;bgp inject-map Map1 exist-map Map2&lt;br /&gt;&lt;/pre&gt;Map1 injects the path&lt;br /&gt;Map2 checks whether path is available , it at least two match statements one is route-source &amp; aggregate prefix. Whether u can inject weird prefix other than aggregate .. (eg aggregate is 172.16.0.0/16 but if you try to inject 10.0.0.0/24 ???) As usual you can't :) &lt;br /&gt;&lt;br /&gt;following is the attached diagram&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-Wna1YSX84qc/TenKkMHLCmI/AAAAAAAAEhc/i-AymtzyJ-I/s1600/topology.png" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="261" width="400" src="http://3.bp.blogspot.com/-Wna1YSX84qc/TenKkMHLCmI/AAAAAAAAEhc/i-AymtzyJ-I/s400/topology.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;R5 Relevant configuration. &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;router bgp 100&lt;br /&gt; no synchronization&lt;br /&gt; bgp log-neighbor-changes&lt;br /&gt; bgp inject-map AS200-Specific exist-map AS200-aggregate&lt;br /&gt; neighbor 192.168.12.2 remote-as 100&lt;br /&gt; neighbor 192.168.12.2 send-community&lt;br /&gt; neighbor 192.168.23.2 remote-as 100&lt;br /&gt; neighbor 192.168.23.2 send-community&lt;br /&gt; neighbor 192.168.24.1 remote-as 200&lt;br /&gt; neighbor 192.168.24.1 send-community&lt;br /&gt; no auto-summary&lt;br /&gt;!&lt;br /&gt;ip forward-protocol nd&lt;br /&gt;!&lt;br /&gt;ip bgp-community new-format&lt;br /&gt;!&lt;br /&gt;ip http server&lt;br /&gt;no ip http secure-server&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;ip prefix-list AS200-R3 seq 5 permit 192.168.24.1/32&lt;br /&gt;!&lt;br /&gt;ip prefix-list Aggregate seq 5 permit 172.16.0.0/16&lt;br /&gt;!&lt;br /&gt;ip prefix-list Specific seq 5 permit 172.16.1.0/24&lt;br /&gt;&lt;br /&gt;no cdp run&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;route-map AS200-Specific permit 10&lt;br /&gt; set ip address prefix-list Specific&lt;br /&gt; set community 100:200 no-export&lt;br /&gt;!&lt;br /&gt;route-map AS200-aggregate permit 10&lt;br /&gt; match ip address prefix-list Aggregate&lt;br /&gt; match ip route-source AS200-R3&lt;br /&gt;!&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre class="cpp" name="code"&gt;R7#show ip bgp&lt;br /&gt;BGP table version is 4, local router ID is 192.168.13.1&lt;br /&gt;Status codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal,&lt;br /&gt;              r RIB-failure, S Stale&lt;br /&gt;Origin codes: i - IGP, e - EGP, ? - incomplete&lt;br /&gt;&lt;br /&gt;   Network          Next Hop            Metric LocPrf Weight Path&lt;br /&gt;*&gt;i172.16.0.0       192.168.24.1             0    100      0 200 300 i&lt;br /&gt;* i                 192.168.35.1             0    100      0 200 400 i&lt;br /&gt;*&gt;i172.16.1.0/24    192.168.24.1             0    100      0 ?&lt;br /&gt;*&gt;i172.16.2.0/24    192.168.35.1             0    100      0 ?&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;show ip route OSPF sync in the AS100&lt;br /&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R7#show ip route &lt;br /&gt;Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP&lt;br /&gt;       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area &lt;br /&gt;       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2&lt;br /&gt;       E1 - OSPF external type 1, E2 - OSPF external type 2&lt;br /&gt;       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2&lt;br /&gt;       ia - IS-IS inter area, * - candidate default, U - per-user static route&lt;br /&gt;       o - ODR, P - periodic downloaded static route&lt;br /&gt;&lt;br /&gt;Gateway of last resort is not set&lt;br /&gt;&lt;br /&gt;C    192.168.12.0/24 is directly connected, FastEthernet0/1&lt;br /&gt;C    192.168.13.0/24 is directly connected, FastEthernet0/0&lt;br /&gt;O E2 192.168.24.0/24 [110/20] via 192.168.12.1, 00:00:56, FastEthernet0/1&lt;br /&gt;     172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks&lt;br /&gt;B       172.16.0.0/16 [200/0] via 192.168.24.1, 00:00:51&lt;br /&gt;B       172.16.1.0/24 [200/0] via 192.168.24.1, 00:00:51&lt;br /&gt;B       172.16.2.0/24 [200/0] via 192.168.35.1, 00:00:23&lt;br /&gt;O    192.168.23.0/24 [110/20] via 192.168.13.2, 01:21:56, FastEthernet0/0&lt;br /&gt;                     [110/20] via 192.168.12.1, 01:21:23, FastEthernet0/1&lt;br /&gt;O E2 192.168.35.0/24 [110/20] via 192.168.13.2, 00:00:46, FastEthernet0/0&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;when the BGP peer goes down between R3 &amp; R5&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;*Mar  1 01:25:37.511: %BGP-5-ADJCHANGE: neighbor 192.168.24.1 Down BGP Notification sent&lt;br /&gt;*Mar  1 01:25:37.511: %BGP-3-NOTIFICATION: sent to neighbor 192.168.24.1 4/0 (hold time expired) 0 bytes &lt;br /&gt;*Mar  1 01:25:38.511: BGP(0): no valid path for 172.16.0.0/16&lt;br /&gt;*Mar  1 01:25:38.511: BGP(0): no valid path for 172.16.1.0/24&lt;br /&gt;*Mar  1 01:25:38.515: BGP(0): nettable_walker 172.16.0.0/16 no best path&lt;br /&gt;*Mar  1 01:25:38.515: BGP(0): nettable_walker 172.16.1.0/24 no best path&lt;br /&gt;*Mar  1 01:25:38.519: BGP(0): 192.168.12.2 send unreachable 172.16.1.0/24&lt;br /&gt;*Mar  1 01:25:38.519: BGP(0): 192.168.12.2 send UPDATE 172.16.1.0/24 -- unreachable&lt;br /&gt;*Mar  1 01:25:38.519: BGP(0): 192.168.12.2 send UPDATE 172.16.0.0/16 -- unreachable&lt;br /&gt;*Mar  1 01:25:38.623: BGP(0): updgrp 3 - 192.168.12.2 updates replicated for neighbors: 192.168.23.2&lt;br /&gt;*Mar  1 01:25:47.283: BGP(0): updating injected prefix 172.16.1.0/24, from source prefix 172.16.0.0/16&lt;br /&gt;*Mar  1 01:25:47.283: BGP(0): retaining injected prefix 172.16.1.0/24, from source prefix 172.16.0.0/16&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;when the BGP peer up&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;*Mar  1 01:27:06.899: %BGP-5-ADJCHANGE: neighbor 192.168.24.1 Up &lt;br /&gt;*Mar  1 01:27:06.947: BGP(0): 192.168.24.1 rcvd UPDATE w/ attr: nexthop 192.168.24.1, origin i, metric 0, aggregated by 200 192.168.46.2, path 200 300&lt;br /&gt;*Mar  1 01:27:06.951: BGP(0): 192.168.24.1 rcvd 172.16.0.0/16&lt;br /&gt;*Mar  1 01:27:06.955: BGP(0): Revise route installing 1 of 1 routes for 172.16.0.0/16 -&gt; 192.168.24.1(main) to main IP table&lt;br /&gt;*Mar  1 01:27:06.959: BGP(0): 192.168.12.2 NEXT_HOP is on same subnet as the bgp peer and set to 192.168.24.1 for net 172.16.0.0/16&lt;br /&gt;*Mar  1 01:27:06.959: BGP(0): 192.168.12.2 send UPDATE (format) 172.16.0.0/16, next 192.168.24.1, metric 0, path 200 300&lt;br /&gt;*Mar  1 01:27:06.963: BGP(0): updgrp 3 - 192.168.12.2 updates replicated for neighbors: 192.168.23.2&lt;br /&gt;*Mar  1 01:27:47.331: BGP(0): creating injected prefix 172.16.1.0/24, from source prefix 172.16.0.0/16&lt;br /&gt;*Mar  1 01:27:47.331: BGP(0): updating injected prefix 172.16.1.0/24, from source prefix 172.16.0.0/16&lt;br /&gt;*Mar  1 01:27:47.335: BGP(0): retaining injected prefix 172.16.1.0/24, from source prefix 172.16.0.0/16&lt;br /&gt;*Mar  1 01:27:47.335: BGP(0): retaining injected prefix 172.16.1.0/24, from source prefix 172.16.0.0/16&lt;br /&gt;*Mar  1 01:27:48.063: BGP(0): Revise route installing 1 of 1 routes for 172.16.1.0/24 -&gt; 192.168.24.1(main) to main IP table&lt;br /&gt;*Mar  1 01:27:48.063: BGP(0): 192.168.12.2 NEXT_HOP is on same subnet as the bgp peer and set to 192.168.24.1 for net 172.16.1.0/24&lt;br /&gt;*Mar  1 01:27:48.063: BGP(0): 192.168.12.2 send UPDATE (format) 172.16.1.0/24, next 192.168.24.1, metric 0, path Local&lt;br /&gt;*Mar  1 01:27:48.163: BGP(0): updgrp 3 - 192.168.12.2 updates replicated for neighbors: 192.168.23.2&lt;br /&gt;*Mar  1 01:28:47.355: BGP(0): updating injected prefix 172.16.1.0/24, from source prefix 172.16.0.0/16&lt;br /&gt;*Mar  1 01:28:47.359: BGP(0): updating injected prefix 172.16.1.0/24, from source prefix 172.16.0.0/16&lt;br /&gt;*Mar  1 01:28:47.359: BGP(0): retaining injected prefix 172.16.1.0/24, from source prefix 172.16.0.0/16&lt;br /&gt;*Mar  1 01:28:47.359: BGP(0): retaining injected prefix 172.16.1.0/24, from source prefix 172.16.0.0/16&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a href="http://hotfile.com/dl/119808741/a097b71/BGP.zip.html"&gt; GNS3 Configurations&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-8414735091749471170?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/8414735091749471170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=8414735091749471170' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8414735091749471170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8414735091749471170'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/06/prefix-deaggregation-and-inject-map-bgp.html' title='prefix Deaggregation and inject map - BGP Design &amp; Implementation Chap 4'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-Wna1YSX84qc/TenKkMHLCmI/AAAAAAAAEhc/i-AymtzyJ-I/s72-c/topology.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-2591582918232926446</id><published>2011-05-21T11:13:00.000+05:30</published><updated>2011-05-21T11:13:24.905+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='CISCO'/><category scheme='http://www.blogger.com/atom/ns#' term='show ip ospf route'/><category scheme='http://www.blogger.com/atom/ns#' term='undocumented ios command'/><title type='text'>show ip ospf route undocumented command in IOS</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;This command i think introduced in NX-OS series but IOS also support this but not documented seems to be:&lt;br /&gt;I have checked in the following version: &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R2#show ver&lt;br /&gt;Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(15)T7, RELEASE SOFTWARE (fc3)&lt;/pre&gt;Not supported command ??&lt;br /&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R2#show ip ospf ro?&amp;nbsp; &lt;br /&gt;% Unrecognized command&lt;br /&gt;&lt;/pre&gt;&lt;pre class="cpp" name="code"&gt;R2# show ip ospf route&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OSPF Router with ID (192.168.30.10) (Process ID 10)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Area BACKBONE(0)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Intra-area Route List&lt;br /&gt;*&amp;nbsp;&amp;nbsp; 192.168.20.0/30, Intra, cost 64, area 0, Connected&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; via 192.168.20.1, Serial0/1&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Intra-area Router Path List&lt;br /&gt;i 192.168.20.2 [64] via 192.168.20.2, Serial0/1, ABR, Area 0, SPF 4&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inter-area Route List&lt;br /&gt;*&amp;gt;&amp;nbsp; 192.168.10.64/26, Inter, cost 138, area 0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; via 192.168.20.2, Serial0/1&lt;br /&gt;*&amp;gt;&amp;nbsp; 192.168.10.32/28, Inter, cost 129, area 0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; via 192.168.20.2, Serial0/1&lt;br /&gt;*&amp;gt;&amp;nbsp; 192.168.10.0/27, Inter, cost 128, area 0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; via 192.168.20.2, Serial0/1&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inter-area Router Path List&lt;br /&gt;I 192.168.10.33 [128] via 192.168.20.2, Serial0/1, ASBR, Area 0, SPF 4&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Area 1&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Intra-area Route List&lt;br /&gt;*&amp;gt;&amp;nbsp; 192.168.30.0/29, Intra, cost 74, area 1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; via 192.168.30.9, Serial0/0&lt;br /&gt;*&amp;nbsp;&amp;nbsp; 192.168.30.8/29, Intra, cost 64, area 1, Connected&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; via 192.168.30.10, Serial0/0&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; External Route List&lt;br /&gt;*&amp;gt;&amp;nbsp; 100.100.100.0/24, Ext2, cost 20, tag 0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; via 192.168.20.2, Serial0/1&lt;/pre&gt;This is similar to show ip route ospf but it has nice area separation . Also lists the ABR , ASBR rather than checking "show ip ospf border-routers" this command list in the route as &lt;br /&gt;    Intra-area Router Path List,Inter-area Router Path List, &lt;br /&gt;vs&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R2#show ip route ospf&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.30.0/29 is subnetted, 2 subnets&lt;br /&gt;O&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.30.0 [110/74] via 192.168.30.9, 00:17:26, Serial0/0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.10.0/24 is variably subnetted, 3 subnets, 3 masks&lt;br /&gt;O IA&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.10.64/26 [110/138] via 192.168.20.2, 00:08:30, Serial0/1&lt;br /&gt;O IA&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.10.32/28 [110/129] via 192.168.20.2, 00:12:08, Serial0/1&lt;br /&gt;O IA&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.10.0/27 [110/128] via 192.168.20.2, 00:16:10, Serial0/1&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-2591582918232926446?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/2591582918232926446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=2591582918232926446' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/2591582918232926446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/2591582918232926446'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/05/show-ip-ospf-route-undocumented-command.html' title='show ip ospf route undocumented command in IOS'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-8652688711855499796</id><published>2011-05-08T11:14:00.003+05:30</published><updated>2012-01-26T22:13:15.488+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='mikrotik'/><category scheme='http://www.blogger.com/atom/ns#' term='mikrtik x86'/><category scheme='http://www.blogger.com/atom/ns#' term='qemu'/><category scheme='http://www.blogger.com/atom/ns#' term='GNS3'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Connecting Mikrotik in GNS3</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-I-KJUGUYBW4/TcYtCMNJdlI/AAAAAAAAEa4/1ICrXyPOYSQ/s1600/Mtik.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;&lt;u&gt;&lt;b&gt;Attaching Mirkotik x86 to GNS3.&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;its quite easy anyway in ubuntu you need the qemu multicast patch ,  you can download qemu v13 patch ( http://nchc.dl.sourceforge.net/project/gns-3/Qemu/qemu-0.13.0-patches.zip) and Qemu source (http://wiki.qemu.org/download/qemu-0.13.0.tar.gz)&lt;br /&gt;please check the following post to how to patch the qemu. &lt;br /&gt;(http://blog.gns3.net/2009/10/olive-juniper/2/)&lt;br /&gt;&lt;br /&gt;Installation requires Mikrotik x86 version(http://download.mikrotik.com/mikrotik-5.2.iso)  and qemu image which can be created as follows &lt;br /&gt;&lt;br /&gt;qemu-img create -f raw mtik.img 128M&lt;br /&gt;&lt;br /&gt;In GNS3 please check whether qemuwrapper working properly ( you need to copy 2 python files distributed with GNS3) &lt;br /&gt;&lt;br /&gt;-rwxr-xr-x 1 root root 868374 2011-05-08 09:22 pemubin.py&lt;br /&gt;-rwxr-xr-x 1 root root  34162 2011-05-08 09:21 qemuwrapper.py&lt;br /&gt;&lt;br /&gt;if all are setup you can create the qemu host as follows. &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-I-KJUGUYBW4/TcYtCMNJdlI/AAAAAAAAEa4/1ICrXyPOYSQ/s1600/Mtik.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://2.bp.blogspot.com/-I-KJUGUYBW4/TcYtCMNJdlI/AAAAAAAAEa4/1ICrXyPOYSQ/s320/Mtik.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;If you want to connect through winbox please follow the following post to create the tap interface :&lt;br /&gt;&lt;br /&gt;http://www.kbrandt.com/2009/01/how-to-setup-up-an-emulated-cisco-lab-using-gns3-in-ubuntu-part1.html&lt;br /&gt;&lt;br /&gt;Then you can run winbox ( You need to have wine installation )&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-pMh9JaADKzQ/TcYtUoSy4YI/AAAAAAAAEa8/_Y2jBBZwlIw/s1600/mikrotik_winbox.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="168" src="http://4.bp.blogspot.com/-pMh9JaADKzQ/TcYtUoSy4YI/AAAAAAAAEa8/_Y2jBBZwlIw/s320/mikrotik_winbox.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;I've followed following steps to connect the Mikrotik 5.12 with GNS3 in Windows 7 , may be helpful &lt;br /&gt;&lt;br /&gt;First Create the Image &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;C:\Program Files\GNS3&gt;qemu-img.exe create -f qcow2 mtik5-12.img 256M&lt;br /&gt;&lt;/pre&gt;Second install the Image&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;C:\Program Files\GNS3&gt;qemu.exe mtik5-12.img -cdrom mikrotik-5.12.iso -boot d&lt;br /&gt;&lt;/pre&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-J-8b61XH3_o/TyF9wVdaJCI/AAAAAAAAErI/aICE_hehQb8/s1600/gns_a.png" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="238" width="400" src="http://3.bp.blogspot.com/-J-8b61XH3_o/TyF9wVdaJCI/AAAAAAAAErI/aICE_hehQb8/s400/gns_a.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;3rd create the host in GNS3 ( link the image you have created in previous stage) if you want multiple host replicate the image and create multiple hosts. &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-L4nQk0t33ZY/TyF9q-gcxII/AAAAAAAAEq8/lxoVzELlXyg/s1600/gns3_b.png" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="194" width="400" src="http://3.bp.blogspot.com/-L4nQk0t33ZY/TyF9q-gcxII/AAAAAAAAEq8/lxoVzELlXyg/s400/gns3_b.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-8652688711855499796?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/8652688711855499796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=8652688711855499796' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8652688711855499796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8652688711855499796'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/05/connecting-mikrotik-in-gns3.html' title='Connecting Mikrotik in GNS3'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-I-KJUGUYBW4/TcYtCMNJdlI/AAAAAAAAEa4/1ICrXyPOYSQ/s72-c/Mtik.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-7299642095843280832</id><published>2011-05-07T10:11:00.000+05:30</published><updated>2011-05-07T10:11:24.252+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='CISCO'/><category scheme='http://www.blogger.com/atom/ns#' term='traceroute'/><category scheme='http://www.blogger.com/atom/ns#' term='icmp-unreachable'/><title type='text'>One drop while tracing - icmp unreachable &amp; traceroute</title><content type='html'>Have you ever notice the * * while you are tracing some destination ?&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;Cochran#traceroute 192.168.16.1 probe 4&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Tracing the route to 192.168.16.1&lt;br /&gt;&lt;br /&gt;  1 172.20.15.5 4 msec 4 msec 0 msec 0 msec&lt;br /&gt;  2 172.20.15.2 4 msec *  0 msec * &lt;br /&gt;Cochran#&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;When you ping no drops at all&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;Cochran#ping 192.168.16.1 repeat 4&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 4, 100-byte ICMP Echos to 192.168.16.1, timeout is 2 seconds:&lt;br /&gt;!!!!&lt;br /&gt;Success rate is 100 percent (4/4), round-trip min/avg/max = 4/5/8 ms&lt;br /&gt;&lt;/pre&gt;This behaviour due to ICMP unreachable rate limit configuration , only the last hop needs to generate icmp-unreachble others normally return the reply via ttl expired ( remember the way traceroute works ) &lt;br /&gt;&lt;pre name="code" class="cpp"&gt;Lindbergh#show ip int brief&lt;br /&gt;Interface                  IP-Address      OK? Method Status                Protocol&lt;br /&gt;FastEthernet0/0            unassigned      YES NVRAM  administratively down down    &lt;br /&gt;Serial0/0                  172.20.15.2     YES NVRAM  up                    up      &lt;br /&gt;FastEthernet0/1            192.168.16.1    YES NVRAM  up                    up      &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;Lindbergh#show ip icmp rate-limit &lt;br /&gt;&lt;br /&gt;                           DF bit unreachables       All other unreachables   &lt;br /&gt;Interval (millisecond)     500                       500                      &lt;br /&gt;&lt;br /&gt;Interface                  # DF bit unreachables     # All other unreachables &lt;br /&gt;---------                  ---------------------     ------------------------ &lt;br /&gt;Serial0/0                  0                         16                       &lt;br /&gt;FastEthernet0/1            0                         0                        &lt;br /&gt;&lt;br /&gt;Greatest number of unreachables on Serial0/0&lt;br /&gt;&lt;/pre&gt;check this information for more detail.&lt;br /&gt;http://www.cisco.com/en/US/docs/ios/12_4t/12_4t2/hticmpun.html#wp1053877&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-7299642095843280832?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/7299642095843280832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=7299642095843280832' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/7299642095843280832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/7299642095843280832'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/05/one-drop-while-tracing-icmp-unreachable.html' title='One drop while tracing - icmp unreachable &amp; traceroute'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-4860406217714306230</id><published>2011-04-15T21:11:00.006+05:30</published><updated>2011-05-08T11:28:32.229+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='CISCO'/><category scheme='http://www.blogger.com/atom/ns#' term='sateful nat'/><category scheme='http://www.blogger.com/atom/ns#' term='snat'/><category scheme='http://www.blogger.com/atom/ns#' term='nat terminology'/><category scheme='http://www.blogger.com/atom/ns#' term='ios'/><category scheme='http://www.blogger.com/atom/ns#' term='network address translation'/><title type='text'>Exploring Cisco Network Address Translation ( NAT) - Part -I</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Even though I worked with NAT configuration it still troublesome when configuring NAT on the Cisco Router (I prefer the Mikrotik way of configuration, simple but powerful).&lt;br /&gt;First in the Cisco NAT world we have to understand these 4 terms.  Directly taken from Cisco [1]&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;• Inside local address—The IP address assigned to a host on the inside network. This is the address configured as a parameter of the computer OS or received via dynamic address allocation protocols such as DHCP. The address is likely not a legitimate IP address assigned by the Network Information Center (NIC) or service provider.&lt;br /&gt;• Inside global address—A legitimate IP address assigned by the NIC or service provider that represents one or more inside local IP addresses to the outside world.&lt;br /&gt;• Outside local address—The IP address of an outside host as it appears to the inside network. Not necessarily a legitimate address, it is allocated from an address space routable on the inside.&lt;br /&gt;• Outside global address—The IP address assigned to a host on the outside network by the host owner. The address is allocated from a globally routable address or network space.&lt;/blockquote&gt;Following diagram depicts the terms in the actual traffic flow.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-u4oFOborqNM/TahjAsQaVsI/AAAAAAAAEYc/LaDOolwcsGU/s1600/terms1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="291" src="http://3.bp.blogspot.com/-u4oFOborqNM/TahjAsQaVsI/AAAAAAAAEYc/LaDOolwcsGU/s640/terms1.jpg" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Following as depicted host1 and host 2 in the range if 192.168.100.0/24 range and 192.168.100.1 as the virtual ip for the HSRP group 10.  &lt;br /&gt;Simulated Inside network doesn’t have access to outside without natting. &lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-oRTlq4unXEg/TahjpP15SCI/AAAAAAAAEYk/mZHuk1yyHaA/s1600/SNAT.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="380" src="http://4.bp.blogspot.com/-oRTlq4unXEg/TahjpP15SCI/AAAAAAAAEYk/mZHuk1yyHaA/s640/SNAT.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div id="cisco"&gt;R2#ping 192.168.100.1&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 5, 100-byte ICMP Echos to 192.168.100.1, timeout is 2 seconds:&lt;br /&gt;...&lt;br /&gt;Success rate is 0 percent (0/3)&lt;/div&gt;&lt;br /&gt;First lets see what the options available for ip nat : (7200 Software (C7200-ADVENTERPRISEK9-M), &lt;br /&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R1(config)#ip nat ?&lt;br /&gt;Stateful           Stateful NAT configuration commands &lt;br /&gt;create             Create flow entries&lt;br /&gt;inside             Inside address translation&lt;br /&gt;log                NAT Logging&lt;br /&gt;outside            Outside address translation&lt;br /&gt;piggyback-support  NAT Piggybacking Support&lt;br /&gt;pool               Define pool of addresses&lt;br /&gt;portmap            Define portmap of portranges&lt;br /&gt;service            Special translation for application using non-standard port&lt;br /&gt;sip-sbc            SIP Session Border Controller commands&lt;br /&gt;source             Source address translation&lt;br /&gt;translation        NAT translation entry configuration&lt;/pre&gt;&lt;br /&gt;1) stateful nat (SNAT) works with HSRP/or independently to smooth tcp transition when the active/primary router fails [2]. this feature simply sync the flow entries to other router udp it uses port 15555. &lt;br /&gt;&lt;br /&gt;first HSRP configuration on the R1#&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R1# &lt;br /&gt;interface FastEthernet1/0&lt;br /&gt;ip address 192.168.100.2 255.255.255.0&lt;br /&gt;ip nat inside&lt;br /&gt;ip virtual-reassembly&lt;br /&gt;duplex auto&lt;br /&gt;speed auto&lt;br /&gt;standby 10 ip 192.168.100.1&lt;br /&gt;standby 10 priority 110&lt;br /&gt;standby 10 name snat_hsrp&lt;/pre&gt;&lt;br /&gt;second we have to create ip nat stateful configuration . &lt;br /&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;ip nat Stateful id 10 #id should be unique for each router&lt;br /&gt;redundancy snat_hsrp // identify the hsrp group&lt;br /&gt;mapping-id 100 // this id will be mapped with nat&lt;br /&gt;protocol   udp // we can use either tcp or tcp&lt;/pre&gt;&lt;br /&gt;Then we have to create the NAT pool :&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;ip nat pool TEST2 117.117.117.1 117.117.117.1 netmask 255.255.255.0&lt;br /&gt;ip nat inside source list 105 pool TEST2 mapping-id 100 overload &lt;br /&gt;// check the mapping id is matched here..&lt;/pre&gt;&lt;br /&gt;same as R8 configured &lt;br /&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R8#show run int fa2/0&lt;br /&gt;Building configuration...&lt;br /&gt;&lt;br /&gt;Current configuration : 192 bytes&lt;br /&gt;!&lt;br /&gt;interface FastEthernet2/0&lt;br /&gt;ip address 192.168.100.3 255.255.255.0&lt;br /&gt;ip nat inside&lt;br /&gt;ip virtual-reassembly&lt;br /&gt;duplex auto&lt;br /&gt;speed auto&lt;br /&gt;standby 10 ip 192.168.100.1&lt;br /&gt;standby 10 name snat_hsrp&lt;br /&gt;// stateful configuration. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ip nat Stateful id 20 // id is different&lt;br /&gt;redundancy snat_hsrp&lt;br /&gt;mapping-id 100&lt;br /&gt;protocol   udp&lt;br /&gt;ip nat pool TEST2 117.117.117.1 117.117.117.1 prefix-length 24&lt;br /&gt;ip nat inside source list 105 pool TEST2 mapping-id 100 overload&lt;/pre&gt;&lt;br /&gt;according to this configuration, if stateful nat is not configured only the R1 should have the natting flow entries ( HSRP priority 110). but if you check the R8 nat table same entries kept on R8. &lt;br /&gt;&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;R8#show ip nat translations&lt;br /&gt;Pro Inside global      Inside local       Outside local      Outside global&lt;br /&gt;tcp 117.117.117.1:55833 192.168.100.100:55833 116.116.116.5:22 116.116.116.5:22&lt;br /&gt;tcp 117.117.117.1:55834 192.168.100.100:55834 116.116.116.5:22 116.116.116.5:22&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=5453778411035135848&amp;amp;postID=4860406217714306230" name="ZOTERO_BREF_Ve3Ch7JU5Zyz"&gt;[1]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; “NAT: Local and Global Definitions - Cisco Systems.” [Online]. Available: http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094837.shtml. [Accessed: 14-Apr-2011].&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;"&gt;[2]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; “Scalability for Stateful NAT - Cisco Systems.” [Online]. Available: http://www.cisco.com/en/US/docs/ios/12_4/12_4_mainline/snatsca.html. [Accessed: 15-Apr-2011].&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-4860406217714306230?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/4860406217714306230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=4860406217714306230' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/4860406217714306230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/4860406217714306230'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/04/exploring-cisco-network-address.html' title='Exploring Cisco Network Address Translation ( NAT) - Part -I'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-u4oFOborqNM/TahjAsQaVsI/AAAAAAAAEYc/LaDOolwcsGU/s72-c/terms1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-142817904001189543</id><published>2011-04-09T09:27:00.002+05:30</published><updated>2011-04-09T09:36:49.148+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='wirless'/><category scheme='http://www.blogger.com/atom/ns#' term='neighbor issue'/><category scheme='http://www.blogger.com/atom/ns#' term='ospf'/><category scheme='http://www.blogger.com/atom/ns#' term='NBMA'/><title type='text'>wirless environment OSPF neigbor issue.</title><content type='html'>This is setup is simple point to point but the physical transport medium is wireless. &lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-mAq21MDUYxw/TZ_XGUur9yI/AAAAAAAAEYU/IWToBiEha74/s1600/wireless_NBMA.jpg" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="125" width="400" src="http://2.bp.blogspot.com/-mAq21MDUYxw/TZ_XGUur9yI/AAAAAAAAEYU/IWToBiEha74/s400/wireless_NBMA.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;when i enable the ospf neighbor getting up but frequently the ospf neighbor up &amp; down. &lt;br /&gt;&lt;div id="cisco"&gt;Apr  9 08:09:33.719 LKT: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.61.192 on Vlan2 from FULL to DOWN, Neighbor Down: Dead timer expired&lt;br /&gt;Apr  9 08:09:33.731 LKT: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.61.192 on Vlan2 from LOADING to FULL, Loading Done&lt;br /&gt;Apr  9 08:12:23.720 LKT: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.61.192 on Vlan2 from FULL to DOWN, Neighbor Down: Dead timer expired&lt;br /&gt;Apr  9 08:12:33.735 LKT: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.61.192 on Vlan2 from LOADING to FULL, Loading Done&lt;br /&gt;Apr  9 08:15:13.721 LKT: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.61.192 on Vlan2 from FULL to DOWN, Neighbor Down: Dead timer expired&lt;br /&gt;Apr  9 08:15:23.737 LKT: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.61.192 on Vlan2 from LOADING to FULL, Loading Done&lt;br /&gt;Apr  9 08:19:43.729 LKT: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.61.192 on Vlan2 from FULL to DOWN, Neighbor Down: Dead timer expired&lt;br /&gt;Apr  9 08:19:53.740 LKT: %OSPF-5-ADJCHG: Process 10, Nbr 192.168.61.192 on Vlan2 from LOADING to FULL, Loading Done&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;I've confirmed there is no link failure but the hello packets are not received and the dead timer expired. I'm not sure where the problem, but i assume the problem is some multicast supporting on the wireless bridge devices . But this can be fixed using uni-cast neighbor establishment. &lt;br /&gt;change the interface network type to NBMA &lt;br /&gt;&lt;div id="cisco"&gt;#ip ospf network ?&lt;br /&gt;broadcast            Specify OSPF broadcast multi-access network&lt;br /&gt;&lt;b&gt;non-broadcast        Specify OSPF NBMA network&lt;/b&gt;&lt;br /&gt;point-to-multipoint  Specify OSPF point-to-multipoint network&lt;br /&gt;point-to-point       Specify OSPF point-to-point network&lt;br /&gt;&lt;/div&gt;and in the ospf process define the neighbor statically this makes the unicast hello which solve this problem. &lt;br /&gt;&lt;div id="cisco"&gt;(config-router)#neighbor ?&lt;br /&gt;A.B.C.D  Neighbor address&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-142817904001189543?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/142817904001189543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=142817904001189543' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/142817904001189543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/142817904001189543'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/04/wirless-environment-ospf-neigbor-issue.html' title='wirless environment OSPF neigbor issue.'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-mAq21MDUYxw/TZ_XGUur9yI/AAAAAAAAEYU/IWToBiEha74/s72-c/wireless_NBMA.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-1401406154829445525</id><published>2011-03-16T22:29:00.001+05:30</published><updated>2011-03-16T22:32:27.484+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='switching order'/><category scheme='http://www.blogger.com/atom/ns#' term='packet switching'/><category scheme='http://www.blogger.com/atom/ns#' term='cef'/><title type='text'>cisco packet switching order</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;This Lab setup i was trying to understand the Routing TCP/IP vol 1 - cisco packet switching order. &lt;br /&gt;&lt;br /&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-MB5Ez0QuAXE/TYDpBfEAYdI/AAAAAAAAEW4/kp7NfP0rsxo/s1600/cef_log.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="192" src="https://lh6.googleusercontent.com/-MB5Ez0QuAXE/TYDpBfEAYdI/AAAAAAAAEW4/kp7NfP0rsxo/s640/cef_log.jpg" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;In this setup if we enable the debug ip packet on the R1 and see whether packet transferred between Host 1 &amp;amp;&amp;nbsp; Host 2 ? lets ping from Host2 to Host1&lt;br /&gt;mm execpt some broadcast packet nothing in the debugging output why ? &lt;br /&gt;&lt;br /&gt;&lt;div id="cisco"&gt;R1#debug ip packet&lt;br /&gt;IP packet debugging is on&lt;br /&gt;R1#&lt;br /&gt;*Mar  1 00:15:00.823: IP: s=0.0.0.0 (FastEthernet0/0), &lt;br /&gt;d=255.255.255.255, len 576, rcvd 2&lt;br /&gt;R1#&lt;br /&gt;*Mar  1 00:15:03.835: IP: s=0.0.0.0 (FastEthernet0/0), &lt;br /&gt;d=255.255.255.255, len 576, rcvd 2&lt;br /&gt;R1#&lt;br /&gt;*Mar  1 00:15:06.839: IP: s=0.0.0.0 (FastEthernet0/0), &lt;br /&gt;d=255.255.255.255, len 576, rcvd 2&lt;br /&gt;R1#&lt;br /&gt;*Mar  1 00:15:29.907: IP: s=0.0.0.0 (FastEthernet0/0), &lt;br /&gt;d=255.255.255.255, len 576, rcvd 2&lt;br /&gt;R1#&lt;br /&gt;*Mar  1 00:15:32.911: IP: s=0.0.0.0 (FastEthernet0/0), &lt;br /&gt;d=255.255.255.255, len 576, rcvd 2&lt;br /&gt;R1#&lt;br /&gt;*Mar  1 00:15:35.911: IP: s=0.0.0.0 (FastEthernet0/0), &lt;br /&gt;d=255.255.255.255, len 576, rcvd 2&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-e_RdKI9i_nM/TYDsMgogLsI/AAAAAAAAEW8/yJD916PvlZM/s1600/cef_log.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="217" src="https://lh3.googleusercontent.com/-e_RdKI9i_nM/TYDsMgogLsI/AAAAAAAAEW8/yJD916PvlZM/s640/cef_log.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;answer is  &lt;br /&gt;ip packet debugging only shows the packet transferred through packet switching.&lt;br /&gt;&lt;br /&gt;Lets try further:&lt;br /&gt;Lets change the processing to process switching on the R1 fa0/0 which is facing 192.168.1.2 Host. to disable cef we can use following command. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="cisco"&gt;R1(config)#int fa0/0&lt;br /&gt;R1(config-if)#no ip route-cache ?&lt;br /&gt;cef             Enable Cisco Express Forwarding&lt;br /&gt;flow            Enable Flow fast-switching cache&lt;br /&gt;policy          Enable fast-switching policy cache for outgoing &lt;br /&gt;&lt;br /&gt;packets&lt;br /&gt;same-interface  Enable fast-switching on the same interface&lt;br /&gt;R1(config-if)#no ip route-cache cef&lt;br /&gt;R1(config-if)#no ip route-cache&lt;/div&gt;&lt;br /&gt;Lets try to ping from 192.168.3.2 to 192.168.3.1 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="cisco"&gt;R1#&lt;br /&gt;*Mar  1 00:36:30.131: IP: tableid=0, s=192.168.1.2 (FastEthernet0/0), d=192.168.3.2 (FastEthernet0/1), routed via FIB&lt;br /&gt;*Mar  1 00:36:30.131: IP: s=192.168.1.2 (FastEthernet0/0), d=192.168.3.2 (FastEthernet0/1), g=192.168.2.2, len 84, forward&lt;br /&gt;R1#&lt;br /&gt;R1#&lt;br /&gt;R1#&lt;br /&gt;R1#&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;mmm .. only one packet shown here others ? above output shows two behaviors:&lt;br /&gt;&lt;br /&gt;when the inbound is Process switching and outboud CEF / fast switching the resulting switching method will be Fastswitching that is the output shown here the first packet process switched as the expected behavior for fast switching&lt;br /&gt;&lt;br /&gt;there is not packet shown as the src 192.168.3.2 because that stage the processing will happen via CEF( if inbound CEF &amp;amp; outbound process / Fast switching method CEF) &lt;br /&gt;&lt;br /&gt;summary :&lt;br /&gt;&lt;br /&gt;1) If the inbound is CEF switching method will be CEF&lt;br /&gt;2) if the inbound is Process  and the outbound is CEF / Fast resulting switching will be Fastswitching&lt;br /&gt;3) if the inbound is Fast and outbound is CEF resulting will be Fast&lt;br /&gt;4) if the inbound is Fast and outbound is Process resulting will be Process&lt;br /&gt;&lt;br /&gt;There are exemption list we need to consider.&lt;br /&gt;&lt;br /&gt;Reference : Table 3.1 Chapter 3 - routing tcp/ip vol 1 2nd edition. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-1401406154829445525?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/1401406154829445525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=1401406154829445525' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/1401406154829445525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/1401406154829445525'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/03/cisco-packet-switching-order.html' title='cisco packet switching order'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh6.googleusercontent.com/-MB5Ez0QuAXE/TYDpBfEAYdI/AAAAAAAAEW4/kp7NfP0rsxo/s72-c/cef_log.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-858102820544806362</id><published>2011-03-06T17:55:00.001+05:30</published><updated>2011-03-06T17:57:41.849+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='CISCO'/><category scheme='http://www.blogger.com/atom/ns#' term='proxy arp'/><title type='text'>proxy arp</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In the above diagram , both hosts don't have default routes. But both are in the same /16 subnet. When host1 tries to ping host2 will it be able to ping ? Yes this behaviour due to the Proxy Arp feature.&lt;br /&gt;Note: Cisco by default enabled the proxy arp feature you have to disable it manually .&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-M9clY4Rp5MU/TXN6WAd7NdI/AAAAAAAAEV4/qGsjQsIWyOQ/s1600/proxy+arp.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="https://lh3.googleusercontent.com/-M9clY4Rp5MU/TXN6WAd7NdI/AAAAAAAAEV4/qGsjQsIWyOQ/s400/proxy+arp.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;Check the following Debug messages "debug arp" from the router.&lt;br /&gt;When the Arp request for 192.168.20.101 received on the router Fa0/1 it replies with its own mac address of fa0/1. (c200.03fc.0001)and vice versa&lt;br /&gt;&lt;br /&gt;&lt;div id="cisco"&gt;*Mar  1 00:11:43.071: IP ARP: rcvd req src 192.168.12.154 00aa.00f4.6800, dst 192.168.20.101 FastEthernet0/1&lt;br /&gt;*Mar  1 00:11:43.075: IP ARP: sent rep src 192.168.20.101 c200.03fc.0001,dst 192.168.12.154 00aa.00f4.6800 FastEthernet0/1&lt;/div&gt;&lt;br /&gt;&lt;div id="cisco"&gt;*Mar  1 00:13:13.067: IP ARP: rcvd req src 192.168.20.101 00aa.0041.1d00, dst 192.168.12.154 FastEthernet0/0&lt;br /&gt;*Mar  1 00:13:13.067: IP ARP: sent rep src 192.168.12.154 c200.03fc.0000,&lt;br /&gt;                 dst 192.168.20.101 00aa.0041.1d00 FastEthernet0/0&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-Vo_HVOG4vkI/TXN6PNeZp4I/AAAAAAAAEV0/0MNPw5oOTho/s1600/scr_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="296" src="https://lh5.googleusercontent.com/-Vo_HVOG4vkI/TXN6PNeZp4I/AAAAAAAAEV0/0MNPw5oOTho/s640/scr_1.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;following command per interface can disable the proxy arp feature. &lt;br /&gt;&lt;div id="cisco"&gt;# no ip proxy-arp.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-858102820544806362?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/858102820544806362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=858102820544806362' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/858102820544806362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/858102820544806362'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/03/proxy-arp.html' title='proxy arp'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh3.googleusercontent.com/-M9clY4Rp5MU/TXN6WAd7NdI/AAAAAAAAEV4/qGsjQsIWyOQ/s72-c/proxy+arp.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-4173738634727461353</id><published>2011-03-05T19:02:00.000+05:30</published><updated>2011-03-05T19:02:02.478+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ppp interface'/><category scheme='http://www.blogger.com/atom/ns#' term='cisco point to point interface'/><category scheme='http://www.blogger.com/atom/ns#' term='ipcp'/><title type='text'>Internet Protocol Control Protocol in PPP links.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;m:smallfrac m:val="off"&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val="0"&gt;    &lt;m:rmargin m:val="0"&gt;    &lt;m:defjc m:val="centerGroup"&gt;    &lt;m:wrapindent m:val="1440"&gt;    &lt;m:intlim m:val="subSup"&gt;    &lt;m:narylim m:val="undOvr"&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;&lt;div class="MsoNormal"&gt;&amp;nbsp;this blog we will look the PPP link's ip route / address negotiation .&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-SJCQdDae2j4/TXI4lyFAT6I/AAAAAAAAEVw/-TXT83OtlYU/s1600/ipcp_image2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="138" src="https://lh6.googleusercontent.com/-SJCQdDae2j4/TXI4lyFAT6I/AAAAAAAAEVw/-TXT83OtlYU/s400/ipcp_image2.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;In the above diagram, there is not static routing / protocol implemented just serial interface with ppp encapsulation link brought up .&lt;br /&gt;&amp;nbsp; if you try to ping the R1 interface ip 192.168.100.1&amp;nbsp; from R2 interface ip 192.168.1.1 will it succeed ?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="code" id="cisco"&gt;R2#ping 192.168.100.1 &lt;/div&gt;Lets check the router interface:&lt;br /&gt;&lt;div class="code" id="cisco"&gt;R1#show run int s1/0&lt;br /&gt;Building configuration...&lt;br /&gt;Current configuration : 160 bytes&lt;br /&gt;!&lt;br /&gt;interface Serial1/0&lt;br /&gt;ip address 192.168.200.1 255.255.255.0 secondary&lt;br /&gt;ip address 192.168.100.1 255.255.255.0&lt;br /&gt;encapsulation ppp&lt;br /&gt;serial restart-delay 0&lt;/div&gt;&lt;br /&gt;&lt;div class="code" id="cisco"&gt;R2#show run int s1/0&lt;br /&gt;Building configuration...&lt;br /&gt;&lt;br /&gt;Current configuration : 110 bytes&lt;br /&gt;!&lt;br /&gt;interface Serial1/0&lt;br /&gt;ip address 192.168.1.1 255.255.255.254&lt;br /&gt;encapsulation ppp&lt;br /&gt;serial restart-delay 0&lt;br /&gt;end&lt;/div&gt;&lt;br /&gt;Answer is Yes you can ping. &lt;br /&gt;&lt;div class="code" id="cisco"&gt;R2#ping 192.168.100.1&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 5, 100-byte ICMP Echos to 192.168.100.1, timeout is 2 seconds:&lt;br /&gt;!!!!!&lt;br /&gt;Success rate is 100 percent (5/5), round-trip min/avg/max = 4/36/84 ms&lt;br /&gt;R2#&lt;/div&gt;&lt;br /&gt;Check the routing table: " 192.168.100.1" directly connected !! &lt;br /&gt;&lt;br /&gt;&lt;div class="code" id="cisco"&gt;R2#show ip route&lt;br /&gt;Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP&lt;br /&gt;D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area&lt;br /&gt;N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2&lt;br /&gt;E1 - OSPF external type 1, E2 - OSPF external type 2&lt;br /&gt;i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2&lt;br /&gt;ia - IS-IS inter area, * - candidate default, U - per-user static route&lt;br /&gt;o - ODR, P - periodic downloaded static route&lt;br /&gt;Gateway of last resort is not set&lt;br /&gt;192.168.1.0/30 is subnetted, 1 subnets&lt;br /&gt;C       192.168.1.0 is directly connected, Serial1/0&lt;br /&gt;192.168.100.0/32 is subnetted, 1 subnets&lt;br /&gt;C       192.168.100.1 is directly connected, Serial1/0&lt;/div&gt;&lt;br /&gt;How it works :&lt;br /&gt;ip address  negotiated through IPCP as defined in RFC 1332&lt;br /&gt;“The IP Control Protocol (IPCP) is responsible for configuring, enabling, and disabling the IP protocol modules on both ends of the point-to-point link.“&lt;br /&gt;&lt;br /&gt;enabled the debugging to what is going on :&lt;br /&gt;&lt;div class="code" id="cisco"&gt;*Mar  1 00:31:48.207: Se1/0 PPP: I pkt type 0x8021, datagramsize 14 link[ip]&lt;br /&gt;*Mar  1 00:31:48.211: Se1/0 IPCP: I CONFREQ [Open] id 3 len 10&lt;br /&gt;*Mar  1 00:31:48.211: Se1/0 IPCP:    Address 192.168.100.2 (0x0306C0A86402)&lt;br /&gt;*Mar  1 00:31:48.215: Se1/0 IPCP: O CONFREQ [Open] id 3 len 10&lt;br /&gt;*Mar  1 00:31:48.215: Se1/0 IPCP:    Address 192.168.1.1 (0x0306C0A80101)&lt;br /&gt;*Mar  1 00:31:48.215: Se1/0 IPCP: O CONFACK [Open] id 3 len 10&lt;br /&gt;*Mar  1 00:31:48.219: Se1/0 IPCP:    Address 192.168.100.2 (0x0306C0A86402)&lt;br /&gt;*Mar  1 00:31:48.367: Se1/0 PPP: I pkt type 0x8021, datagramsize 14 link[ip]&lt;br /&gt;*Mar  1 00:31:48.367: Se1/0 IPCP: I CONFACK [ACKsent] id 3 len 10&lt;br /&gt;*Mar  1 00:31:48.371: Se1/0 IPCP:    Address 192.168.1.1 (0x0306C0A80101)&lt;/div&gt;Further Reading:&lt;br /&gt;Internet Protocol Control Protocol in PPP links - http://tools.ietf.org/html/rfc1332&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-4173738634727461353?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/4173738634727461353/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=4173738634727461353' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/4173738634727461353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/4173738634727461353'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/03/internet-protocol-control-protocol-in.html' title='Internet Protocol Control Protocol in PPP links.'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh6.googleusercontent.com/-SJCQdDae2j4/TXI4lyFAT6I/AAAAAAAAEVw/-TXT83OtlYU/s72-c/ipcp_image2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-5115269717531903279</id><published>2011-03-04T13:17:00.007+05:30</published><updated>2011-03-05T09:52:22.250+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='/31 mask'/><category scheme='http://www.blogger.com/atom/ns#' term='ip address saving'/><title type='text'>/31 bit  Point to Point ip address configuration .</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Can we assign /31 address on the point to point link &amp;amp; save 50 % of ip address?&lt;br /&gt;&amp;nbsp;Answer is &lt;b&gt;&lt;span style="color: #38761d;"&gt;yes. &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-h8U_knp6H1M/TXCXq4be85I/AAAAAAAAEVU/nukETnfG8go/s1600/diagram.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="393" src="https://lh6.googleusercontent.com/-h8U_knp6H1M/TXCXq4be85I/AAAAAAAAEVU/nukETnfG8go/s640/diagram.jpg" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: #38761d;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="code" id="cisco"&gt;R2(config)#int fa0/0&lt;br /&gt;R2(config-if)#ip address 192.168.1.0 255.255.255.254&lt;br /&gt;% Warning: use /31 mask on non point-to-point interface cautiously&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="cisco"&gt;R4(config)#int fa0/0&lt;br /&gt;R4(config-if)#ip address 192.168.1.1 255.255.255.254&lt;br /&gt;% Warning: use /31 mask on non point-to-point interface cautiously&lt;/div&gt;&lt;br /&gt;Let’s try to ping :)&lt;br /&gt;&lt;br /&gt;&lt;div id="cisco"&gt;R4#ping 192.168.1.0&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 5, 100-byte ICMP Echos to 192.168.1.0, timeout is 2 seconds:&lt;br /&gt;!!!!!&lt;br /&gt;Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms&lt;/div&gt;&lt;br /&gt;Ok do we need privilege mode to ping ? no . &lt;br /&gt;&lt;br /&gt;&lt;div id="cisco"&gt;R4&amp;gt; ping 192.168.1.0&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 5, 100-byte ICMP Echos to 192.168.1.0, timeout is 2 seconds:&lt;br /&gt;!!!!!&lt;br /&gt;Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms&lt;/div&gt;&lt;br /&gt;Let’s check the ip route:&lt;br /&gt;&lt;br /&gt;&lt;div id="cisco"&gt;R4#show ip route &lt;br /&gt;Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP&lt;br /&gt;D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area &lt;br /&gt;N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2&lt;br /&gt;E1 - OSPF external type 1, E2 - OSPF external type 2&lt;br /&gt;i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2&lt;br /&gt;ia - IS-IS inter area, * - candidate default, U - per-user static route&lt;br /&gt;o - ODR, P - periodic downloaded static route&lt;br /&gt;&lt;br /&gt;Gateway of last resort is not set&lt;br /&gt;&lt;br /&gt;192.168.1.0/31 is subnetted, 2 subnets&lt;br /&gt;C       192.168.1.0 is directly connected, FastEthernet0/0&lt;br /&gt;C       192.168.1.2 is directly connected, FastEthernet0/1&lt;/div&gt;&lt;br /&gt;I tried to assign the same way on switches 3550,3560 there was no issues. &lt;br /&gt;&lt;br /&gt;" im just wondering.... So wht is a the use of Network n Broadcast addrs anyway ?":&lt;br /&gt;Fist if its real point to point interface ( eg: serial, ppp) we don’t need to assign the ip address at all , unnumbered  or we could use /32 at both side  &lt;br /&gt;But when we use Ethernet as Point to Point we need to consider the broadcast addresses:&lt;br /&gt;&lt;br /&gt;RFC 1812 says in section 4.2.3.1 IP Broadcast Addresses : &lt;br /&gt;“ (2) SHOULD silently discard on receipt (i.e., do not even deliver to&lt;br /&gt;applications in the router) any packet addressed to 0.0.0.0 or {&lt;br /&gt;&lt;network-prefix&gt;, 0 }.  If these packets are not silently&lt;br /&gt;discarded, they MUST be treated as IP broadcasts (see Section&lt;br /&gt;[5.3.5]).  There MAY be a configuration option to allow receipt&lt;br /&gt;of these packets.  This option SHOULD default to discarding&lt;br /&gt;them.&lt;br /&gt;“&lt;br /&gt;Broadcast fall in to two categories: &lt;/network-prefix&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;network-prefix&gt; Limited broadcast (Local) &lt;/network-prefix&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;&lt;network-prefix&gt;&lt;all zero=""&gt;&lt;all zero=""&gt;0.0.0.0 &lt;/all&gt;&lt;/all&gt;&lt;/network-prefix&gt;&lt;/li&gt;&lt;li&gt;&lt;network-prefix&gt;&lt;all zero=""&gt;&lt;all zero=""&gt;&amp;nbsp; All one -255.255.255.255&lt;/all&gt;&lt;/all&gt;&lt;/network-prefix&gt;&lt;/li&gt;&lt;/ol&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;network-prefix&gt;&lt;all zero=""&gt;&lt;all zero=""&gt;&amp;nbsp; Directed broadcast &lt;/all&gt;&lt;/all&gt;&lt;/network-prefix&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;&lt;network-prefix&gt;&lt;all zero=""&gt;&lt;all zero=""&gt;&amp;nbsp; Network &amp;lt; all zero &amp;gt; - this is obsolete ( Reference RFC 3021  section 2.2 )&lt;/all&gt;&lt;/all&gt;&lt;/network-prefix&gt;&lt;/li&gt;&lt;li&gt;&lt;network-prefix&gt;&lt;all zero=""&gt;&lt;all zero=""&gt;&amp;nbsp; Network , &amp;lt; all one&amp;gt; &lt;/all&gt;&lt;/all&gt;&lt;/network-prefix&gt;&lt;/li&gt;&lt;/ol&gt;&lt;network-prefix&gt;&lt;all zero=""&gt;&lt;all zero=""&gt; But our concern here is the directed broadcast , therefore if there is any broadcast it can uses limited broadcast .   we have to understand the directed broadcast only affects the local router and&amp;nbsp; the segment which is the point to point link . Further routing protocols uses the multicast, limited broadcast or unicast addresses that is not going to affected by the /31 addressing scheme.   &lt;br /&gt;Anyway directed broadcasts are always filtered as the best practice. &lt;br /&gt;&amp;nbsp;&lt;/all&gt;&lt;/all&gt;&lt;/network-prefix&gt;&lt;br /&gt;&lt;network-prefix&gt;&lt;all zero=""&gt;&lt;all zero=""&gt; &lt;u&gt;&lt;b&gt;Further Reading:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;http://www.faqs.org/rfcs/rfc3021.html&lt;/all&gt;&lt;/all&gt;&lt;/network-prefix&gt;&lt;br /&gt;&lt;network-prefix&gt;&lt;all zero=""&gt;&lt;all zero=""&gt;http://www.faqs.org/rfcs/rfc1812.html&lt;br /&gt;http://www.cisco.com/en/US/docs/ios/12_2t/12_2t2/feature/guide/ft31addr.html&lt;/all&gt;&lt;/all&gt;&lt;/network-prefix&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-5115269717531903279?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/5115269717531903279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=5115269717531903279' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/5115269717531903279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/5115269717531903279'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/03/31-bit-point-to-point-ip-address.html' title='/31 bit  Point to Point ip address configuration .'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh6.googleusercontent.com/-h8U_knp6H1M/TXCXq4be85I/AAAAAAAAEVU/nukETnfG8go/s72-c/diagram.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-895205411624116235</id><published>2011-02-17T15:37:00.005+05:30</published><updated>2011-02-17T19:18:13.500+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='breach'/><category scheme='http://www.blogger.com/atom/ns#' term='rootkit.com'/><title type='text'>Whether we can give actual details to the forums ?</title><content type='html'>After the release of the rootkit.com whole Mysql database (http://stfu.cc/rootkit_com_mysqlbackup_02_06_11.gz) 85000 users detail (if we remove the duplicate at least 50000 users) I searched my data obviously listed there.. :( Anyway i used to rotate my passwords and use lame passwords in the forums i feel safe. But after the breach the owners could advise the users of the group may be they don’t have the data now ? Some of the hashes i could reverse. I searched some Sri Lankan users around 30 users i could reverse some of the users password obviously my one too as reference ;).&lt;br /&gt;&lt;br /&gt; Hope dedicated crackers could use large rainbow table to reverse more of it I don’t wont to waste my time. &lt;br /&gt;&lt;br /&gt;One reverse hashing site:&lt;br /&gt;http://md5.thekaine.de/ ( if you have better sites please let me know)  &lt;br /&gt;http://md5.my-addr.com/md5_decrypt-md5_cracker_online/md5_decoder_tool.php&lt;br /&gt;http://www.netmd5crack.com/cracker/&lt;br /&gt;http://isc.sans.edu/tools/reversehash.html&lt;br /&gt;&lt;br /&gt;1023 passwords are - "123456" :)&lt;br /&gt;384 - password is "password"&lt;br /&gt;329 - password is "rootkit" &lt;br /&gt;190 - 111111&lt;br /&gt;181 - 12345678&lt;br /&gt;174 - qwerty&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Analysis about the attack: &lt;br /&gt; http://arstechnica.com/tech-policy/news/2011/02/anonymous-speaks-the-inside-story-of-the-hbgary-hack.ars&lt;br /&gt;&lt;br /&gt;jibberjabber :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-895205411624116235?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/895205411624116235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=895205411624116235' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/895205411624116235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/895205411624116235'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/02/whether-we-can-give-actual-details-to.html' title='Whether we can give actual details to the forums ?'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-8940947995682385087</id><published>2011-02-09T20:59:00.012+05:30</published><updated>2011-08-11T19:26:12.827+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='mikrotik queue tree'/><category scheme='http://www.blogger.com/atom/ns#' term='PCQ'/><category scheme='http://www.blogger.com/atom/ns#' term='mikrotik queue priority'/><category scheme='http://www.blogger.com/atom/ns#' term='mikrotik bandwidth control'/><category scheme='http://www.blogger.com/atom/ns#' term='mikrotik'/><category scheme='http://www.blogger.com/atom/ns#' term='queue tree'/><category scheme='http://www.blogger.com/atom/ns#' term='mikrotik bandwidth manager'/><category scheme='http://www.blogger.com/atom/ns#' term='traffic shaping'/><category scheme='http://www.blogger.com/atom/ns#' term='sharing bandwidth.'/><category scheme='http://www.blogger.com/atom/ns#' term='bandwidth control'/><title type='text'>mikrotik queue tree - Per connection queuing.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;One of the cool feature on Mikrotik queuing is Per Connection Queuing . we can equally distribute the bandwidth among Number of users.[1]&lt;br /&gt;This setup explores the per connection queuing in the congestion situation and  how to utilize the priority queuing features. &lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_E-H59LaiLu8/TVK1y4YES1I/AAAAAAAAESM/Dx4hLEWxRpM/s1600/setup.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5571715574742141778" src="http://4.bp.blogspot.com/_E-H59LaiLu8/TVK1y4YES1I/AAAAAAAAESM/Dx4hLEWxRpM/s400/setup.jpg" style="cursor: hand; cursor: pointer; display: block; height: 388px; margin: 0px auto 10px; text-align: center; width: 400px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="font-family: serif;"&gt;&lt;br /&gt;[Please note Mikrotik Queue lowest priority value have highest priority eg: queue priority 7 traffic gets highest preference over queue priority 8&amp;nbsp; ] &lt;br /&gt;In this test setup 192.168.92.50 and 51 given 512Kbps per connection queuing(PCQ) Priority 6 . 192.168.52 and 54 placed under 256Kbps PCQ (Priority 8) and further youtube users given 384Kbps irrespective to the queue they are currently placed ( FIFO) . &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;1) Bridge setup  - " Don't forget to enable the bridge firewall :) "&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;/interface bridge&lt;br /&gt;add admin-mac=00:00:00:00:00:00 ageing-time=5m arp=enabled auto-mac=yes comment="" disabled=no forward-delay=15s l2mtu=1522 \&lt;br /&gt;max-message-age=20s mtu=1500 name=br_traffic_shaper priority=0x8000 protocol-mode=none transmit-hold-count=6&lt;br /&gt;&lt;br /&gt;/interface bridge port&lt;br /&gt;add bridge=br_traffic_shaper comment="" disabled=no edge=auto external-fdb=auto horizon=none interface=ether1 path-cost=10 point-to-point=auto \&lt;br /&gt;priority=0x80&lt;br /&gt;add bridge=br_traffic_shaper comment="" disabled=no edge=auto external-fdb=auto horizon=none interface=ether2 path-cost=10 point-to-point=auto \&lt;br /&gt;priority=0x80&lt;br /&gt;/interface bridge settings&lt;br /&gt;set use-ip-firewall=yes use-ip-firewall-for-pppoe=no use-ip-firewall-for-vlan=no&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Place an address list to define the 512Kbps users:&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;/ip firewall address-list&lt;br /&gt;add address=192.168.92.50 comment="" disabled=no list=specical&lt;br /&gt;add address=192.168.92.54 comment="" disabled=no list=specical&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;all others are placed in 256Kbps through marking the whole subnet (/29). Make sure the passthrough. Youtube traffic simply matched through content of the packet . It will match the whole session traffic. &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;/ip firewall mangle&lt;br /&gt;add action=mark-connection chain=prerouting comment="" content=youtube disabled=no  \&lt;br /&gt;new-connection-mark=youtube passthrough=yes&lt;br /&gt;add action=mark-packet chain=prerouting comment="" connection-mark=youtube disabled=no new-packet-mark=youtube-packet passthrough=no&lt;br /&gt;add action=mark-connection chain=prerouting comment="" disabled=no new-connection-mark=special passthrough=yes src-address-list=specical&lt;br /&gt;add action=mark-packet chain=prerouting comment="" connection-mark=special disabled=no new-packet-mark=special_pkt passthrough=no&lt;br /&gt;add action=mark-connection chain=prerouting comment="" disabled=no dst-address=192.168.92.48/29 new-connection-mark=all_conn \&lt;br /&gt;passthrough=yes&lt;br /&gt;add action=mark-packet chain=prerouting comment="" connection-mark=all_conn disabled=no new-packet-mark=all_pkt \&lt;br /&gt;passthrough=yes&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;3) Define the queue type , &lt;br /&gt;&lt;pre class="cpp" name="code"&gt;/queue type&lt;br /&gt;add kind=pcq name=256K_Users pcq-classifier=dst-address pcq-limit=50 pcq-rate=256000 pcq-total-limit=2000&lt;br /&gt;add kind=pcq name=512K_Users pcq-classifier=dst-address pcq-limit=50 pcq-rate=512000 pcq-total-limit=2000&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;4) Define the Parent queue:&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;/queue tree&lt;br /&gt;add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=1024k max-limit=1024k name=Test_Parent_Dwn parent=ether1 \&lt;br /&gt;priority=8&lt;br /&gt;add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=1024k max-limit=1024k name=Test_Parent_Up parent=ether2 \&lt;br /&gt;priority=8&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;4) Define the sub queue tree based on the marking:&lt;br /&gt;&lt;pre class="cpp" name="code"&gt;/queue tree&lt;br /&gt;add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=1024k name=256K_U packet-mark=all_pkt parent=\&lt;br /&gt;Test_Parent_Dwn priority=8 queue=256K_Users&lt;br /&gt;add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=512k name=go packet-mark=special_pkt parent=\&lt;br /&gt;Test_Parent_Dwn priority=6 queue=512K_Users&lt;br /&gt;add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=384k name=youtube packet-mark=youtube-packet parent=\&lt;br /&gt;Test_Parent_Dwn priority=2 queue=default&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;we can see if all the users download in this situation ( except youtube) the total bandwidth goes 1.5Mbps but since the max-limit for 512K users 512Kbps they will equally share the bandwidth 256Kbps but if one user not downloading other user will get 512Kbps full. &lt;br /&gt;but if the max limit is 768Kbps both users will devide the bandwidth equally but at the same time 256Kbps user will get 128kbps each. &lt;br /&gt;&lt;br /&gt;In this scenario (max-limit 512kbps &amp;amp; 384 for youtube) when 4 usrs downloading &amp;amp; one user goes to youtube he will get 384Kbps and remaining bandwidth 640Kbps will be available for other users. &lt;br /&gt;since 512Kbps goes to priority 6 users so  only 128Kbps allocated for 256k users except youtube ( There is a dependency on the packet mark order in our setup highest order ) &lt;br /&gt;&lt;br /&gt;if the subqueues (which have the highest priority - Lower number)  max-limit total &amp;gt; Total bandwidth &lt;br /&gt;loweset priority queues will starve (0 kbps will be allocated) . Do some math before allocating bandwidth &amp;amp; priority. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;[1] Manual:Queues - PCQ - http://wiki.mikrotik.com/wiki/Manual:Queues_-_PCQ&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-8940947995682385087?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/8940947995682385087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=8940947995682385087' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8940947995682385087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8940947995682385087'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/02/mikrotik-queue-tree-per-connection.html' title='mikrotik queue tree - Per connection queuing.'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_E-H59LaiLu8/TVK1y4YES1I/AAAAAAAAESM/Dx4hLEWxRpM/s72-c/setup.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-4484898298200320544</id><published>2011-02-01T22:30:00.003+05:30</published><updated>2011-02-17T00:20:35.412+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ANSI color code'/><title type='text'>ANSI color code what to do with windows terminal .</title><content type='html'>I was trying some telnet coding on NET::TELNET and received some text as the response from mikrotik router. &lt;br /&gt;&lt;code&gt;  [m [36m/interface [m  [m [36methernet &lt;/code&gt;&lt;br /&gt;when you see such a text file in your windows notepad editor (? )  ( i thought to replace this unwanted character :) ) what you will do ? &lt;br /&gt;&lt;br /&gt;after some googling i found this is the ANSI color code that supported by Linux terminals, if you do cat &lt;filename&gt; it will display correctly . windows there are some resources seems to be outdated anyone find better resources ? &lt;br /&gt;http://www.andre-simon.de/zip/download.html#ansifilter&lt;br /&gt;http://www.defacto2.net/nfo-files.cfm&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-4484898298200320544?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/4484898298200320544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=4484898298200320544' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/4484898298200320544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/4484898298200320544'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/02/ansi-color-code-what-to-do-with-windows.html' title='ANSI color code what to do with windows terminal .'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-8737483080166563319</id><published>2011-01-28T21:59:00.005+05:30</published><updated>2011-01-28T22:31:09.811+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='same ip to two interfaces'/><category scheme='http://www.blogger.com/atom/ns#' term='CISCO'/><category scheme='http://www.blogger.com/atom/ns#' term='rfc1812'/><category scheme='http://www.blogger.com/atom/ns#' term='point to point interface'/><title type='text'>can you assign same ip address to two interfaces</title><content type='html'>cisco if the interface type is point to point we don't need to assign ip address related to RFC 1812 2.2.7 section :&lt;br /&gt;Related to this if the interface type is  P2P we can assign same ip address to two interfaces. &lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;Serial1/0                  192.168.1.1     YES manual up                    up  &lt;br /&gt;Serial1/1                  192.168.1.1     YES manual up                    up &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Ok if i ping 192.168.1.2 where it will go ?  lets explore it .. &lt;br /&gt;&lt;br /&gt;Basic diagram &lt;br /&gt;&lt;br /&gt;R2 (s1/0)--&lt;(s1/1) R1 (s1/0)&gt;--(s1/0) R3 -- LO 192.168.6.1/32&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;R1#show ip route 192.168.1.2&lt;br /&gt;Routing entry for 192.168.1.0/30&lt;br /&gt;  Known via "connected", distance 0, metric 0 (connected, via interface)&lt;br /&gt;  Routing Descriptor Blocks:&lt;br /&gt;  * directly connected, via Serial1/0&lt;br /&gt;      Route metric is 0, traffic share count is 1&lt;br /&gt;    directly connected, via Serial1/1&lt;br /&gt;      Route metric is 0, traffic share count is 1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;so basically load sharing :) &lt;br /&gt;further more , &lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;R1#show ip cef 192.168.6.1&lt;br /&gt;192.168.6.1/32&lt;br /&gt;  nexthop 192.168.1.2 Serial1/0&lt;br /&gt;  nexthop 192.168.1.2 Serial1/1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;if i enabled the debug ip icmp and interface changed the loadsharing mode to per packet : &lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;R1#ping 192.168.6.1&lt;br /&gt;&lt;br /&gt;Type escape sequence to abort.&lt;br /&gt;Sending 5, 100-byte ICMP Echos to 192.168.6.1, timeout is 2 seconds:&lt;br /&gt;U!&lt;br /&gt;*Jan 28 22:24:25.455: ICMP: dst (192.168.1.1) host unreachable rcv from 192.168.1.2&lt;br /&gt;*Jan 28 22:24:25.555: ICMP: echo reply rcvd, src 192.168.6.1, dst 192.168.1.1.!U&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Success rate is 40 percent (2/5), round-trip min/avg/max = 76/88/100 ms&lt;/span&gt;&lt;br /&gt;R1#&lt;br /&gt;*Jan 28 22:24:27.635: ICMP: echo reply rcvd, src 192.168.6.1, dst 192.168.1.1&lt;br /&gt;*Jan 28 22:24:27.743: ICMP: dst (192.168.1.1) host unreachable rcv from 192.168.1.2&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;So we can assign the ip address but if its connecting to same device no issue otherwise will be problem&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-8737483080166563319?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/8737483080166563319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=8737483080166563319' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8737483080166563319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8737483080166563319'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/01/can-you-assign-same-ip-address-to-two.html' title='can you assign same ip address to two interfaces'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-7891657555519653403</id><published>2011-01-28T12:07:00.008+05:30</published><updated>2011-02-09T22:10:20.575+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='phpcode'/><category scheme='http://www.blogger.com/atom/ns#' term='vulnerability'/><category scheme='http://www.blogger.com/atom/ns#' term='xampp'/><category scheme='http://www.blogger.com/atom/ns#' term='webdav'/><category scheme='http://www.blogger.com/atom/ns#' term='x32.php'/><title type='text'>XAMPP WebDAV Vulnerability</title><content type='html'>This vulnerability basically WebDav can be access like ftp server if you know the username &amp; Password. since Xampp places the default username &amp; password the user doesn't restrict the access to xampp directory after the xampp installtion attackers can places their files &amp; execute remotely. they can use your PC to DDoS their targets. &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Quite a strange my machine generating 80Mbps traffic towards one of the host.&lt;br /&gt;as usual i searched through process explore (sysinternal &lt;a href="http://technet.microsoft.com/en-us/sysinternals/bb896653"&gt;&lt;/a&gt;) for any unwanted process + tcp connection, Nothing suspicious.But Anti-Virus  logs points out http.exe trying to access IRC ports http.exe is xammp apache server process. &lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;1/21/2011 10:02:23 AM Blocked by port blocking rule  X:\xampplite\apache\bin\httpd.exe Anti-virus Standard Protection:Prevent IRC communication 173.192.66.130:6666&lt;br /&gt;1/21/2011 10:35:45 AM Blocked by port blocking rule  X:\xampplite\apache\bin\httpd.exe Anti-virus Standard Protection:Prevent IRC communication 199.27.134.100:6668&lt;br /&gt;1/21/2011 10:37:04 AM Blocked by port blocking rule  X:\xampplite\apache\bin\httpd.exe Anti-virus Standard Protection:Prevent IRC communication 199.27.134.100:6666&lt;br /&gt;1/21/2011 10:39:36 AM Blocked by port blocking rule  X:\xampplite\apache\bin\httpd.exe Anti-virus Standard Protection:Prevent IRC communication 74.53.201.162:6668&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt; so i was suspicious over the xampp and started to google around vulnerability for Xampp and found xampp webdav has default password ,  anybody can access it and place files in the folder  it. through that they can access whole server content. &lt;br /&gt;Next step the apache logs , &lt;br /&gt;Access log points that too ( watch the PUT) : &lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;50.22.21.218 - - [18/Jan/2011:14:02:34 +0530] "GET /webdav/ HTTP/1.1" 200 313 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12"&lt;br /&gt;50.22.21.218 - - [18/Jan/2011:14:02:34 +0530] "PROPFIND /webdav/ HTTP/1.1" 401 1369 "-" "WEBDAV Client"&lt;br /&gt;50.22.21.218 - wampp [18/Jan/2011:14:02:34 +0530] "PROPFIND /webdav/ HTTP/1.1" 207 2397 "-" "WEBDAV Client"&lt;br /&gt;50.22.21.218 - wampp [18/Jan/2011:14:02:35 +0530] "PROPFIND /webdav/ HTTP/1.1" 207 2397 "-" "WEBDAV Client"&lt;br /&gt;50.22.21.218 - wampp [18/Jan/2011:14:02:35 +0530] "PUT /webdav/info.php HTTP/1.1" 201 332 "-" "WEBDAV Client"&lt;br /&gt;50.22.21.218 - wampp [18/Jan/2011:14:02:36 +0530] "PROPFIND /webdav/ HTTP/1.1" 207 3174 "-" "WEBDAV Client"&lt;br /&gt;50.22.21.218 - - [18/Jan/2011:14:02:41 +0530] "GET /webdav/info.php HTTP/1.1" 200 105 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12"&lt;br /&gt;50.22.21.218 - wampp [18/Jan/2011:14:02:49 +0530] "DELETE /webdav/info.php HTTP/1.1" 204 - "-" "WEBDAV Client"&lt;br /&gt;50.22.21.218 - wampp [18/Jan/2011:14:02:49 +0530] "PUT /webdav/x32.php HTTP/1.1" 201 331 "-" "WEBDAV Client"&lt;br /&gt;50.22.21.218 - wampp [18/Jan/2011:14:02:50 +0530] "PROPFIND /webdav/ HTTP/1.1" 207 3174 "-" "WEBDAV Client"&lt;br /&gt;50.22.21.218 - wampp [18/Jan/2011:14:02:50 +0530] "PUT /webdav/servconfig.php HTTP/1.1" 201 338 "-" "WEBDAV Client"&lt;br /&gt;50.22.21.218 - wampp [18/Jan/2011:14:02:52 +0530] "PROPFIND /webdav/ HTTP/1.1" 207 3958 "-" "WEBDAV Client"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;3 files placed by the attackers leaf.php,servconfig.php, x32.php ( no idea what is leaf.php anybody have any idea ?  here i've attached the php files. : &lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;01/22/2011  03:03 AM             1,107 leaf.php&lt;br /&gt;01/21/2011  08:56 PM             3,775 servconfig.php&lt;br /&gt;12/20/2009  12:00 AM               277 webdav.txt&lt;br /&gt;01/18/2011  02:02 PM             1,975 x32.php&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;rar file . &lt;br /&gt;&lt;a href="http://hotfile.com/dl/100076218/c618307/webdav.rar.html"&gt;http://hotfile.com/dl/100076218/c618307/webdav.rar.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;x32.php gives basic interface where you can place host &amp;  time duration for the attack.  Sample attack request : This may be vary depend on the php /active content the attacker places. &lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;"91.121.2.103 - - [27/Jan/2011:15:09:14 +0530] "GET /webdav/x32.php?act=phptools&amp;host=76.105.134.136&amp;time=120&amp;port=3074 HTTP/1.1" 200 1133 "-" "-"&lt;br /&gt;91.121.2.103 - - [27/Jan/2011:15:10:14 +0530] "GET /webdav/x32.php?act=phptools&amp;host=76.105.134.136&amp;time=120&amp;port=3074 HTTP/1.1" 200 1134 "-" "-"&lt;br /&gt;91.121.2.103 - - [27/Jan/2011:15:10:51 +0530] "GET /webdav/x32.php?act=phptools&amp;host=76.105.134.136&amp;time=120&amp;port=3074 HTTP/1.1" 200 1133 "-" "-"&lt;br /&gt;91.121.2.103 - - [27/Jan/2011:15:13:48 +0530] "GET /webdav/x32.php?act=phptools&amp;host=76.105.134.136&amp;time=120&amp;port=3074 HTTP/1.1" 200 1134 "-" "-" &lt;br /&gt;"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;workaround:&lt;br /&gt;Change the default username and password on the webdav folder that placed by the xampp &lt;br /&gt;X:/xampp/security/webdav.htpasswd&lt;br /&gt;&lt;br /&gt;Delete the webdev folder / search google XAMPP WebDAV vulnerability.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-7891657555519653403?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/7891657555519653403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=7891657555519653403' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/7891657555519653403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/7891657555519653403'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2011/01/xampp-webdav-vulnerability.html' title='XAMPP WebDAV Vulnerability'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-8620267371870032374</id><published>2010-12-12T20:23:00.003+05:30</published><updated>2011-01-01T10:32:57.987+05:30</updated><title type='text'>Mirotik queue change through API</title><content type='html'>I was implementing time based queue change. Rather than using mikrotik in-built scheduler i thought to execute a crontab through central location. Therefore i tried with except scripting but with telnet it failed or not working properly. I think the returned results might have any color coding input. while searching i stumble on the mikrotik perl api written by Hugh [URL:http://forum.mikrotik.com/viewtopic.php?f=8&amp;t=22744]. &lt;br /&gt;i just edited the example code as follows. this is the upgrade this will be edited for the download. &lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;#!/usr/bin/perl -w&lt;br /&gt;#to define the api. &lt;br /&gt;BEGIN {push @INC, '/root/upgradefolder'}&lt;br /&gt;use Mtik ;&lt;br /&gt;&lt;br /&gt;$mtik_host =  "192.168.28.49";&lt;br /&gt;$mtik_user =  "user_script";&lt;br /&gt;$mtik_passwd = "passwordscript";&lt;br /&gt;my(@cmd);&lt;br /&gt;push(@cmd,"/queue/simple/set");&lt;br /&gt;push(@cmd,"=limit-at=6144000/6144000");&lt;br /&gt;push(@cmd,"=max-limit=6144000/6144000");&lt;br /&gt;push(@cmd,"=.id=2M");&lt;br /&gt;&lt;br /&gt;$Mtik::debug = 0;&lt;br /&gt;if (Mtik::login($mtik_host,$mtik_user,$mtik_passwd)) {&lt;br /&gt;      my($retval,@results) = Mtik::raw_talk(\@cmd);&lt;br /&gt;      foreach my $result (@results) {&lt;br /&gt;        print "&gt;&gt;&gt; $result\n";&lt;br /&gt;      }&lt;br /&gt;  Mtik::logout();&lt;br /&gt;}&lt;br /&gt;else {&lt;br /&gt;  print "Couldn't log in to $mtik_host\n";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Mikrotik side I've enabled api services. &lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt; ip service print&lt;br /&gt;Flags: X - disabled, I - invalid&lt;br /&gt; #   NAME                  PORT  ADDRESS            CERTIFICATE&lt;br /&gt; 0   telnet                23    0.0.0.0/0&lt;br /&gt; 1   ftp                   21    0.0.0.0/0&lt;br /&gt; 2   www                   80    0.0.0.0/0&lt;br /&gt; 3   ssh                   22    0.0.0.0/0&lt;br /&gt; 4 X www-ssl               443   0.0.0.0/0          none&lt;br /&gt;&lt;span style="font-weight:bold;"&gt; 5   api                   8728  0.0.0.0/0&lt;/span&gt;&lt;br /&gt; 6   winbox                8291  0.0.0.0/0&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;and named the queue as 2M&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;&gt;queue simple print&lt;br /&gt;Flags: X - disabled, I - invalid, D - dynamic&lt;br /&gt; 0    name="2M" target-addresses=192.168.28.48/29 dst-address=0.0.0.0/0&lt;br /&gt;      interface=ether3 parent=none direction=both priority=8&lt;br /&gt;      queue=default-small/default-small limit-at=4096000/4096000&lt;br /&gt;      max-limit=4096000/4096000 burst-limit=0/0 burst-threshold=0/0&lt;br /&gt;      burst-time=0s/0s total-queue=default-small&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;And added the crontab according to it . &lt;br /&gt;&lt;br /&gt;#Auto bandwidth upgrade script&lt;br /&gt;01 19 * * * /root/upgradefolder/test_upgrade.pl&lt;br /&gt;01 07 * * 1-5 /root/upgradefolder/test_downgrade.pl&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-8620267371870032374?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/8620267371870032374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=8620267371870032374' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8620267371870032374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8620267371870032374'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2010/12/mirotik-queue-change-through-api.html' title='Mirotik queue change through API'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-8401140604415334141</id><published>2010-12-12T20:11:00.002+05:30</published><updated>2010-12-12T20:15:35.213+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Packet Tracer'/><category scheme='http://www.blogger.com/atom/ns#' term='ACL'/><category scheme='http://www.blogger.com/atom/ns#' term='CCNA'/><title type='text'>CCNA Access list lab</title><content type='html'>Tasks are defined in the packet trace file. 10.10.12.0/24 network ip address not bound to the PC. &lt;br /&gt;Otherwise this is the basic diagram. &lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_E-H59LaiLu8/TQTfeztdJeI/AAAAAAAAEQU/wMqMtEeBQpU/s1600/ACL%2BLab.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 178px;" src="http://3.bp.blogspot.com/_E-H59LaiLu8/TQTfeztdJeI/AAAAAAAAEQU/wMqMtEeBQpU/s400/ACL%2BLab.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5549806361197225442" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download:http://hotfile.com/links/88950992/ac4cb5e/acl.pkt.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-8401140604415334141?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/8401140604415334141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=8401140604415334141' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8401140604415334141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8401140604415334141'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2010/12/ccna-access-list-lab.html' title='CCNA Access list lab'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_E-H59LaiLu8/TQTfeztdJeI/AAAAAAAAEQU/wMqMtEeBQpU/s72-c/ACL%2BLab.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-7622085454564089522</id><published>2010-12-05T11:42:00.002+05:30</published><updated>2010-12-05T11:46:47.505+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='network byte order'/><category scheme='http://www.blogger.com/atom/ns#' term='host byte order.'/><title type='text'>Little endian, Big endian -- back to network programming.</title><content type='html'>This is for my reference :) .&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;Data Pattern AFB3&lt;br /&gt;Little endian B3 AF&lt;br /&gt;Big endian AF  B3&lt;br /&gt;Network Byte Order Big-Endian&lt;br /&gt;Host Byte Order -Depend on the Host&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Ref: http://beej.us/guide/bgnet/output/html/multipage/ipstructsdata.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-7622085454564089522?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/7622085454564089522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=7622085454564089522' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/7622085454564089522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/7622085454564089522'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2010/12/little-endian-big-endian-back-to.html' title='Little endian, Big endian -- back to network programming.'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-8016764077171127937</id><published>2010-12-03T22:43:00.006+05:30</published><updated>2010-12-03T23:04:08.493+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Virtualization'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='Qubes Os'/><title type='text'>application virtualization concept  - Qubes OS</title><content type='html'>Invisible Things Lab - they are focused on kernel security, virtualization security and system/firmware level security who brings up certain vulnerabilities in Intel process introducing qubes which is based on virtualization  concept.  core concept behind the OS is based on Security by Isolation . &lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_E-H59LaiLu8/TPknWuHtVxI/AAAAAAAAEQM/wh-kUrH6bq4/s1600/qubes.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 320px;" src="http://3.bp.blogspot.com/_E-H59LaiLu8/TPknWuHtVxI/AAAAAAAAEQM/wh-kUrH6bq4/s400/qubes.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5546507687374444306" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Architecture mentioned in the above diagram(taken from the documentation). &lt;br /&gt;I couldn't test / or willing to download ;) . &lt;br /&gt;!!NOTE: You can only install Qubes on a 64-bit CPU! (most recent laptops have 64-bit CPUs) &lt;br /&gt;!!!NOTE: Do not try to install Qubes in a VM, e.g. VMWare.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;By the way if you want to try : &lt;br /&gt;http://www.qubes-os.org/trac/wiki/InstallationGuide&lt;br /&gt;http://qubes-os.org/Architecture.html&lt;br /&gt;http://www.invisiblethingslab.com/itl/Welcome.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-8016764077171127937?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/8016764077171127937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=8016764077171127937' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8016764077171127937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8016764077171127937'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2010/12/application-virtualization-concept.html' title='application virtualization concept  - Qubes OS'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_E-H59LaiLu8/TPknWuHtVxI/AAAAAAAAEQM/wh-kUrH6bq4/s72-c/qubes.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-6084612052661044091</id><published>2010-12-03T22:29:00.002+05:30</published><updated>2010-12-03T22:39:37.254+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Energy Efficient Ethernet'/><category scheme='http://www.blogger.com/atom/ns#' term='802.3az'/><title type='text'>IEEE P802.3az Energy Efficient Ethernet</title><content type='html'>Energy Efficient concept move from data centers to servers CPU and finally come up to the Ethernet controller level. I didn't want to read the IEEE standard ( i don't have capability to understand the content ). but in future drivers will interact to provide the dynamic negotiation of the bandwidth over the Ethernet, when the link idle it tries to save the power. &lt;br /&gt;Relevant resources:&lt;br /&gt;Overall intro : &lt;br /&gt;http://www.nanog.org/meetings/nanog50/abstracts.php?pt=MTY0NCZuYW5vZzUw&amp;nm=nanog50&lt;br /&gt;IEEE working group:&lt;br /&gt;http://www.ieee802.org/3/az/public/&lt;br /&gt; One more tutorial : &lt;br /&gt;http://www.ieee802.org/802_tutorials/07-July/IEEE-tutorial-energy-efficient-ethernet.pdf&lt;br /&gt;Interesting concepts : &lt;br /&gt;Desktop-to-switch links&lt;br /&gt;– Are mostly idle&lt;br /&gt;• Lots of very low bandwidth “chatter”&lt;br /&gt;– High bandwidth needed for bursts&lt;br /&gt;• Bursts are often seconds to hours apart&lt;br /&gt;• Server links are also often not fully utilized&lt;br /&gt;– Higher speed links offer more opportunity to save energy&lt;br /&gt;– This is an area where more data is needed&lt;br /&gt;• Evidence of low utilization (desktop users)&lt;br /&gt;– LAN link utilization is generally in range 1 to 5% [1, 2]&lt;br /&gt;– Utilization for “busiest” user in USF was 4% of 100 Mb/s&lt;br /&gt;&lt;br /&gt;Asus's calming they are the&lt;a href="http://www.dvhardware.net/article42085.html"&gt; first&lt;/a&gt; one :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-6084612052661044091?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/6084612052661044091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=6084612052661044091' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/6084612052661044091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/6084612052661044091'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2010/12/ieee-p8023az-energy-efficient-ethernet.html' title='IEEE P802.3az Energy Efficient Ethernet'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-6792266322457682496</id><published>2010-11-21T13:13:00.002+05:30</published><updated>2010-11-21T13:38:38.042+05:30</updated><title type='text'>Internet Banwidth will be free ?</title><content type='html'>Few years back getting 1Mb bandwidth internet port cost much , the same scenario experienced by the mobile operators. when the competition increases the new price model and service oriented architecture and focus on the data services increases. But the wholesale internet business seems to be facing the same problem . &lt;a href="http://gigaom.com/2008/10/07/wholesale-internet-bandwidth-prices-keep-falling/"&gt;"Wholesale Internet Bandwidth Prices Keep Falling"&lt;/a&gt; according to the 2008 report it suggest between 10$ -14$ this values indicate the US pops pricing . But in the Asian countries specially south Asian countries the pricing stricture really high when compared to Europe due to the lack of infrastructure. But the Indian market giving the pressure to reduce the pricing structure. That will have certain impact on the neighbor countries. &lt;br /&gt;with this in mind when reaching 2020 the per Gigabit cost will be the same and the services that use to offer will be the dominating factor in the service providers. Hosting may migrate to community offer or hybrid cloud structure. where the ipv6 will gives individuals to host their own service. reliability will be given through the distributed peer to peer structure.   Wireless providers will be moved to promising wireless new standardize such as 802.11ac. &lt;a href="http://www.pcworld.com/article/184067/80211ac_standard_will_bring_gigabit_speeds_to_wifi.html"&gt;(802.11ac Standard Will Bring Gigabit Speeds to WiFi) &lt;/a&gt;. and upcoming new standards. &lt;br /&gt;&lt;br /&gt;Internet will be a utility service , but the services the user going to be consume will dominate the pricing.  This can't be a free service but the charges can be indirectly obtained through different ways.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-6792266322457682496?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/6792266322457682496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=6792266322457682496' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/6792266322457682496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/6792266322457682496'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2010/11/internet-banwidth-will-be-free.html' title='Internet Banwidth will be free ?'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-8546739837615740176</id><published>2010-08-05T20:16:00.004+05:30</published><updated>2010-08-05T22:47:53.289+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='projects'/><category scheme='http://www.blogger.com/atom/ns#' term='network related'/><category scheme='http://www.blogger.com/atom/ns#' term='idea'/><title type='text'>network related project concepts</title><content type='html'>Some of the ideas I've thought may be some people already done, but need to do literature survey on these areas:&lt;br /&gt;1) Application issue identification based on network analysis. &lt;br /&gt; Since i'm working in an ISP sometime really hard to figure out the application issues that affected by network interaction. such as packet loss , throughput , mtu , jitter etc ... analyzing the packet using wireshark or other tools sometimes won't reveal important factors. ( May be i don't know how to use this tool :) ) . &lt;br /&gt;initial search yields some commercial tools .... &lt;br /&gt;&lt;br /&gt;2) Data management for Network Management data. &lt;br /&gt;This is related to my previous post.  Data capturing and logging almost standardized but how we are analyzing and how to take action mostly depend on the requirement on hand. Based on the requirements there can be different ideas.&lt;br /&gt;* Mal-ware , bot control traffic etc .. signature extraction &lt;br /&gt;* CRM integration &lt;br /&gt;* Network event identification&lt;br /&gt;* Digital Forensic analysis&lt;br /&gt;* etc...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-8546739837615740176?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/8546739837615740176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=8546739837615740176' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8546739837615740176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8546739837615740176'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2010/08/network-related-project-concepts.html' title='network related project concepts'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-2264264388511321412</id><published>2010-07-31T19:57:00.003+05:30</published><updated>2010-07-31T20:09:32.877+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Network Monitoring'/><category scheme='http://www.blogger.com/atom/ns#' term='Network Data Streaming'/><category scheme='http://www.blogger.com/atom/ns#' term='Netflow processing'/><title type='text'>Network Monitoring Databases</title><content type='html'>I was quite unhappy regarding the space &amp; processing power that require to store and process the network traffic data into general database. As well as the efficiency when handling the network flow. For an example in an ISP the data generated from Netflow is a significant amount that varies with the number of flow eg:Million flows per hour. Netflow considered De facto standard for network accounting / billing and now anomaly detection schemes. Therefore the general database structures not an efficient for processing large network traces.   Therefore i was checking relevant projects in the academic world but  AT&amp;T Industry have come up with the project called Gigascope(Still i couldn't get the source code :) ). But similar product i found interesting CoMo Project. This area of researches are follows the "Network Data Streaming" Database structure.&lt;br /&gt; Lets explore it  "http://como.sourceforge.net/publications.php" :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-2264264388511321412?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/2264264388511321412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=2264264388511321412' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/2264264388511321412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/2264264388511321412'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2010/07/network-monitoring-databases.html' title='Network Monitoring Databases'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-8404868583457213131</id><published>2010-05-29T12:47:00.003+05:30</published><updated>2010-05-29T12:59:05.841+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='mikrotik'/><category scheme='http://www.blogger.com/atom/ns#' term='ipsec'/><title type='text'>Mikrotik IPSec Performance Study</title><content type='html'>&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;Sample network is implemented with similar devices and the Internet connection simulated via Lan connectivity. Two end hosts provide the transfer and  reviver functionality. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;Network Setup.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;The test environment designed as explained in the  diagram 1.0.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_E-H59LaiLu8/TADBg_2IlpI/AAAAAAAAENg/a3WcoTIFplE/s1600/fig1.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 79px;" src="http://2.bp.blogspot.com/_E-H59LaiLu8/TADBg_2IlpI/AAAAAAAAENg/a3WcoTIFplE/s400/fig1.JPG" alt="" id="BLOGGER_PHOTO_ID_5476589919520986770" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="text-align: center;" class="MsoNormal"&gt;Test Setup Figure 1.0&lt;/p&gt;&lt;p style="text-align: left;" class="MsoNormal"&gt;End Host Configuration- Table 1.0&lt;/p&gt;&lt;table class="MsoTableGrid" style="border-collapse: collapse; border: medium none;" border="1" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="width: 239.4pt; border: 1pt solid black; padding: 0in 5.4pt;" valign="top" width="319"&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;End Point 1&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 239.4pt; border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: black black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="319"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;End point 2&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="width: 239.4pt; border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top" width="319"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Microsoft windows XP Professional SP3&lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;CPU count 2&lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;1.87 GB RAM  3.00GHz&lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;100Mbps Realtek RTL8139/810x Family Fast Ethernet NIC&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 239.4pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="319"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Microsoft windows XP Professional SP3&lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;CPU count 1&lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;1.47GB RAM 3.06GHz &lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;100Mbps Realtek RTL8139 Family PCI Fast Ethernet NIC&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;Router Configuration - Table 1.1&lt;br /&gt;&lt;table class="MsoTableGrid" style="border-collapse: collapse; border: medium none;" border="1" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="width: 159.6pt; border: 1pt solid black; padding: 0in 5.4pt;" valign="top" width="213"&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 159.6pt; border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: black black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="213"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Router 1&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 159.6pt; border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: black black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="213"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="width: 159.6pt; border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top" width="213"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Speed &lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 159.6pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="213"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;264 MHz&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 159.6pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="213"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;264 MHz&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="width: 159.6pt; border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top" width="213"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Memory&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 159.6pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="213"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;30MB RAM&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 159.6pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="213"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;30MB RAM&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="width: 159.6pt; border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top" width="213"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;HD&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 159.6pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="213"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;128 MB&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 159.6pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="213"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;64 MB&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="width: 159.6pt; border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top" width="213"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 159.6pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="213"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;RouterOS 3.30&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 159.6pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="213"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;RouterOS 3.20&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;u&gt;Workload:&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Hashing algorithm parameter is fixed to SHA and  changed the encryption algorithm. Default CPU load without the traffic is stays  around 2% from both routers.  Traffic generated through iperf  for the sample  traffic.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;table class="MsoTableGrid" style="width: 495.9pt; border-collapse: collapse; border: medium none;" border="1" cellpadding="0" cellspacing="0" width="661"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border: 1pt solid black; padding: 0in 5.4pt;" valign="top"&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: black black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Protocol&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: black black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Cipher&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: black black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Packet Size&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: black black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Hash&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: black black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Maximum Bandwidth  Trial 1&lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TX Kbits/&lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;RX Kbits&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: black black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Maximum Bandwidth  Trial 2&lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TX Kbits/&lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;RX Kbits&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: black black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Maximum Bandwidth  Trial 3&lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TX Kbits/&lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;RX Kbits&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: black black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;Maximum Bandwidth  Trial 4&lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TX Kbits/&lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;RX Kbits&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: black black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;AVG  &lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TX Kbits/&lt;/p&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;RX Kbits&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;1.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;         &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP*&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;--&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;64&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;--&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;5.70/5.37 &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;5.32/5.54&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;5.17/5.37&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;5.43/5.67&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;5.405/5.487&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;2.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;         &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;DES&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;64&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;SHA&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;616/598&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;809/784&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;611/626&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;801/790&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;709/700&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 18.4pt;"&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt; height: 18.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;3.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;         &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt; height: 18.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt; height: 18.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;3DES&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt; height: 18.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;64&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt; height: 18.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;SHA&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt; height: 18.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;616/ 594&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt; height: 18.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;601/537&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt; height: 18.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;802/769&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt; height: 18.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;638/614&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt; height: 18.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;664/628&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;4.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;         &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;AES-128&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;64&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;SHA&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;795/868&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;615/639&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;788/806&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;821/807&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;755/780&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;5.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;         &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;AES-192&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;64&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;SHA&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;613/628&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;803/769&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;602/627&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;768/816&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;697/710&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;6.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;         &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;AES-256&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;64&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;SHA&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;541/577&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;784/753&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;632/645&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;778/826&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;684/700&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;7.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;         &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP*&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;--&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;96&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;--&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;6.15/5.97&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;6.02/ 6.21&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;6.03/6.29&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;6.29/6.55&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;6.122/6.225&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;8.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;         &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;DES&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;96&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;SHA&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;724/716&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;839/771&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;716/724&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;813/ 775&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;773/747&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;9.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;         &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;3DES&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;96&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;SHA&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;837/771&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;740/729&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;829/788&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;826/788&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;808/769&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;10.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;     &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;AES-128&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;96&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;SHA&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;846/ 795&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;730/743&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;754/737&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;800/ 870&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;782/786&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;11.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;     &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;AES-192&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;96&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;SHA&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;856/803&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;716/712&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;798/855&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;721/723&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;773/773&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;12.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;     &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;AES-256&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;96&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;SHA&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;738/725&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;853/789&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;742/729&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;782/843&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;779/771&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;13.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;     &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP*&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;--&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;1536&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;--&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;10.4/8.43&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;8.85/9.90&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;8.37/10.4&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;9.06/9.71&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;9.17/9.61&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;14.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;     &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;DES&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;1536&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;SHA&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;863/867&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;860/873&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;861/867&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;836/895&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;855/875&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;15.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;     &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;3DES&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;1536&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;SHA&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;954/817&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;875/881&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;881/885&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;876/881&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;904/866&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;16.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;     &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;AES-128&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;1536&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;SHA&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;894/ 898&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;898/909&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;897/901&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;828/968&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;879/919&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;17.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;     &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;AES-192&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;1536&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;SHA&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;822/962&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;883/894&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;888/894&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;885/889&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;869/910&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: -moz-use-text-color black black; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoListParagraph" style="margin-bottom: 0.0001pt; text-indent: -0.25in; line-height: normal;"&gt;18.&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;     &lt;/span&gt; &lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;TCP&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;AES-256&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;1536&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;SHA&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;883/889&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;821/955&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;876/888&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;879/882&lt;/p&gt;   &lt;/td&gt;   &lt;td style="width: 55.35pt; border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; padding: 0in 5.4pt;" valign="top" width="74"&gt;   &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;865/903&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;* Bandwidth measured in Mbps.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;img src="file:///G:/DOCUME%7E1/ragu/LOCALS%7E1/Temp/moz-screenshot-2.png" alt="" /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-8404868583457213131?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/8404868583457213131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=8404868583457213131' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8404868583457213131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/8404868583457213131'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2010/05/mikrotik-ipsec-performance-study.html' title='Mikrotik IPSec Performance Study'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_E-H59LaiLu8/TADBg_2IlpI/AAAAAAAAENg/a3WcoTIFplE/s72-c/fig1.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-134706657931260557</id><published>2010-05-29T12:32:00.002+05:30</published><updated>2010-05-29T12:34:09.760+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='content change'/><category scheme='http://www.blogger.com/atom/ns#' term='ftp'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='automatic'/><category scheme='http://www.blogger.com/atom/ns#' term='perl'/><title type='text'>Automatic FTP upload when content changed in folder - perl script</title><content type='html'>This was rudimentary script needed to edit more, but found interesting . &lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;#! perl -slw&lt;br /&gt;use strict;&lt;br /&gt;use Win32::ChangeNotify;&lt;br /&gt;use threads;&lt;br /&gt;#monitoring path. &lt;br /&gt;my $path = 'c:\folder';&lt;br /&gt;&lt;br /&gt;my $notify = Win32::ChangeNotify-&gt;new( $path, 0, 'FILE_NAME' );&lt;br /&gt;&lt;br /&gt;my %last;&lt;br /&gt;  @last{ glob $path . '\*' } = ();&lt;br /&gt;&lt;br /&gt;my $count = 0;&lt;br /&gt;while( 1 ) {&lt;br /&gt;    next&lt;br /&gt;     unless $notify-&gt;wait( 10_000 ); # Check every 10 seconds&lt;br /&gt;     $notify-&gt;reset;&lt;br /&gt;     print $/, 'Something changed';&lt;br /&gt;     my @files = glob $path . '\*';&lt;br /&gt;     if( @files&gt;  scalar keys %last ) {&lt;br /&gt;         my %temp;&lt;br /&gt;         @temp{ @files } = ();&lt;br /&gt;         delete @temp{ keys %last };&lt;br /&gt;         #print for keys %temp;&lt;br /&gt;        my $k;&lt;br /&gt;        my $v;&lt;br /&gt;        while ( ($k,$v) = each %temp ) {&lt;br /&gt;   my $thr1 = threads-&gt;create(\&amp;load, $k,$count);&lt;br /&gt;     }&lt;br /&gt;  }&lt;br /&gt;     else {&lt;br /&gt;         print "A non-deletion or creation change occured";&lt;br /&gt;     }&lt;br /&gt;     undef %last;&lt;br /&gt;     @last{ @files } = ();&lt;br /&gt;  $count = $count +1;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sub load {&lt;br /&gt;my ($file,$count) = @_;&lt;br /&gt;  if(fileSize($file))&lt;br /&gt;        {&lt;br /&gt;        ftp__command_generator($file,$count);&lt;br /&gt;        }&lt;br /&gt;        &lt;br /&gt;}&lt;br /&gt;#check the file is still copying&lt;br /&gt;sub fileSize {&lt;br /&gt;    my($filename,$count) = @_;&lt;br /&gt;    while(1)&lt;br /&gt;    {&lt;br /&gt;        my $value;&lt;br /&gt;        $value = open(FILEx,$filename);&lt;br /&gt;        if ($value)&lt;br /&gt;        {&lt;br /&gt;            close(FILEx);&lt;br /&gt;            return 1;&lt;br /&gt;        }&lt;br /&gt;        else&lt;br /&gt;        {&lt;br /&gt;            sleep(10);&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sub ftp__command_generator {&lt;br /&gt;my($Changed_file,$count) = @_;&lt;br /&gt;my $outfile = "file$count.dat";&lt;br /&gt;open (FILE2,"&gt;$outfile");&lt;br /&gt;print (FILE2 "user USERNAME");&lt;br /&gt;print (FILE2 "PASSWORD");&lt;br /&gt;print (FILE2 "bin");&lt;br /&gt;print (FILE2 "put \"$Changed_file\"");&lt;br /&gt;print (FILE2 "quit");&lt;br /&gt;close(FILE2);&lt;br /&gt;system("ftp -n -s:$outfile 192.168.0.1");&lt;br /&gt;} &lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-134706657931260557?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/134706657931260557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=134706657931260557' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/134706657931260557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/134706657931260557'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2010/05/automatic-ftp-upload-when-content.html' title='Automatic FTP upload when content changed in folder - perl script'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-2340927946345606612</id><published>2010-04-03T20:48:00.004+05:30</published><updated>2011-02-06T11:52:34.626+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='mikrotik'/><category scheme='http://www.blogger.com/atom/ns#' term='backup'/><category scheme='http://www.blogger.com/atom/ns#' term='perl'/><title type='text'>Mikrotik Backup through perl script</title><content type='html'>I don't know how many people are still using telnet but suppose if you are using this will help. Script uses export command to take the backup and save it. I thought better to share it. I'll check the ssh variation and upload when possible. &lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;#Date - 31st April 2010&lt;br /&gt;#Gobinath&lt;br /&gt;#To retrive the backup from the mikrotik router.&lt;br /&gt;#!/usr/bin/perl&lt;br /&gt;use Net::Telnet;&lt;br /&gt;use POSIX ;&lt;br /&gt;&lt;br /&gt;#Input &lt;br /&gt;# routerlist contains ipaddress and name that save the backupfile seprated by tab # used for comments. &lt;br /&gt;#Backup Path.&lt;br /&gt;$path = "/mikrotik/backups";&lt;br /&gt;#router List&lt;br /&gt;$filename = "routerlist.txt";&lt;br /&gt;&lt;br /&gt;#Mikrotik Username Password +ct used to remove the color codes&lt;br /&gt;@username_list = ('admin+ct','admin');&lt;br /&gt;@password_list = ('######','######');&lt;br /&gt;#Read the router List&lt;br /&gt;open (FILE,$filename) ;&lt;br /&gt;&lt;br /&gt;#Time Stamp.&lt;br /&gt;my $datestamp = strftime("%Y%m%d",localtime);&lt;br /&gt;chomp($datestamp);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;sub retriver {&lt;br /&gt;undef @output ;&lt;br /&gt;   my($username, $pass,$hostname) = @_;&lt;br /&gt;   $telnet = new Net::Telnet ( Timeout,5, Errmode=&gt;'return');&lt;br /&gt;   $telnet-&gt;binmode(0);&lt;br /&gt;   $telnet-&gt;open($hostname);&lt;br /&gt;   $telnet-&gt;login($username,$pass);&lt;br /&gt;   $msg = $telnet-&gt;errmsg;&lt;br /&gt;   if ($msg =~ /ogin failed/ )&lt;br /&gt;   {&lt;br /&gt;   $output[0] = "failed";&lt;br /&gt;    return @output;&lt;br /&gt;   }&lt;br /&gt;   else&lt;br /&gt;   {&lt;br /&gt;   #Retrive the export .&lt;br /&gt;   $telnet-&gt;waitfor('/] &gt;/i');&lt;br /&gt;   @output = $telnet-&gt;cmd('/export');&lt;br /&gt;   return @output;&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;while (&lt;FILE&gt;)&lt;br /&gt;{&lt;br /&gt;        if (lcfirst $_ != '#')&lt;br /&gt;        {&lt;br /&gt;            undef @output ;&lt;br /&gt;            my($hostname,$filename)=  split('\t', $_);&lt;br /&gt;            chomp($filename);&lt;br /&gt;            my $count =  0;&lt;br /&gt;            foreach(@username_list)&lt;br /&gt;            {&lt;br /&gt;&lt;br /&gt;                my $username = $_;&lt;br /&gt;                my $pass =  $password_list[$count];&lt;br /&gt;                @output = &amp;retriver($username,$pass,$hostname);&lt;br /&gt;                if ( $output[0] !~ /failed/ )&lt;br /&gt;                {&lt;br /&gt;&lt;br /&gt;                    $filepath = $path."/".$filename."_".$datestamp.".txt";&lt;br /&gt;                    open(OUT,"&gt;$filepath");&lt;br /&gt;                    print OUT @output;&lt;br /&gt;                    last;&lt;br /&gt;                }&lt;br /&gt;             $count = $count +1;&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;close(FILE);&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;issue noted with mikrotik version 3.0 and related OS. still couldn't fix the problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-2340927946345606612?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/2340927946345606612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=2340927946345606612' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/2340927946345606612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/2340927946345606612'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2010/04/mikrotik-backup-through-perl-script.html' title='Mikrotik Backup through perl script'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-5245944431583954902</id><published>2009-12-16T20:45:00.005+05:30</published><updated>2009-12-16T20:53:14.857+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ipaddress search'/><title type='text'>IP Based search engine</title><content type='html'>Search on gigablast provide a unique facility to search based on IP/IP Range.&lt;br /&gt;eg: ip:69.63.181  (http://gigablast.com/search?k4a=576656&amp;amp;s=10&amp;amp;q=ip:69.63.181)&lt;br /&gt;List all the websites hosted on the facebook ip range. quite interesting to know. :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-5245944431583954902?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/5245944431583954902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=5245944431583954902' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/5245944431583954902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/5245944431583954902'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2009/12/ip-based-search-engine.html' title='IP Based search engine'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-6042224686708801508</id><published>2009-10-30T21:34:00.005+05:30</published><updated>2009-10-30T21:45:08.330+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='CISCO'/><category scheme='http://www.blogger.com/atom/ns#' term='Conditional Advertisement'/><category scheme='http://www.blogger.com/atom/ns#' term='BGP'/><title type='text'>Conditional BGP Advertisement</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_E-H59LaiLu8/SusPRcmrmnI/AAAAAAAAEAA/w0WTdOv_elQ/s1600-h/untitled.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 250px;" src="http://2.bp.blogspot.com/_E-H59LaiLu8/SusPRcmrmnI/AAAAAAAAEAA/w0WTdOv_elQ/s400/untitled.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5398425370744298098" /&gt;&lt;/a&gt;&lt;br /&gt;Introduction:  &lt;br /&gt;This we can use to advertise the prefixes automatically when one peer goes down rather manually advertise the prefixes. &lt;br /&gt;Design Notes:&lt;br /&gt;In this example I’m trying to advertise 10.0.0.0/16 through AS 65001 but if the peer (203.143.0.5) goes down automatically advertise the 10.0.0.0/16 through AS 65002(203.143.0.1).  &lt;br /&gt;To make the configuration works we need to match against a prefix that advertise from that(203.143.0.5) peer. But to make sure that learned through that peer we can use AS-Path match or community based match. Here in this example I’m matching against 172.16.0.0/24 advertise through 65001 and match against the as path ^ 65001.&lt;br /&gt;Configuration Notes: &lt;br /&gt;This is the only configuration different from normal one:&lt;br /&gt;neighbor 203.143.0.1 advertise-map otherblock non-exist-map[exist-map] inblock  &lt;br /&gt;Better notes on this:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_E-H59LaiLu8/SusP2xJ4sAI/AAAAAAAAEAI/iwuD-KHL-mA/s1600-h/notes.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 385px;" src="http://1.bp.blogspot.com/_E-H59LaiLu8/SusP2xJ4sAI/AAAAAAAAEAI/iwuD-KHL-mA/s400/notes.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5398426011915825154" /&gt;&lt;/a&gt;&lt;br /&gt;Normal Status: &lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;R2#show ip bgp neighbors 203.143.0.1 | inc Cond&lt;br /&gt;Condition-map inblock, Advertise-map otherblock, status: Withdraw&lt;br /&gt;R0#show ip route&lt;br /&gt;Gateway of last resort is not set&lt;br /&gt;B    172.16.0.0/16 [20/0] via 203.143.0.2, 00:08:41&lt;br /&gt;     203.143.0.0/30 is subnetted, 1 subnets&lt;br /&gt;C       203.143.0.0 is directly connected, FastEthernet0/0&lt;br /&gt;B    192.168.0.0/16 [20/0] via 203.143.0.2, 00:08:11&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;R2#show ip bgp neighbors 203.143.0.1 advertised-routes&lt;br /&gt;BGP table version is 5, local router ID is 203.143.0.6&lt;br /&gt;Status codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal,&lt;br /&gt;              r RIB-failure, S Stale&lt;br /&gt;Origin codes: i - IGP, e - EGP, ? – incomplete&lt;br /&gt;   Network          Next Hop            Metric LocPrf Weight Path&lt;br /&gt;*&gt; 172.16.0.0       203.143.0.5              0             0 65001 i&lt;br /&gt;*&gt; 192.168.0.0/16   0.0.0.0                  0         32768 i&lt;br /&gt;Total number of prefixes 2&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;When the BGP PEER Down:&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;R2#show ip bgp summary&lt;br /&gt;Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd&lt;br /&gt;203.143.0.1     4 65002     113     141        7    0    0 00:13:20        0&lt;br /&gt;203.143.0.5     4 65001     117     121        0    0    0 00:00:52 Active&lt;br /&gt;R2#show ip bgp neighbors 203.143.0.1 advertised-routes&lt;br /&gt;BGP table version is 7, local router ID is 203.143.0.6&lt;br /&gt;Status codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal,&lt;br /&gt;              r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? – incomplete&lt;br /&gt; Network          Next Hop            Metric LocPrf Weight Path&lt;br /&gt;*&gt; 10.0.0.0/16      0.0.0.0                  0         32768 i&lt;br /&gt;*&gt; 192.168.0.0/16   0.0.0.0                  0         32768 i&lt;br /&gt;Total number of prefixes 2&lt;br /&gt;R2#show ip bgp neighbors 203.143.0.1 | inc Cond&lt;br /&gt;  Condition-map inblock, Advertise-map otherblock, status: Advertise&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Configuration:&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;R2#&lt;br /&gt;hostname R2&lt;br /&gt;interface FastEthernet0/0&lt;br /&gt; ip address 203.143.0.2 255.255.255.252&lt;br /&gt; duplex auto&lt;br /&gt; speed auto&lt;br /&gt;&lt;br /&gt;interface FastEthernet0/1&lt;br /&gt; ip address 203.143.0.6 255.255.255.252&lt;br /&gt; duplex auto&lt;br /&gt; speed auto&lt;br /&gt;!&lt;br /&gt;router bgp 65003&lt;br /&gt; no synchronization&lt;br /&gt; bgp log-neighbor-changes&lt;br /&gt; network 10.0.0.0 mask 255.255.0.0&lt;br /&gt; network 192.168.0.0 mask 255.255.0.0&lt;br /&gt; neighbor 203.143.0.1 remote-as 65002&lt;br /&gt; neighbor 203.143.0.1 soft-reconfiguration inbound&lt;br /&gt; neighbor 203.143.0.1 advertise-map otherblock non-exist-map inblock&lt;br /&gt; neighbor 203.143.0.5 remote-as 65001&lt;br /&gt; neighbor 203.143.0.5 soft-reconfiguration inbound&lt;br /&gt; neighbor 203.143.0.5 prefix-list allow_65001 out&lt;br /&gt; neighbor 203.143.0.5 route-map inbound_65001 in&lt;br /&gt; no auto-summary&lt;br /&gt;!&lt;br /&gt;ip route 10.0.0.0 255.255.0.0 Null0&lt;br /&gt;ip route 192.168.0.0 255.255.0.0 Null0&lt;br /&gt;!&lt;br /&gt;ip as-path access-list 1 permit ^65001&lt;br /&gt;ip prefix-list allow_65001 seq 5 permit 10.0.0.0/16&lt;br /&gt;ip prefix-list allow_65002 seq 5 permit 192.168.0.0/16&lt;br /&gt;access-list 1 permit 10.0.0.0 0.0.255.255&lt;br /&gt;access-list 2 permit 172.16.0.0 0.0.255.255&lt;br /&gt;route-map otherblock permit 10&lt;br /&gt; match ip address 1&lt;br /&gt;!&lt;br /&gt;route-map allow_65001 permit 10&lt;br /&gt;&lt;br /&gt;route-map inbound_65001 permit 10&lt;br /&gt; set community 4259905537&lt;br /&gt;route-map inblock permit 10&lt;br /&gt; match ip address 2&lt;br /&gt; match as-path 1 ! to match the as-path&lt;br /&gt;end&lt;br /&gt;R2 END#&lt;br /&gt;&lt;br /&gt;R1#show run!&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/0&lt;br /&gt;ip address 203.143.0.5 255.255.255.252&lt;br /&gt; duplex auto&lt;br /&gt; speed auto&lt;br /&gt;!&lt;br /&gt;router bgp 65001&lt;br /&gt; no synchronization&lt;br /&gt; bgp log-neighbor-changes&lt;br /&gt; network 172.16.0.0&lt;br /&gt; neighbor 203.143.0.6 remote-as 65003&lt;br /&gt; no auto-summary&lt;br /&gt;!&lt;br /&gt;ip forward-protocol nd&lt;br /&gt;ip route 172.16.0.0 255.255.0.0 Null0 &lt;br /&gt;R1 END#&lt;br /&gt;R0#show run&lt;br /&gt;ip cef&lt;br /&gt;interface FastEthernet0/0&lt;br /&gt;ip address 203.143.0.1 255.255.255.252&lt;br /&gt; duplex auto&lt;br /&gt; speed auto&lt;br /&gt;&lt;br /&gt;router bgp 65002&lt;br /&gt; no synchronization&lt;br /&gt; bgp log-neighbor-changes&lt;br /&gt; neighbor 203.143.0.2 remote-as 65003&lt;br /&gt; neighbor 203.143.0.2 soft-reconfiguration inbound&lt;br /&gt; no auto-summary&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-6042224686708801508?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/6042224686708801508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=6042224686708801508' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/6042224686708801508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/6042224686708801508'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2009/10/conditional-bgp-advertisement.html' title='Conditional BGP Advertisement'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_E-H59LaiLu8/SusPRcmrmnI/AAAAAAAAEAA/w0WTdOv_elQ/s72-c/untitled.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-3489207479144942785</id><published>2009-10-10T09:56:00.006+05:30</published><updated>2009-10-20T17:03:30.301+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ip to switch port mapping'/><category scheme='http://www.blogger.com/atom/ns#' term='network managment'/><category scheme='http://www.blogger.com/atom/ns#' term='neo'/><title type='text'>Network Switch ip to port mapping using neo</title><content type='html'>Open Source Network Administration gives some introduction to this network tool called neo. Latest version can be found ktools.org &lt;br /&gt;(http://www.ktools.org/dist/neo/neo-1.3.1.tar.gz) &lt;br /&gt;&lt;br /&gt;There is one catch while you compile &amp; install in Ubuntu since the object_statstransfer.c ,  object_sleeper.c uses CLK_TCK i think CLK_TCK obsolete we have to use CLOCKS_PER_SEC instead. But i just defined as followed in the both files. &lt;br /&gt;&lt;br /&gt;/* Define my constant */&lt;br /&gt;#define CLK_TCK 100&lt;br /&gt;&lt;br /&gt;Installation process :&lt;br /&gt;1 ) gunzip -c neo-1.3.1.tar.gz | tar xvf -&lt;br /&gt;2 ) cd neo-1.3.1&lt;br /&gt;3 ) ./configure&lt;br /&gt;4 ) Do the relevant changes as explained earlier in the both source files. &lt;br /&gt;5 ) make&lt;br /&gt;6 ) make install&lt;br /&gt;&lt;br /&gt;neo has its own command line. But basic things you need to get ip to port map two command arpfind , locate .&lt;br /&gt;&lt;br /&gt;Before doing that you can define the switches &amp; the core router in one file. (router needed to find the ip to arp resolution) &lt;br /&gt;example /var/neo/switches &lt;br /&gt;&lt;br /&gt;192.168.1.10&lt;br /&gt;192.168.1.11&lt;br /&gt;&lt;br /&gt;if you want to find the relevant ip to arp mapping you could issue the command as &lt;br /&gt;neo -c "community string" arpfind &lt;host to find&gt; @f:/var/neo/switches&lt;br /&gt;This will give u the arp address , &lt;br /&gt;then you can issue the location command to locate the port number.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;neo  -c "community string" locate &lt;arp to locate the port&gt; @f:/var/neo/switches&lt;br /&gt;&lt;br /&gt;I've combined both into one perl script. I haven't use the community string here since i complied the default community as relevant string. You can change the community string while compiling ( &lt;br /&gt;object_global.c &lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;  g-&gt;argv0=NULL;&lt;br /&gt;  g-&gt;readcom=strdup("public");&lt;br /&gt;  g-&gt;writecom=strdup("public");&lt;br /&gt;  neo_global_set_burst(g, 1);&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre name="code" class="php"&gt;&lt;br /&gt;&lt;br /&gt;#!/usr/bin/perl&lt;br /&gt;#Arp to IP Mapper Argument as host&lt;br /&gt;$arg = $ARGV[0];&lt;br /&gt;&lt;br /&gt;#To save the actual arp&lt;br /&gt;$real_arp = "";&lt;br /&gt;#Identify the arp of the host&lt;br /&gt;@arp = `neo arpfind $arg \@f:/root/gobi/neo-1.3.1/switches`;&lt;br /&gt;foreach (@arp)&lt;br /&gt;{&lt;br /&gt; if ($_ =~ /says/)&lt;br /&gt; {&lt;br /&gt; $real_arp = substr($_,-18);&lt;br /&gt; last ;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;chomp($real_arp);&lt;br /&gt;@port = `neo locate -u $real_arp \@f:/root/gobi/neo-1.3.1/switches`;&lt;br /&gt;&lt;br /&gt;foreach(@port)&lt;br /&gt;{&lt;br /&gt;print $_;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;root@--:~/gobi# ./run.pl 192.168.29.2&lt;br /&gt;Found on 6@192.168.0.200&lt;br /&gt;Found on 10@192.168.0.204&lt;br /&gt;&lt;br /&gt;I'm doing some reverse mapping also using simple snmp queries like &lt;br /&gt;@ip2arp_tbl = `snmpwalk -c "public" -v 2c 192.168.0.99 "ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress"`; I'll give that in a different post if successful .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-3489207479144942785?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/3489207479144942785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=3489207479144942785' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/3489207479144942785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/3489207479144942785'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2009/10/network-switch-ip-to-port-mapping-using.html' title='Network Switch ip to port mapping using neo'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-9123862591772490117</id><published>2009-09-22T21:29:00.006+05:30</published><updated>2010-06-28T15:01:16.806+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='INET_ATON'/><category scheme='http://www.blogger.com/atom/ns#' term='subnet'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='ipaddress search'/><title type='text'>Mysql Ipaddress subnet wise search</title><content type='html'>I was encountered to search mysql table with ip address based on subnetmask information. This was part of the netflow tools for our internal use. I exported the flow data from flow-export to mysql database. I created the database "ip address" as Text.The built-in mysql function makes life easy to search the table.&lt;br /&gt;&lt;br /&gt;According to Mysql ref: if an ip is 209.207.224.40&lt;br /&gt;The generated number is always in network byte order. For the example just shown, the number is calculated as 209×(256^3) + 207×(256^2) + 224×256 + 40.&lt;br /&gt;&lt;br /&gt;To search subnet we need add relevant no # host data to the search.&lt;br /&gt;for example to search 216.239.60.0/23&lt;br /&gt;i need to convert the network detail to number - 3639557120&lt;br /&gt;since /23 i need to add 512 to the network figure so 3639557632&lt;br /&gt;Then if i could write the query .. like this works fine..&lt;br /&gt;&lt;pre name="code" class="sql"&gt;&lt;br /&gt;mysql&gt; select dstaddr ,dpkts,srcaddr,srcport,dstport  from Raw1253672304  where INET_ATON(dstaddr) &gt; 3639557120 and INET_ATON(dstaddr) &lt;&gt;&lt;br /&gt;&lt;br /&gt;May be there can be easy way.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-9123862591772490117?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/9123862591772490117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=9123862591772490117' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/9123862591772490117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/9123862591772490117'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2009/09/mysql-ipaddress-subnet-wise-search.html' title='Mysql Ipaddress subnet wise search'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-6269156410283295121</id><published>2009-08-02T19:16:00.006+05:30</published><updated>2011-02-15T22:51:11.441+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='DDOS'/><category scheme='http://www.blogger.com/atom/ns#' term='recent'/><category scheme='http://www.blogger.com/atom/ns#' term='iptables'/><title type='text'>DDOS protection using iptables (recent module)</title><content type='html'>This article related to iptable recent module. which can be used to defend against the DDOS attack.  This setup tested in bridged mode. &lt;br /&gt;Recent working with DDOS mitigation for one of the customer had give some interesting capabilities "recent module" of iptables.&lt;br /&gt;One of the website came under  attack with extensive sync and "GET" request from distributed zombies. we could identify around 4000 - 5000 unique hosts.&lt;br /&gt;to define the attack pattern we have captured some traffic it had only sync and GET request nothing else to define the pattern. therefore I've conceptualized if the one host create more than 20 session during 100 seconds drop the packet.&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;iptables -I FORWARD -p tcp --dport 80 -i bridge0 -m state --state NEW -m recent --set&lt;br /&gt;iptables -I FORWARD -p tcp --dport 80 -i bridge0 -m state --state NEW -m recent --update --seconds 100 --hitcount 20 -j DROP&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Initially i applied these rules but no traffic reduction. When i checked the source code&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;static unsigned int ip_list_tot = 100;&lt;br /&gt; static unsigned int ip_pkt_list_tot = 20;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;(http://www.il.is.s.u-tokyo.ac.jp/lxr-xp/source/net/netfilter/xt_recent.c)&lt;br /&gt;Therefore only 100 unique source ips can be in the list. this was not capable to handle more then 4000 hosts. &lt;br /&gt;Therefore i've removed module and changed the default value.&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;iptables -F&lt;br /&gt;rmmod xt_recent&lt;br /&gt;modprobe ipt_recent ip_list_tot=5000 ip_pkt_list_tot=100 &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;reapplied the rules that filtered the massive traffic. when i'm writing this post still the attack is going on :( . But still the web sever able to handle the load :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-6269156410283295121?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/6269156410283295121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=6269156410283295121' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/6269156410283295121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/6269156410283295121'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2009/08/ddos-protection-using-iptables-recent.html' title='DDOS protection using iptables (recent module)'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-4243194504259756332</id><published>2009-05-23T11:56:00.003+05:30</published><updated>2009-05-23T11:59:29.701+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='BSCI'/><category scheme='http://www.blogger.com/atom/ns#' term='GNS3'/><category scheme='http://www.blogger.com/atom/ns#' term='CCNP'/><category scheme='http://www.blogger.com/atom/ns#' term='ISIS'/><category scheme='http://www.blogger.com/atom/ns#' term='Framerelay'/><title type='text'>GNS3 Lab for Framerelay over ISIS</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_E-H59LaiLu8/SheXhT1eWNI/AAAAAAAADi0/Jb2LKVXc4fY/s1600-h/gns3.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px; height: 243px;" src="http://1.bp.blogspot.com/_E-H59LaiLu8/SheXhT1eWNI/AAAAAAAADi0/Jb2LKVXc4fY/s400/gns3.JPG" alt="" id="BLOGGER_PHOTO_ID_5338902481787050194" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Here i've shared the GNS3 files for CCNP BSCI lab.&lt;br /&gt;&lt;br /&gt;LINK:&lt;br /&gt;http://ifile.it/vz0h8gx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-4243194504259756332?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/4243194504259756332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=4243194504259756332' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/4243194504259756332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/4243194504259756332'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2009/05/gns3-lab-for-framerelay-over-isis.html' title='GNS3 Lab for Framerelay over ISIS'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_E-H59LaiLu8/SheXhT1eWNI/AAAAAAAADi0/Jb2LKVXc4fY/s72-c/gns3.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-7453437435207676063</id><published>2009-05-23T09:48:00.002+05:30</published><updated>2009-05-23T09:59:55.062+05:30</updated><title type='text'>Experience vs Knowledge Trouble shooting ~</title><content type='html'>Have to face some situation, something physically goes wrong or somebody else screw up your network.  This kind of scenario your knowledge will give you confidence but knowledge sometime unable to provide the answer.  Something I've learned from the faults and mistakes.&lt;br /&gt;&lt;br /&gt;1) Don't panic.  When you feel the pressure you are unable to concentrate.&lt;br /&gt;2) Use the tools you have in your hand. ( Trace route, looking glasses, ping , etc...)&lt;br /&gt;3) Isolate the problem. In this step people try to correlate with existing experience !! sometime   the  prediction is correct some time utterly wrong.&lt;br /&gt;4) Try to contact the right person, provide the correct detail. Persuade the people to work for you is really hard thing. sometime they also bound to some contract that makes that you can get help from them. have some good relationship. Thank them when the problem is resolved. Until they understand they won't put their heart !&lt;br /&gt;&lt;br /&gt;5) Hope for the best ! :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-7453437435207676063?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/7453437435207676063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=7453437435207676063' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/7453437435207676063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/7453437435207676063'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2009/05/experience-vs-knowledge-trouble.html' title='Experience vs Knowledge Trouble shooting ~'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-3835330040383668492</id><published>2009-04-21T20:23:00.009+05:30</published><updated>2009-04-21T22:49:25.086+05:30</updated><title type='text'>Mikrotik Hierachical Queue</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_E-H59LaiLu8/Se3hGhm9EEI/AAAAAAAADek/BY78yNFr1HI/s1600-h/mikrotik.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 245px; height: 400px;" src="http://3.bp.blogspot.com/_E-H59LaiLu8/Se3hGhm9EEI/AAAAAAAADek/BY78yNFr1HI/s400/mikrotik.jpg" alt="" id="BLOGGER_PHOTO_ID_5327161436466384962" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This particular setup to provide  guaranteed bandwidth for Mail traffic. I archived through Queue tree because we can archive most complicated queuing structure through queue tree and pcq.&lt;br /&gt;&lt;br /&gt;This is a simple setup:&lt;br /&gt;1) Need to mark the relevant connection andpackets.&lt;br /&gt;This can be a ip firewall address list / src address or port number this is depend on your requirements.&lt;br /&gt;2) Define parent queue and child queues.&lt;br /&gt;&lt;br /&gt;1)Mark the &lt;span style="font-weight: bold;"&gt;connection for mail traffic:&lt;/span&gt;&lt;br /&gt;chain=prerouting a&lt;span style="font-style: italic;"&gt;ction=mark-connection&lt;/span&gt; new-connection-mark=&lt;span style="font-weight: bold;"&gt;mail&lt;/span&gt; passthrough=yes src-address=10.10.10.3&lt;br /&gt;&lt;br /&gt;chain=prerouting &lt;span style="font-style: italic;"&gt;action=mark-packet&lt;/span&gt; new-packet-mark=&lt;span style="font-weight: bold;"&gt;mail-packet&lt;/span&gt; passthrough=&lt;span style="font-weight: bold;"&gt;no&lt;/span&gt; connection-mark=&lt;span style="font-weight: bold;"&gt;mail&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;chain=prerouting action=mark-packet new-packet-mark=others passthrough=yes packet-mark=&lt;span style="color: rgb(255, 0, 0); font-style: italic; font-weight: bold;"&gt;!&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;mail&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;(please note the ! sign)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) &lt;/span&gt;create relevant queues and apply it.&lt;br /&gt;&lt;br /&gt;3   name="Parent" parent=ether3 packet-mark="" limit-at=0 queue=default priority=8 max-limit=1024000 burst-limit=0&lt;br /&gt;  burst-threshold=0 burst-time=0s&lt;br /&gt;&lt;br /&gt;4   name="Mail" parent=Parent packet-mark=&lt;span style="font-weight: bold;"&gt;mail&lt;/span&gt; limit-at=256000 queue=default priority=8 max-limit=1024000 burst-limit=0&lt;br /&gt;  burst-threshold=0 burst-time=0s&lt;br /&gt;&lt;br /&gt;5   name="queue1" parent=Parent packet-mark=&lt;span style="font-weight: bold;"&gt;others&lt;/span&gt; limit-at=768000 queue=default priority=8 max-limit=1024000&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This particular queuing strategy will satisfy the above requirements. You can identify the particular traffic using different parameters :)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-3835330040383668492?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/3835330040383668492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=3835330040383668492' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/3835330040383668492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/3835330040383668492'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2009/04/mikrotik-hierachcial-queues.html' title='Mikrotik Hierachical Queue'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_E-H59LaiLu8/Se3hGhm9EEI/AAAAAAAADek/BY78yNFr1HI/s72-c/mikrotik.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-3381539534208005243</id><published>2009-04-08T11:05:00.006+05:30</published><updated>2009-10-20T17:12:51.356+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='CISCO'/><category scheme='http://www.blogger.com/atom/ns#' term='Queue'/><category scheme='http://www.blogger.com/atom/ns#' term='Qos'/><category scheme='http://www.blogger.com/atom/ns#' term='hierarchical'/><title type='text'>hierarchical queuing on Cisco</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_E-H59LaiLu8/Sdw5KtfksOI/AAAAAAAADdk/j7Mf9XOp8oI/s1600-h/test.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 295px; height: 400px;" src="http://1.bp.blogspot.com/_E-H59LaiLu8/Sdw5KtfksOI/AAAAAAAADdk/j7Mf9XOp8oI/s400/test.jpg" alt="" id="BLOGGER_PHOTO_ID_5322191715818582242" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Recently i tested on assigning different bandwidth requirement for number of users. Example setup is showed in the following diagram. 512kbps is divided between users and one user can use whole bandwidth when others are not using.I've done some testing on this and i archived the requirement through&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt; hierarchical queuing strategy&lt;/span&gt;&lt;span style="font-size:85%;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1) I setup the natting / and other basic setup-&lt;/span&gt;&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;ip route 0.0.0.0 0.0.0.0 10.0.0.2&lt;br /&gt;ip nat inside source list 2 interface FastEthernet0/0 overload&lt;br /&gt;access-list 2 permit 192.168.2.0 0.0.0.255&lt;br /&gt;ip nat outside&lt;br /&gt;ip nat inside&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2) Define the class-maps.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;2.1 - Access-list for match the ips.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;access-list 101 permit ip host 192.168.2.1 any&lt;br /&gt;access-list 101 permit ip any host 192.168.2.1&lt;br /&gt;access-list 102 permit ip host 192.168.2.2 any&lt;br /&gt;access-list 102 permit ip any host 192.168.2.2&lt;br /&gt;access-list 103 permit ip host 192.168.2.3 any&lt;br /&gt;access-list 103 permit ip any host 192.168.2.3&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;2.2 - match ACL.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;class-map match-all shape256_pir256_HostA&lt;br /&gt;match access-group 101&lt;br /&gt;class-map match-all shape64_pir64_HostB&lt;br /&gt;match access-group 102&lt;br /&gt;class-map match-all shape128_pir512_HostC&lt;br /&gt;match access-group 103&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;3) queues ..&lt;br /&gt;3.1 - Define the parent shaper.&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;policy-map shape_512&lt;br /&gt;class class-default&lt;br /&gt;shape average 512000&lt;br /&gt;service-policy shapeinside&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;3.2 - child queues&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;policy-map shapeinside&lt;br /&gt;class shape256_pir256_HostA&lt;br /&gt;bandwidth 256&lt;br /&gt;police rate 256000 bps burst 32000 bytes&lt;br /&gt;class shape64_pir64_HostB&lt;br /&gt;bandwidth 64&lt;br /&gt;police rate 64000 bps burst 32000 bytes&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;4) Apply it on the interface&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;interface FastEthernet0/1&lt;br /&gt;ip address 192.168.2.1 255.255.255.0&lt;br /&gt;ip nat inside&lt;br /&gt;duplex auto&lt;br /&gt;speed auto&lt;br /&gt;service-policy output shape_512&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;My test result showed the bandwidth guaranteed for the HOST A,B if those are not using HOST C can utilize that's the reason i did not put any shape in the child.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-3381539534208005243?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/3381539534208005243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=3381539534208005243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/3381539534208005243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/3381539534208005243'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2009/04/recently-i-tested-on-assigning.html' title='hierarchical queuing on Cisco'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_E-H59LaiLu8/Sdw5KtfksOI/AAAAAAAADdk/j7Mf9XOp8oI/s72-c/test.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-2937671219959629968</id><published>2008-03-16T22:28:00.003+05:30</published><updated>2008-03-16T22:41:52.159+05:30</updated><title type='text'>Design Check List for Time Series Forcasting with Neural Network</title><content type='html'>Designing Neural Network Architecture is an Art not an expert routine. Therefore when designing is based on the trial and error or experience of the developer.&lt;br /&gt;One useful design Neural networks are used in this Time Series Forecasting.&lt;br /&gt;This review gives some basic steps: (Ref: &lt;span style="font-weight: bold; font-style: italic;"&gt;"Computational Intelligence in Time Series Forecasting"&lt;/span&gt; chap 3- Neural Network Approach  )&lt;br /&gt;&lt;br /&gt;Data Preparation:-&lt;br /&gt;Acquisition, Preprocessing , Normalization and structuring of Data.&lt;br /&gt;Determination of training and test datasets.&lt;br /&gt;&lt;br /&gt;Network Architecture Determination:-&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Type of network&lt;/li&gt;&lt;li&gt;Number of input, output nodes&lt;/li&gt;&lt;li&gt;Number of layers&lt;/li&gt;&lt;li&gt;Number of neurons within the layers&lt;/li&gt;&lt;li&gt;Interconnection between the neurons&lt;/li&gt;&lt;li&gt;Selection of neuron activation function&lt;/li&gt;&lt;li&gt;design of the training strategy&lt;/li&gt;&lt;li&gt;training algorithm , performance index , training monitoring approch.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-2937671219959629968?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/2937671219959629968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=2937671219959629968' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/2937671219959629968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/2937671219959629968'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2008/03/design-check-list-for-time-series.html' title='Design Check List for Time Series Forcasting with Neural Network'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-549318433880203104</id><published>2007-09-15T22:46:00.000+05:30</published><updated>2008-12-10T17:52:10.718+05:30</updated><title type='text'>Network analyzer for mobile device</title><content type='html'>Most of this explanation for network analyzer for the mobile device.&lt;br /&gt;When we are closing the "X" button on a windows mobile 6 C# application.&lt;br /&gt;Its not closing that is the reason we couldn't remove the dll from the memory. (specific to mobile network analyzer)&lt;br /&gt;Actually its minimizing. therefore its necessary to set one property MinimizeBox to false.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_E-H59LaiLu8/RuwVCULl0kI/AAAAAAAAAAc/o2-DEHADoos/s1600-h/setting.GIF"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 496px; height: 342px;" src="http://1.bp.blogspot.com/_E-H59LaiLu8/RuwVCULl0kI/AAAAAAAAAAc/o2-DEHADoos/s400/setting.GIF" alt="" id="BLOGGER_PHOTO_ID_5110482806679917122" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="nofollow" href="http://msdn2.microsoft.com/en-us/library/system.windows.forms.form.minimizebox.aspx"&gt;http://msdn2.microsoft.com/en-us/library/system.&lt;/a&gt;&lt;a target="_blank" rel="nofollow" href="http://msdn2.microsoft.com/en-us/library/system.windows.forms.form.minimizebox.aspx"&gt;windows.forms.form.mi...&lt;/a&gt;&lt;br /&gt;says;&lt;br /&gt;"Gets or sets a value indicating whether the Minimize button is&lt;br /&gt;displayed in the caption bar of the form."&lt;br /&gt;My understanding is it's not closing , but minimizing.&lt;br /&gt;&lt;/p&gt;If we set the property, we can trigger one event when the form closes,&lt;br /&gt;MainForm_Closing(object sender, CancelEventArgs e)&lt;br /&gt;then we can check the user preference and if the user does not need to&lt;br /&gt;save we can set the&lt;br /&gt;e.Cancel = false; //good bye.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-549318433880203104?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/549318433880203104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=549318433880203104' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/549318433880203104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/549318433880203104'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2007/09/network-analyzer-for-mobile-device.html' title='Network analyzer for mobile device'/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_E-H59LaiLu8/RuwVCULl0kI/AAAAAAAAAAc/o2-DEHADoos/s72-c/setting.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5453778411035135848.post-906505264800407074</id><published>2007-09-06T08:19:00.000+05:30</published><updated>2007-11-01T20:32:27.001+05:30</updated><title type='text'></title><content type='html'>  #include "cc352.h"&lt;br&gt;#include &amp;lt;netinet/tcp.h&amp;gt;&lt;br&gt;&lt;br&gt;int main(int argc, char **argv)&lt;br&gt;{&lt;br&gt;	int 		fd; //socket descriptor&lt;br&gt;	int 		sndbuff = 32*1024; //send buffer&lt;br&gt;	int		rcvbuff = 32*1024;&lt;br&gt;	int 		error;//to hold the errocode&lt;br&gt;	&lt;br&gt;	socklen_t 	len; // option len for getsock&lt;br&gt;	//create the socket.&lt;br&gt;	fd = socket(AF_INET,SOCK_STREAM,0);&lt;br&gt;	//call the socket option&lt;br&gt;	error = setsockopt(fd,SOL_SOCKET,&lt;br&gt;			SO_SNDBUF,&amp;amp;sndbuff,&lt;br&gt;			sizeof(sndbuff));&lt;br&gt;	//setsockopt return 0 when it is ok -1 for error&lt;br&gt;	if(error)&lt;br&gt;	{&lt;br&gt;		printf("Set sockopt fails!n");&lt;br&gt;		return -1;&lt;br&gt;	}&lt;br&gt;	//set the rcv buffer.&lt;br&gt;	error = setsockopt(fd,SOL_SOCKET,&lt;br&gt;			SO_RCVBUF,&amp;amp;rcvbuff,&lt;br&gt;			sizeof(rcvbuff));&lt;br&gt;	if(error)&lt;br&gt;	{&lt;br&gt;		printf("Set socket option fail!n");&lt;br&gt;		return -1;&lt;br&gt;	}&lt;br&gt;	&lt;br&gt;	//checking the values&lt;br&gt;	error = getsockopt(fd,SOL_SOCKET,&lt;br&gt;		SO_SNDBUF,&amp;amp;sndbuff,&amp;amp;len);&lt;br&gt;&lt;br&gt;	if(error)&lt;br&gt;	{&lt;br&gt;		printf("Get Socket option fails!n");&lt;br&gt;		return -1;&lt;br&gt;	}&lt;br&gt;	&lt;br&gt;	error = getsockopt(fd,SOL_SOCKET,&lt;br&gt;		SO_RCVBUF,&amp;amp;rcvbuff,&amp;amp;len);&lt;br&gt;	if(error)&lt;br&gt;	{&lt;br&gt;	          printf("Get Socket option fails!n");&lt;br&gt;                return -1;&lt;br&gt;        }&lt;br&gt;	/*print the buffer sizes */&lt;br&gt;	printf("Socket fd: %d n",fd);&lt;br&gt;	printf("Send Buffer %d bytes n",sndbuff);&lt;br&gt;	printf("Receive Buffer %d bytes n", rcvbuff);&lt;br&gt;	return 0;&lt;br&gt;//any way kernel will decide the size.. so no way. myone says 65536::&lt;br&gt;&lt;br&gt;}	&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5453778411035135848-906505264800407074?l=arulgobi.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arulgobi.blogspot.com/feeds/906505264800407074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5453778411035135848&amp;postID=906505264800407074' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/906505264800407074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5453778411035135848/posts/default/906505264800407074'/><link rel='alternate' type='text/html' href='http://arulgobi.blogspot.com/2007/09/include-cc352.html' title=''/><author><name>Emmanuel Arul Gobinath</name><uri>http://www.blogger.com/profile/15738511138395561360</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
