มาเรียนรู้การคำนวณ IP Address version 4 ด้วยเทคนิคการใช้ตารางมหัศจรรย์ซึ่งทำให้ศิษย์นำไปใช้ในการทำงานและการสอบ Cert.IT ได้อย่างดีเยี่ยม
Basic Linux Command ตอนที่ 1 (ls,cat,vi)by Jodoi
มาเรียนรู้การใช้ Linux Command เบื้องต้นกันครับ เริ่มต้นด้วย command ls , cat และ vi ซึ่งปัจจุบันมีความจำเป็นต้องเรียนรู่อย่างยิ่งเพราะหลายๆองค์กรมีการใช้ Linux Server กันมากขึ้น
R2(config)#interface s0/0/0
R2(config-if)#ip address 10.10.10.6 255.255.255.252
R2(config-if)#no shutdown
R1#show interfaces s0/0/0
Serial0/0/0 is up, line protocol is up (connected)
R1#show ip route
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.10.10.4/30 is directly connected, Serial0/0/0
L 10.10.10.5/32 is directly connected, Serial0/0/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/11/15 ms
R1#
ดูตัวอย่างการ Config PPP CHAP ได้ตามวีดีโอด้านล่างนะครับ
ในกรณีที่พบปัญหา line protocol is down สามารถใช้ command # debug ppp authentication เพื่อตรวจสอบปัญหาได้ เช่น
bkk#debug ppp authentication
bkk#no debug all ( หยุดการ debug หรือจะใช้ #undebug all ก็ได้ )
All possible debugging has been turned off
การวิเคราะห์ปัญหา ในส่วนของ WAN บน Router CISCO
1.ตรวจสอบในส่วนของ Layer 1 ( Physical Layer ) ต้อง Up ก่อน ด้วย Command # show ip interface brief และ #show interfaces s0/0/0
bangkok#show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES unset administratively down down
Serial0/0/0 unassigned YES unset administratively down down
Serial0/0/1 unassigned YES unset administratively down down
bangkok#show interfaces s0/0/0
Serial0/0/0 is administratively down, line protocol is down (disabled)
จากการตรวจสอบพบว่า Serial0/0/0 is administratively down หมายความว่า Interface Serial0/0/0 ยังคงถูก Shut down อยู่
หลังจากทำการ no shutdown Interface Serial0/0/0 แล้วตรวจสอบใหม่
bangkok#show interfaces s0/0/0
Serial0/0/0 is down, line protocol is down (disabled)
พบว่า Serial0/0/0 is down ต้องทำการตรวจสอบเรื่องสาย Serial และตรวจสอบ Router ฝั่งตรงข้ามว่าทำการ no shutdown Interface Serial ที่ต่อกับ Router เราหรือยัง ตรวจสอบที่เกี่ยวกับ Layer 1 ทั้งหมด
หลังจากตรวจสอบแล้ว ถ้าได้ผลดังนี้
bangkok#show interfaces s0/0/0
Serial0/0/0 is up, line protocol is down (disabled)
MLPPP เป็นการรวม WAN Serial ตั้งแต่ 2 Link รวมเป็น Link เดียวกัน โดยมีรูปแบบการ Config ดังนี้ครับ R1(config)#interface multilink 1
R1(config-if)#ip address 10.10.10.101 255.255.255.252
R1(config-if)#ppp multilink group 1
R1(config)#interface s0/0
R1(config-if)#encapsulation ppp
R1(config-if)#ppp multilink group 1
R1(config-if)#no shutdown
R1(config)#interface s0/1
R1(config-if)#encapsulation ppp
R1(config-if)#ppp multilink group 1
R1(config-if)#no shutdown
R2(config)#interface s0/0
R2(config-if)#encapsulation ppp
R2(config-if)#ppp multilink group 1
R2(config-if)#no shutdown
R2(config)#interface s2/0
R2(config-if)#encapsulation ppp
R2(config-if)#ppp multilink group 1
R2(config-if)#no shutdown
ในส่วนของ interface ที่อยู่ภายใน multilink group 1 นั้นจะทำการ set เป็น ppp pap หรือ ppp chap ก็ได้ครับ ตรวจสอบผลการ Config ได้ดังนี้
R1#show interfaces multilink 1
Multilink1 is up, line protocol is up
R1#show ip interface brief
Interface IP-Address OK?Method Status Protocol
FastEthernet0/0 192.168.1.254 YES manual up up
Serial0/0 unassigned YES manual up up
Serial0/1 unassigned YES unset up up
Multilink1 10.10.10.101 YES manual up up