interface ewan 1 ip address 192.168.2.1 255.255.255.0 exit interface lan 1 ip address 192.168.0.1 255.255.255.0 ip address secondary 192.168.1.1 255.255.255.0 exit end
設定内容 | 画面表示例 |
---|---|
特権ユーザモードへの移行 パスワードの入力 設定情報の初期化 設定モードの変更 設定入力 設定保存 装置再起動 |
Router>enable Enter password: Router# Router#clear working.cfg Router# Router#configure terminal Router(config)#interface ewan 1 Router(config-if ewan 1)# ip address 192.168.2.1 255.255.255.0 Router(config-if ewan 1)#exit Router(config)#interface lan 1 Router(config-if lan 1)# ip address 192.168.0.1 255.255.255.0 Router(config-if lan 1)# ip address secondary 192.168.1.1 255.255.255.0 Router(config-if lan 1)#exit Router(config)#end Router# Router#save SIDE-A % saving working-config % finished saving Router#reset Going to reset with SIDE-A.frm and SIDE-A.cfg. Boot-back not scheduled for next boot. Next rebooting firmware SIDE-A.frm is fine. Are you OK to cold start?(y/n)y |
LANインタフェースの設定状態を確認します。
確認内容 | 画面表示例 |
---|---|
LAN の設定状態を表示 IP アドレス等の確認 |
Router>show ip interface lan 1 LAN is up IPv4 is enabled IP address is 192.168.0.1, subnet mask is 255.255.255.0 Broadcast address is 192.168.0.255 Secondary address is 192.168.1.1, subnet mask is 255.255.255.0 Broadcast address is 192.168.1.255 MTU is 1500 bytes ・ ・ ・ |
EWANインタフェースの設定状態を確認します。
確認内容 | 画面表示例 |
---|---|
EWAN の設定状態を表示 IP アドレス等の確認 |
Router>show ip interface ewan 1 EWAN1 is up IPv4 is enabled IP address is 192.168.2.1, subnet mask is 255.255.255.0 Broadcast address is 192.168.2.255 MTU is 1500 bytes ・ ・ ・ |
ルーティング情報を確認します。
確認内容 | 画面表示例 |
---|---|
ルーティング情報の表示 *が表示されていることを確認 *が表示されていることを確認 *が表示されていることを確認 |
Router>show ip route Max entry: 10000 (Commonness in IPv4 and IPv6) Active entry:4 (IPv4), 2 (IPv6) Peak:4 Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF B - BGP, I - IKE, U - SA-UP, D - REDUNDANCY, E - EventAction A - AutoConfig, > - selected route, * - FIB route, p - stale info. C> * 127.0.0.0/8 is directly connected, LOOP0 C> * 192.168.0.0/24 is directly connected, LAN C> * 192.168.1.0/24 is directly connected, LAN C> * 192.168.2.0/24 is directly connected, EWAN1 |