20181204_jeffrey - silenceuncrio/diary GitHub Wiki
0905
繼續昨天 M300 的 sync
commit 1309eecc2d584d6838242cd659913308a46471be
Author: jeffrey <[email protected]>
Date: Tue Dec 4 09:19:08 2018 +0800
add 'LTE > Search Operators' web page and online manual
proscend/prosrc/icos/iweb/iweb.c | 3 ++
proscend/prosrc/webcgi/lte.c | 41 ++++++++++++++++
.../prosrc/www/app/feature/search_operators.html | 55 ++++++++++++++++++++++
.../prosrc/www/app/feature/search_operators.js | 50 ++++++++++++++++++++
proscend/prosrc/www/app/locale-en.json | 16 ++++++-
proscend/prosrc/www/app/locale-fr.json | 16 ++++++-
proscend/prosrc/www/app/locale-zh-tw.json | 16 ++++++-
proscend/prosrc/www/app/services/icos.service.js | 3 ++
proscend/prosrc/www/src/index.html.src | 1 +
proscend/prosrc/www/src/manual.html.src | 3 ++
.../www/src/manual/lte_search_operators.h.html | 45 ++++++++++++++++++
proscend/prosrc/www/src/manual/sidebar.h.html | 3 ++
proscend/prosrc/www/src/menu.html.src | 3 ++
13 files changed, 249 insertions(+), 6 deletions(-)
0920
monkeyjj
1100
將 Cisco 2951 開機
設定 Cisco 2951 的 IP 讓 M300 與 Cisco 2951 能互通
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface GigabitEthernet 0/0
Router(config-if)#ip address 192.168.1.200 255.255.255.0
Router(config-if)#no shutdown
參考 Introduction to Multipoint GRE and NHRP
從最簡單的開始套
Cisco 2951
Router(config)#interface tunnel 0
Router(config-if)#ip address 172.30.96.5 255.255.255.248
Router(config-if)#tunnel source 192.168.1.200
Router(config-if)#tunnel destination 192.168.1.1
M300
ip tunnel add gre1 mode gre remote 192.168.1.200 local 192.168.1.1
ip link set gre1 up
ip addr add 172.30.96.6/29 dev gre1
互相 ping 吧
M300 ping Cisco 2951... PASS
root@Cellular Router:~# ping 172.30.96.5
PING 172.30.96.5 (172.30.96.5): 56 data bytes
64 bytes from 172.30.96.5: seq=0 ttl=255 time=17.159 ms
64 bytes from 172.30.96.5: seq=1 ttl=255 time=1.027 ms
64 bytes from 172.30.96.5: seq=2 ttl=255 time=1.026 ms
64 bytes from 172.30.96.5: seq=3 ttl=255 time=1.028 ms
^C
--- 172.30.96.5 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 1.026/5.060/17.159 ms
Cisco 2951 ping M300... PASS
Router#ping 172.30.96.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.30.96.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
一小步 一小步 慢慢前進
1200
Cisco 2951 關機
1300
monkeyjj
1455
將 Cisco 2951 開機
設定 Cisco 2951 的 IP 讓 M300 與 Cisco 2951 能互通
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface GigabitEthernet 0/0
Router(config-if)#ip address 192.168.1.200 255.255.255.0
Router(config-if)#no shutdown
參考 Introduction to Multipoint GRE and NHRP
試著套一下 NHRP
Cisco 2951
Router(config)#interface tunnel 0
Router(config-if)#ip address 172.30.96.5 255.255.255.248
Router(config-if)#ip nhrp network-id 1
Router(config-if)#ip nhrp holdtime 600
Router(config-if)#tunnel source 192.168.1.200
Router(config-if)#tunnel mode gre multipoint
M300 - gre 部分
ip tunnel add gre1 mode gre remote 192.168.1.200 local 192.168.1.1
ip link set gre1 up
ip addr add 172.30.96.6/29 dev gre1
把 nhrpd 叫起來
touch /etc/quagga/nhrpd.conf
nhrpd -d
利用 vtysh 搞定 nhrpd 設定
1645
參考 Dynamic Multipoint VPN (DMVPN) Phase 3 with Quagga NHRPd
debug nhrpd 發現
root@Cellular Router:/var/log/quagga# cat /home/log/slogd.log | grep nhrpd
2018-12-04 08:29:32 Cellular Router daemon.warn nhrpd[20568]: vici_reconnect: failure connecting VICI socket: No such file or directory
2018-12-04 08:29:34 Cellular Router daemon.warn nhrpd[20568]: vici_reconnect: failure connecting VICI socket: No such file or directory
...
2018-12-04 08:30:06 Cellular Router daemon.warn nhrpd[20568]: vici_reconnect: failure connecting VICI socket: No such file or directory
利用這些關鍵字找到 NHRP - Mappings are not installed successfully in the Linux neighbour table
這不是 quagga 的項目
總覺得目前卡在泥堆裡面了
1740
禮拜四 winston 會來幫忙看 下使否能脫離這團泥沼
那我明天先準備一些文件讓 winston 的幫忙能更順利