Jump to navigation
«Prev ||
1 |
2 |
3 |...|
290 |
291 |
292 |...|
299 |
300 |
301 ||
Next»
10月14日 (火)
ルート再配信
あるルーティングプロトコルで学習したルートを異なるルーティングプロトコルに乗せて配信すること。
たとえば、スタティックルートをRIPに再配信する、OSPFで学習したルートをRIPに再配信するなど。
R1(config-router)#redistribute static metric 5
10月13日 (月)
シリアルI/Fの専用線接続設定
すごく単純だ。
R1(config)#int s0
R1(config-if)#ip address 192.168.10.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#exit
R1(config-if)#clock rate 2000000 …
R1(config)#ip route 192.168.2.0 255.255.255.0 192.168.10.2
R1(config)#end
ルーティングはRIPでもよい。
,clock rateを指定しているのは、テストのためにルータ2つを直接ケーブルでつないでいるため。(DCE側となったルータからclockを出す必要がある。)
通常は、網のほうからclockは送られてくるので設定する必要はない。
ISDN一次群インタフェースの場合の設定方法
R1(config)#username R2 password ****
R1(config)#userneme R3 password ****
R1(config)#isdn switch-type primary-ntt …
R1(config)#controller T1 0/0 …
R1(config)#framing esf …
R1(config)#linecode b8zs …
R1(config)#pri-group timeslots 1-24 …
R1(config)#int s0/0:23 …
R1(config-if)#ip address 192.168.250.1 255.255.255.0
R1(config-if)#encapsulation ppp
R1(config-if)#dialer idle-timeout 30
R1(config-if)#dialer map ip 192.168.250.2 name R2 0311112222
R1(config-if)#dialer map ip 192.168.250.3 name R2 0311113333
R1(config-if)#dialer-group 1
R1(config-if)#isdn caller 0311112222
R1(config-if)#isdn caller 0311113333
R1(config-if)#ppp authentication chap
R1(config-if)#ip route 192.168.2.0 255.255.255.0 192.168.250.2
R1(config-if)#ip route 192.168.3.0 255.255.255.0 192.168.250.3
R1(config-if)#dialer-list 1 protocol ip permit
解説
switch-typeはprimary-nttを指定
PRIのコンフィグ時定型コマンドとして指定
PRIインタフェースはSerial0/0:23と指定する
※ただし、上記は、実験していないので間違っているかもしれない。
回線交換ISDN網の設定方法(基本インタフェース)
R1(config)#isdn switch-type ntt …
R1(config)#int bri0 …
R1(config-if)#ip address 192.168.10.1 255.255.255.0 …
R1(config-if)#encapsulation ppp …
R1(config-if)#ppp authentication chap …
R1(config-if)#dialer-group 1 …
R1(config-if)#dialer map ip 192.168.10.2 name R2 0311112222 …
R1(config-if)#isdn caller 0311112222 …
R1(config-if)#dialer idle-timeout 60 …
R1(config-if)#exit
R1(config)#username R2 password **** …
R1(config)#ip route 192.168.1.0 255.255.25.0 192.168.10.2 …
R1(config)#dialer-list 1 protocol ip permit …
解説:
switch-typeは日本では必ずntt
ISDNの場合はbriを使用
自分のアドレスを設定
ぅ瀬ぅ▲襯▲奪廚両豺隋▲プセレーションタイプはpppを指定
デЬ敲法はCHAPを使用(PAPしか対応していない機器とはPAP)
dialer-groupとdialer-listは対応するように
二重発呼を防ぐため、相手のルータ名、GW、電話番号を記述する
┿慊衄峭罎らのみ着信するよう設定(指定しなくてもよい)
無通信状態の場合に切断するまでの時間
相手ルータの名前とパスワード(全員共通で使用)を設定
スタティックルート設定(回線交換ではダイナミックルーティングは不可)
発呼条件指定:ipパケットはすべて通過させ、1でダイアルする
(ipパケットがinterestingトラフィックとなる)
ISDNステータス確認コマンド
R1#show isdn status
R1#show isdn active
R1#show isdn hisory
R1#show dialer
R1#show int bri0
debugコマンド
R1#debug isdn q921
R1#debug isdn q931
R1#debug isdn event
R1#debug ppp authentication
R1#debug ppp packet
(debugの中止は no debug xxx または no debug all)
config regの内容
config reg=0x2102をbit分解すると
2 1 0 2
0010 0001 0000 0010
↑ ↑ ↑ ↑ ↑ ↑
15 12 11 8 7 4
15 Diagnostic mode disabled
14 IP broadcasts do not have network numbers
13 Boot default ROM software if network boot fails
12-11 Console speed is 9600 baud
10 IP bradcasts with ones
8 Break disabled
7 OEM diabled
6 startup-config を無視して立ち上げ
下4bit
2 通常のIOSで動く hostname>
1 MINI IOSがLoadされる hostname(boot)
0 ROMモードで止まる rommon1>
※通常、config regを変更するのはパスワードリカバリのときぐらい。
暦の上では三連休ですね
何も予定がない私は、今日も元気に研修でした。
えぇ、祝日もやるんですよ、この研修。
なのに、なんですか?
どうして隣の人は来ていないのですか?
二人一組の実習なんですけど。
おかげで私はルータ2台(PCも2台)を華麗にさばきつつ、
一人さみしく実習でございました。
石田さん、明日お昼おごってくれますよね?
ショックのあまり、復習用FDを持って帰るの忘れましたよ、私は。
10月12日 (日)
焼肉 『金龍苑』 (町屋)
焼肉を食べてきました。全身焼き肉臭いです。高架下の、テーブルが5つほどの小さな店で、メニューも少なめ。肉厚のタン塩とハラミがうりですが、カルビやレバ刺しもおいしいです。脂がこってりのっているのが好きな人にはたまりません。ただし、野菜スープと梅サワーはやめておいたほうが無難。キムチはそんなに辛くないタイプです。
あまりマスコミに露出しておらず、隠れた名店らしいですが、おかあさんの機嫌が悪いことが多いという噂なので、好青年を装い、大げさなぐらい「おいしい!」と騒ぐといいと思います。
お店情報
■ 金龍苑(きんりゅうえん)
住所: 東京都荒川区荒川5-15-7
最寄駅:京成 新三河島(町屋方面に徒歩2分)
電話: 03-3806-6175
営業時間: 18時〜23時ごろまで(肉がなくなったらおしまい)
予算: 一人5000円ぐらい
定休日: 火曜
スオミチェック:☆☆☆
«Prev ||
1 |
2 |
3 |...|
290 |
291 |
292 |...|
299 |
300 |
301 ||
Next»