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

<channel>
	<title>網路打雜工</title>
	<atom:link href="http://www.bingla.idv.tw/blog/bingla/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.bingla.idv.tw/blog/bingla</link>
	<description>網路打雜工的記錄</description>
	<lastBuildDate>Thu, 19 Aug 2010 01:20:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HA (Highly Available)定義</title>
		<link>http://www.bingla.idv.tw/blog/bingla/?p=93</link>
		<comments>http://www.bingla.idv.tw/blog/bingla/?p=93#comments</comments>
		<pubDate>Thu, 19 Aug 2010 01:20:11 +0000</pubDate>
		<dc:creator>Bingla</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[VCP]]></category>

		<guid isPermaLink="false">http://www.bingla.idv.tw/blog/bingla/?p=93</guid>
		<description><![CDATA[99% available &#8211; 87 hours or 3.5 days of downtime per year
99.9% available &#8211; 8.76 hours of downtime per year
99.99% available &#8211; 52 minutes of downtime per year
99.999% available &#8211; 5 minutes of downtime per year
]]></description>
			<content:encoded><![CDATA[<p>99% available &#8211; 87 hours or 3.5 days of downtime per year<br />
99.9% available &#8211; 8.76 hours of downtime per year<br />
99.99% available &#8211; 52 minutes of downtime per year<br />
99.999% available &#8211; 5 minutes of downtime per year</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bingla.idv.tw/blog/bingla/?feed=rss2&amp;p=93</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JNCIA-EX Note</title>
		<link>http://www.bingla.idv.tw/blog/bingla/?p=90</link>
		<comments>http://www.bingla.idv.tw/blog/bingla/?p=90#comments</comments>
		<pubDate>Tue, 01 Jun 2010 15:59:23 +0000</pubDate>
		<dc:creator>Bingla</dc:creator>
				<category><![CDATA[Juniper]]></category>
		<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://www.bingla.idv.tw/blog/bingla/?p=90</guid>
		<description><![CDATA[從中記錄

Units
Junon OS
All physical interface have logical interfaces called units
interface {
vlan {
  unit 2 {                                         [...]]]></description>
			<content:encoded><![CDATA[<p>從中記錄<br />
<span id="more-90"></span><br />
Units<br />
Junon OS<br />
All physical interface have logical interfaces called <strong>units</strong><br />
interface {<br />
vlan {<br />
  unit 2 {                                               代表VLAN2<br />
         description Printers;<br />
         family inet{<br />
                  address 192.168.2.2/24;<br />
          }<br />
   }<br />
  unit 3 {                                                代表VLAN3<br />
         description Phones;<br />
         family inet{<br />
                  address 192.168.3.2/24;<br />
          }<br />
   }    </p>
<p>set interface ge-0/0/0 disable     #shutdown interface<br />
delete interface ge-0/0/0 disable #no shutdown interface</p>
<p>run shot inter ge-0/0/3 extensive | <strong>find</strong> Auton</p>
<p>#edit interface ge-0/0/4 ether-options<br />
#set speed 100m<br />
#set link-mode full-duplex<br />
#commit<br />
#set inter ge-0/0/4 ether-options no-auto-negotiation     #no autonegotiation</p>
<p><strong>LACP</strong><br />
JunOS<br />
#set chassis aggregated-device ethernet device-count 1<br />
#set interface ge-0/0/5 ether-options 802.3ad ae0<br />
#set interface ge-0/0/6 ether-options 802.3ad ae0<br />
#set interface ae0 unit 0 family ethernet-switching port-mode trunk<br />
#set interface ae0 aggregated-ether-options lacp active</p>
<p>IOS<br />
interface Port-chiannel1<br />
 switchport trunk encapsulation dot1q<br />
 switchport mode trunk<br />
!<br />
inter Giga0/5<br />
 switchport trunk encapsulation dot1q<br />
 switchport mode trunk<br />
 channel-group 1 mode active<br />
!<br />
inter Giga0/6<br />
 switchport trunk encapsulation dot1q<br />
 switchport mode trunk<br />
 channel-group 1 mode active</p>
<p><strong>VLAN</strong><br />
#edit vlans<br />
#set example                                  \\ 設定一個example 名稱的vlan<br />
#set example vlan-id 100                  \\ 給它tag 100<br />
#run show vlans                              \\ 看所有VLAN<br />
加入 interface<br />
[edit vlans]<br />
#set example interface ge-0/0/7.0         \\將 ge-0/0/07.0 加入 vlan example</p>
<p>[edit vlans]<br />
#top edit interface</p>
<p>[edit interfaces]<br />
#set ge-0/0/7 unit 0 family ethernet -switching</p>
<p>[edit interfaces]<br />
#set ge-0/0/8 unit 0 family ethernet-switching vlan members 100</p>
<p>[edit interfaces]<br />
#set ge-0/0/9 unit 0 family ethernet-switching vlan members example</p>
<p>#run show vlans example detail<br />
VLAN: example, 802.1Q tag:100 admin state: Enable<br />
Numbr of interfaces: 3 (Active = 3)<br />
  Untagged interface: ge-0/0/7.0*, ge-0/0/08.0*, ge-0/0/09.0*</p>
<p>可以用數個方法去指定port到vlan裡, 或數個vlan tag 進 trunk port<br />
1.config the interface under the [edit vlans] hierarchy<br />
2.config vlan membership under the [edit inter interface-name unit 0 family ethernet-switching] hierarchy either by:<br />
   a. Using the VLAN ID<br />
   b. Using the VLAN name</p>
<p>#run show vlans phones detail      \\看 phones 這個vlan的detail ( in/out ,ip,member)<br />
#show phones                            \\ phones 的config</p>
<p>進度 5的 configuring Access Ports</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bingla.idv.tw/blog/bingla/?feed=rss2&amp;p=90</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JunOS 筆記</title>
		<link>http://www.bingla.idv.tw/blog/bingla/?p=81</link>
		<comments>http://www.bingla.idv.tw/blog/bingla/?p=81#comments</comments>
		<pubDate>Tue, 25 May 2010 14:06:21 +0000</pubDate>
		<dc:creator>Bingla</dc:creator>
				<category><![CDATA[Juniper]]></category>

		<guid isPermaLink="false">http://www.bingla.idv.tw/blog/bingla/?p=81</guid>
		<description><![CDATA[show interfaces descriptions
show interface terse
show interface fe-2/0/1 brief
show interface fe-2/0/1
show interface fe-2/0/1 detail
show interface fe-2/0/1 extensive

firewall family inet
filter sample-filter {
  term block-bad-subnet {
       from {
             source-address {
          [...]]]></description>
			<content:encoded><![CDATA[<p>show interfaces descriptions<br />
show interface terse<br />
show interface fe-2/0/1 brief<br />
show interface fe-2/0/1<br />
show interface fe-2/0/1 detail<br />
show interface fe-2/0/1 extensive<br />
<span id="more-81"></span></p>
<p>firewall family inet<br />
filter sample-filter {<br />
  term block-bad-subnet {<br />
       from {<br />
             source-address {<br />
                     192.168.0.0/24 except;<br />
                      0.0.0.0/0;<br />
                      }<br />
              }<br />
              then accept;<br />
          }<br />
     }</p>
<p>可以使用  annotate 方式加以註解</p>
<p> tcp Port deny<br />
IOS<br />
access-list 100 deny tcp deny 192.168.0.1 0.0.255.0 range 22 23<br />
access-list 100 premit ip any any </p>
<p>JunOS<br />
filter protect-routers {<br />
     term block-cli-access {<br />
          from {<br />
              destination-address {<br />
                   192.168.0.1/255.255.0.255;<br />
                   }<br />
                   protocol tcp;<br />
                   destination-port [ ssh telnet ];<br />
               }<br />
               then {<br />
                        reject;<br />
               }<br />
          }<br />
           term allow-others {<br />
                   then accept;<br />
           }<br />
     }</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bingla.idv.tw/blog/bingla/?feed=rss2&amp;p=81</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware ESXi CD BOOT</title>
		<link>http://www.bingla.idv.tw/blog/bingla/?p=85</link>
		<comments>http://www.bingla.idv.tw/blog/bingla/?p=85#comments</comments>
		<pubDate>Tue, 25 May 2010 14:03:41 +0000</pubDate>
		<dc:creator>Bingla</dc:creator>
				<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.bingla.idv.tw/blog/bingla/?p=85</guid>
		<description><![CDATA[第一次下載免費的ESXi 的cd
開機後出現
The system has found a problem on your mechine and cannot continue.
Unsupported BIOS setting (CPUID is limited). Disable &#8216;limit CPUID value&#8217; or &#8216;Support legacy/NT4 OS&#8217; in BIOS
]]></description>
			<content:encoded><![CDATA[<p>第一次下載免費的ESXi 的cd<br />
開機後出現<br />
The system has found a problem on your mechine and cannot continue.<br />
Unsupported BIOS setting (CPUID is limited). Disable &#8216;limit CPUID value&#8217; or &#8216;Support legacy/NT4 OS&#8217; in BIOS</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bingla.idv.tw/blog/bingla/?feed=rss2&amp;p=85</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco AUX connect to another Router Console port</title>
		<link>http://www.bingla.idv.tw/blog/bingla/?p=84</link>
		<comments>http://www.bingla.idv.tw/blog/bingla/?p=84#comments</comments>
		<pubDate>Fri, 05 Mar 2010 14:45:22 +0000</pubDate>
		<dc:creator>Bingla</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Router]]></category>

		<guid isPermaLink="false">http://www.bingla.idv.tw/blog/bingla/?p=84</guid>
		<description><![CDATA[line aux 0
 transport input all
 stopbits 1
 speed 9600
 databit 8
]]></description>
			<content:encoded><![CDATA[<p>line aux 0<br />
 transport input all<br />
 stopbits 1<br />
 speed 9600<br />
 databit 8</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bingla.idv.tw/blog/bingla/?feed=rss2&amp;p=84</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>htaccess</title>
		<link>http://www.bingla.idv.tw/blog/bingla/?p=78</link>
		<comments>http://www.bingla.idv.tw/blog/bingla/?p=78#comments</comments>
		<pubDate>Tue, 09 Jun 2009 06:33:37 +0000</pubDate>
		<dc:creator>Bingla</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://www.bingla.idv.tw/blog/bingla/?p=78</guid>
		<description><![CDATA[在apache 裡若要在登入作認證,只要在http.conf 裡的目錄下將
AllowOverride None
改成
AllowOverride All 即可
當然 .htaccess  要加上去的
]]></description>
			<content:encoded><![CDATA[<p>在apache 裡若要在登入作認證,只要在http.conf 裡的目錄下將<br />
AllowOverride None<br />
改成<br />
AllowOverride All 即可</p>
<p>當然 .htaccess  要加上去的</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bingla.idv.tw/blog/bingla/?feed=rss2&amp;p=78</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BGP default router</title>
		<link>http://www.bingla.idv.tw/blog/bingla/?p=77</link>
		<comments>http://www.bingla.idv.tw/blog/bingla/?p=77#comments</comments>
		<pubDate>Wed, 13 May 2009 15:10:04 +0000</pubDate>
		<dc:creator>Bingla</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[bgp]]></category>

		<guid isPermaLink="false">http://www.bingla.idv.tw/blog/bingla/?p=77</guid>
		<description><![CDATA[放default router 給 neighbor 的方法
其實有很多種,但自己試過的如下
(config-router)#neighbor X.X.X.X default-originate
跟neighbor 說你的default router 在我這裡
就算自己沒有default router也不會影響
]]></description>
			<content:encoded><![CDATA[<p>放default router 給 neighbor 的方法<br />
其實有很多種,但自己試過的如下<br />
(config-router)#neighbor X.X.X.X default-originate</p>
<p>跟neighbor 說你的default router 在我這裡<br />
就算自己沒有default router也不會影響</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bingla.idv.tw/blog/bingla/?feed=rss2&amp;p=77</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco IPB Image</title>
		<link>http://www.bingla.idv.tw/blog/bingla/?p=76</link>
		<comments>http://www.bingla.idv.tw/blog/bingla/?p=76#comments</comments>
		<pubDate>Thu, 16 Apr 2009 14:55:05 +0000</pubDate>
		<dc:creator>Bingla</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[IOS]]></category>

		<guid isPermaLink="false">http://www.bingla.idv.tw/blog/bingla/?p=76</guid>
		<description><![CDATA[IPB Image 是什麼意思呢?
是 IP Basic 的意思,也就是要買 ip base 的 IOS
]]></description>
			<content:encoded><![CDATA[<p>IPB Image 是什麼意思呢?<br />
是 IP Basic 的意思,也就是要買 ip base 的 IOS</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bingla.idv.tw/blog/bingla/?feed=rss2&amp;p=76</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mrtg on Freebsd6.4 error</title>
		<link>http://www.bingla.idv.tw/blog/bingla/?p=75</link>
		<comments>http://www.bingla.idv.tw/blog/bingla/?p=75#comments</comments>
		<pubDate>Mon, 13 Apr 2009 17:26:35 +0000</pubDate>
		<dc:creator>Bingla</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[mrtg]]></category>

		<guid isPermaLink="false">http://www.bingla.idv.tw/blog/bingla/?p=75</guid>
		<description><![CDATA[新的FreeBSD6.4 上面要跑mrtg,用ports安裝後,該裝的都裝了,還是有問題,Google後找到http://olympic-yancey.blogspot.com/2008/08/mrtgsnmputilpm.html他的文章有提到,因為勾選了SNMPv3的關係,故取消後再make reinstall後即可,再找一台來裝一下,用重新安裝SNMPv3的方式來解決看看
]]></description>
			<content:encoded><![CDATA[<p>新的FreeBSD6.4 上面要跑mrtg,用ports安裝後,該裝的都裝了,還是有問題,Google後找到<a href="http://olympic-yancey.blogspot.com/2008/08/mrtgsnmputilpm.html">http://olympic-yancey.blogspot.com/2008/08/mrtgsnmputilpm.html</a>他的文章有提到,因為勾選了SNMPv3的關係,故取消後再make reinstall後即可,再找一台來裝一下,用重新安裝SNMPv3的方式來解決看看</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bingla.idv.tw/blog/bingla/?feed=rss2&amp;p=75</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Solaris 10 手動加網卡</title>
		<link>http://www.bingla.idv.tw/blog/bingla/?p=74</link>
		<comments>http://www.bingla.idv.tw/blog/bingla/?p=74#comments</comments>
		<pubDate>Fri, 06 Mar 2009 07:24:31 +0000</pubDate>
		<dc:creator>Bingla</dc:creator>
				<category><![CDATA[Sun]]></category>
		<category><![CDATA[nic]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.bingla.idv.tw/blog/bingla/?p=74</guid>
		<description><![CDATA[ifconfig ge0 plumb    #ge0 為網卡代號
可以到http://www.sun.com/bigadmin/hcl/data/os/
查看網卡代號
自己作過二台灌好Solaris 10後,再上網卡+IP 的過程,參考資料為
TCP/IP Address + Router or Gateway + 主機名稱 + DNS IP + Domain 設定

1.先找到solaris 10可以支援的網卡,像我是用 Inter pro 100/1000 MT 代號為e1000g,於是用 ifconfig e1000g0 plumb方式去讓它在ifconfig -a 下出現
2.參考以上連結文章內,作以下動作
     a.確認 /etc/nodename 的內容為 bingsun (灌系統時所設定的機器名稱)
   b.加入 /etc/hostname.e1000g0 的檔,內容填入 bingsun
   c.改寫 /etc/inet/hosts 加入
  [...]]]></description>
			<content:encoded><![CDATA[<p>ifconfig ge0 plumb    #ge0 為網卡代號<br />
可以到<a href="http://www.sun.com/bigadmin/hcl/data/os/">http://www.sun.com/bigadmin/hcl/data/os/</a><br />
查看網卡代號</p>
<p>自己作過二台灌好Solaris 10後,再上網卡+IP 的過程,參考資料為<br />
<a href="http://solaris.tophk.net/basicsetting/tcpip/index.htm">TCP/IP Address + Router or Gateway + 主機名稱 + DNS IP + Domain 設定</a><br />
<span id="more-74"></span><br />
1.先找到solaris 10可以支援的網卡,像我是用 Inter pro 100/1000 MT 代號為e1000g,於是用 <strong>ifconfig e1000g0 plumb</strong>方式去讓它在ifconfig -a 下出現<br />
2.參考以上連結文章內,作以下動作<br />
     a.確認 /etc/nodename 的內容為 bingsun (灌系統時所設定的機器名稱)</p>
<p>   b.加入 /etc/hostname.e1000g0 的檔,內容填入 bingsun</p>
<p>   c.改寫 /etc/inet/hosts 加入<br />
          204.204.204.204(tab鍵)  bingsun(tab鍵)  loghost</p>
<p>   d.Solaris 10也要改 /etc/inet/ipnodes 裡的<br />
           204.204.204.204(tab鍵)  bingsun(tab鍵)  loghost</p>
<p>   e.加入 netmask 於 /etc/inet/netmask<br />
       204.204.204.0(tab鍵) 255.255.255.0</p>
<p>   f.設定 default gateway 於 /etc/defaultrouter<br />
       204.204.204.254</p>
<p>   g.設定 DNS server ip , /etc/resolv.conf ,沒有的話手動建一個<br />
       nameserver(tab鍵) 168.95.1.1</p>
<p>   h.更改 /etc/nsswitch.conf 的設定<br />
             #cd /etc<br />
        #mv nsswitch.conf nsswitch.conf.bk<br />
        #cp nsswitch.dns nsswitch.conf</p>
<p>    i. 重新啟動 Solaris 即可驗收結果,當然網路線要插<br />
        #sync;sync;reboot </p>
]]></content:encoded>
			<wfw:commentRss>http://www.bingla.idv.tw/blog/bingla/?feed=rss2&amp;p=74</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
