はじめに
転職して通信系の会社に入ったので、実用と勉強を兼ねてノリと勢いでIX2106を購入した。
備忘録で色々残していく。
手探りなのでプロからの指摘があると嬉しい。
ルータの起動と接続
USBシリアルコンバータを購入して、ルーター⇔付属コンソールケーブル⇔コンバータ⇔PC
のように接続!
※USB⇔RS-232C変換ケーブルは、Prolific社のPL2303が使われているものは避けたほうがよいかも。
できなくはないけど面倒らしい。win以外でも面倒かは不明。
Windows10でPL2303を無理やり動かす
電源ケーブルを指してスイッチオン!
TeraTermをインストールして、図のように、シリアル接続を選択して「OK」!
初期コンフィグの削除手順
1.コンフィグレーションモードで「erase startup-config」コマンドを実行し、スタートアップコンフィグを削除。
Router# enable-config [Enter]
Router(config)# erase startup-config [Enter]
Are you sure you want to erase the startup-configuration? (Yes or [No]): y [Enter]
Router(config)#
2.オペレーションモードに戻り、「default-console command-line」コマンドを実行。
Router(config)# exit [Enter]
Router# default-console command-line [Enter]
Router#
3.本装置を再起動
Router# reload [Enter]
% Warning: current running-configuration is not saved yet.
Notice: The router will be RELOADED. This is to ensure that
the peripheral devices are properly initialized.
Are you sure you want to reload the router? (Yes or [No]): y [Enter]
Appendix1.初期コンフィグの内容
timezone +09 00
logging buffered 131072
logging subsystem all warn
logging timestamp datetime
ip ufs-cache enable
ip dhcp enable
ip access-list web-http-acl permit ip src any dest 192.168.1.254/32
http-server ip access-list web-http-acl
http-server ip enable
ip dhcp profile web-dhcp-gigaethernet1.0
dns-server 192.168.1.254
device GigaEthernet0
device GigaEthernet1
interface GigaEthernet0.0
no ip address
shutdown
interface GigaEthernet1.0
ip address 192.168.1.254/24
ip dhcp binding web-dhcp-gigaethernet1.0
no shutdown
interface Loopback0.0
no ip address
interface Null0.0
no ip address
web-console system information
o lan1 GigaEthernet1.0
4.基本設定
※追記_2019/10/07
PPPoE、DHCP、おまじないなど諸々設定する。(PPPoEは動いてない。。。)
※追記_2020/04/26
auひかりはPPPoEで認証しておらず、貸し出されるHGWのMacアドレス+特殊なパケットで認証してるらしい。
独自のルータで直接つなぐことはできない。。
!
hostname XXXX
timezone +09 00
!
username XXXX password hash XXXX administrator
!
!
ip ufs-cache enable
ip route default GigaEthernet0.1
ip dhcp enable
!
proxy-dns ip enable
!
telnet-server ip enable
!
http-server ip enable
!
ppp profile ppp_profile
authentication myname XXXX
authentication password XXXX password-1
!
ip dhcp profile dhcp_profile1
assignable-range 192.168.100.10 192.168.100.20
default-gateway 192.168.100.254
dns-server 192.168.100.254
!
device GigaEthernet0
!
device GigaEthernet1
!
interface GigaEthernet0.0
no ip address
no shutdown
!
interface GigaEthernet1.0
ip address 192.168.100.254/24
ip dhcp binding dhcp_profile1
no shutdown
!
interface GigaEthernet0.1
encapsulation pppoe
auto-connect
ppp binding ppp_profile
ip address ipcp
ip tcp adjust-mss auto
ip napt enable
no shutdown
!
interface Loopback0.0
no ip address
!
interface Null0.0
no ip address