[{"data":1,"prerenderedAt":491},["ShallowReactive",2],{"category-インフラ・NW-1":3},{"items":4,"tagArticleCount":410,"categoryesArticleCount":477,"parPage":490,"PageCount":435,"currentPage":435,"selectedCategory":12,"selectedTag":-1},[5],{"_path":6,"_dir":7,"_draft":8,"_partial":8,"_locale":9,"title":10,"description":9,"category":11,"tags":14,"sumb":18,"sumb_alt":19,"sumb_fit":20,"createdAt":21,"updatedAt":21,"excerpt":22,"body":45,"_type":404,"_id":405,"_source":406,"_file":407,"_stem":408,"_extension":409},"\u002Fpost\u002F2024-03-19","post",false,"","ルーター替えました",[12,13],"インフラ・NW","ものづくり・DIY",[15,16,17],"ルーター","OpenWrt","Proxmox","2024-03-19\u002F20240318_230900.JPG","Router image","outside","2024-03-19 23:30",{"type":23,"children":24},"root",[25,33],{"type":26,"tag":27,"props":28,"children":30},"element","h2",{"id":29},"ルーターを替えたい",[31],{"type":32,"value":29},"text",{"type":26,"tag":34,"props":35,"children":36},"p",{},[37,39,43],{"type":32,"value":38},"今の家に引っ越して以来、YAMAHAのRTX830をずっと運用してきたわけだが、どうもGUIでもCUIでも使いにくい。。。",{"type":26,"tag":40,"props":41,"children":42},"br",{},[],{"type":32,"value":44},"\nDNSリカーシブサーバーの仕様もよくわからんし、MACアドレスベースの静的DHCPも思った動作をしない。。。",{"type":23,"children":46,"toc":390},[47,51,59,74,91,96,102,112,116,126,137,142,152,157,172,177,187,192,197,217,222,232,242,245,254,259,264,269,277,287,292,302,306,309,314,319,329,333,338,343,353,364,374,380],{"type":26,"tag":27,"props":48,"children":49},{"id":29},[50],{"type":32,"value":29},{"type":26,"tag":34,"props":52,"children":53},{},[54,55,58],{"type":32,"value":38},{"type":26,"tag":40,"props":56,"children":57},{},[],{"type":32,"value":44},{"type":26,"tag":34,"props":60,"children":61},{},[62,64,67],{"type":32,"value":63},"コチラが変更前のルーター",{"type":26,"tag":40,"props":65,"children":66},{},[],{"type":26,"tag":68,"props":69,"children":73},"article-image",{"preset":70,"src":71,"alt":72},"article_image","2024-03-19\u002F20240318_231527.JPG","PC image",[],{"type":26,"tag":34,"props":75,"children":76},{},[77,79,82,89],{"type":32,"value":78},"アライド高いし、BUFFALOの有線ルーターに変えようかなと思っていた矢先。",{"type":26,"tag":40,"props":80,"children":81},{},[],{"type":26,"tag":83,"props":84,"children":86},"code",{"className":85},[],[87],{"type":32,"value":88},"N100に2.5G×4をのっけた中華PCで爆速ルーターを作る",{"type":32,"value":90},"という怪電波を受信・・・",{"type":26,"tag":34,"props":92,"children":93},{},[94],{"type":32,"value":95},"そんなにコスト掛からないようなので試しに作ってみる。ついでに2.5G環境作れるといいね。",{"type":26,"tag":27,"props":97,"children":99},{"id":98},"pcの選定",[100],{"type":32,"value":101},"PCの選定",{"type":26,"tag":34,"props":103,"children":104},{},[105,107,110],{"type":32,"value":106},"N100が乗っていることを前提にAmazonとAliExpressを物色・・・",{"type":26,"tag":40,"props":108,"children":109},{},[],{"type":32,"value":111},"\nAmazonは高かったのでAliExpressで適当に調達。",{"type":26,"tag":68,"props":113,"children":115},{"preset":70,"src":114,"alt":72},"2024-03-19\u002F2024-03-19_233745.png",[],{"type":26,"tag":34,"props":117,"children":118},{},[119,121,124],{"type":32,"value":120},"最新CPUなのでJシリーズとかNシリーズよりは全然高い。",{"type":26,"tag":40,"props":122,"children":123},{},[],{"type":32,"value":125},"\nが、普通に有線ルーター買ったりミニPC買うよりは全然安い。",{"type":26,"tag":34,"props":127,"children":128},{},[129,135],{"type":26,"tag":83,"props":130,"children":132},{"className":131},[],[133],{"type":32,"value":134},"NoRAM NoStorage",{"type":32,"value":136},"を選択。どうやらこれだと関税がかからないらしい。",{"type":26,"tag":34,"props":138,"children":139},{},[140],{"type":32,"value":141},"注文後、しっかり2週間で到着。",{"type":26,"tag":34,"props":143,"children":144},{},[145,147,150],{"type":32,"value":146},"アリエクだといつも到着するかどうか分からないのでドキドキするね。",{"type":26,"tag":40,"props":148,"children":149},{},[],{"type":32,"value":151},"\n最近は国内入ったくらいで追跡できるようになるので助かる。",{"type":26,"tag":27,"props":153,"children":155},{"id":154},"不足パーツの調達",[156],{"type":32,"value":154},{"type":26,"tag":34,"props":158,"children":159},{},[160,165,167,170],{"type":26,"tag":83,"props":161,"children":163},{"className":162},[],[164],{"type":32,"value":134},{"type":32,"value":166},"を選択したのでメモリとストレージを別途調達する必要がある。",{"type":26,"tag":40,"props":168,"children":169},{},[],{"type":32,"value":171},"\nそれっぽいところで調達。ぶっ壊れても困るので安すぎずといったところ。",{"type":26,"tag":68,"props":173,"children":176},{"preset":70,"src":174,"alt":175},"2024-03-19\u002F2024-03-19_235024.png","parts image",[],{"type":26,"tag":34,"props":178,"children":179},{},[180,182,185],{"type":32,"value":181},"さらに今回、ルーターソフトを直接インストールするにはストレージケースが必要なので一緒に調達。",{"type":26,"tag":40,"props":183,"children":184},{},[],{"type":32,"value":186},"\nそのうちメインPCのSSDリプレイスで使うしそれなりのメーカーで調達。",{"type":26,"tag":34,"props":188,"children":189},{},[190],{"type":32,"value":191},"NVMe\u002FSATA両対応なのにこの値段。クロしこ安くて助かります。",{"type":26,"tag":27,"props":193,"children":195},{"id":194},"ソフトの選定",[196],{"type":32,"value":194},{"type":26,"tag":34,"props":198,"children":199},{},[200,202,210,212,215],{"type":32,"value":201},"ルーターソフトは色々あるが、今回はOSS界隈で有名そうな",{"type":26,"tag":203,"props":204,"children":208},"a",{"href":205,"rel":206},"https:\u002F\u002Fopenwrt.org\u002F",[207],"nofollow",[209],{"type":32,"value":16},{"type":32,"value":211},"を選択した。",{"type":26,"tag":40,"props":213,"children":214},{},[],{"type":32,"value":216},"\nQiitaとかでも情報が多いし日本語GUIもあるのでよさそう。",{"type":26,"tag":27,"props":218,"children":220},{"id":219},"インストール",[221],{"type":32,"value":219},{"type":26,"tag":34,"props":223,"children":224},{},[225,227,230],{"type":32,"value":226},"OpenWrtは最近よく見るLinuxディストロとはインストール方法が違うので注意が必要。",{"type":26,"tag":40,"props":228,"children":229},{},[],{"type":32,"value":231},"\nストレージをストレージケースに放り込んでRufusでイメージを書き込む。",{"type":26,"tag":34,"props":233,"children":234},{},[235,237,240],{"type":32,"value":236},"インストール後、適当にポート設定してフレッツ回線の設定を放り込んで難なく動作。",{"type":26,"tag":40,"props":238,"children":239},{},[],{"type":32,"value":241},"\n今回はIPoEだけにしてみた。",{"type":26,"tag":68,"props":243,"children":244},{"preset":70,"src":18,"alt":175},[],{"type":26,"tag":34,"props":246,"children":247},{},[248],{"type":26,"tag":249,"props":250,"children":251},"small",{},[252],{"type":32,"value":253},"汚いですが、設置写真。",{"type":26,"tag":27,"props":255,"children":257},{"id":256},"ついでに仮想化",[258],{"type":32,"value":256},{"type":26,"tag":34,"props":260,"children":261},{},[262],{"type":32,"value":263},"インストール後のリソースを見ていたところCPUもメモリも余りに余っているのが気持ち悪すぎたので、余剰リソースを有効活用するためにOpenWrtを仮想化することにした。",{"type":26,"tag":68,"props":265,"children":268},{"preset":70,"src":266,"alt":267},"2024-03-19\u002F2024-03-20_010216.png","proxmox image",[],{"type":26,"tag":34,"props":270,"children":271},{},[272],{"type":26,"tag":249,"props":273,"children":274},{},[275],{"type":32,"value":276},"CPUの使用率画面。最大でも2%程度だった。",{"type":26,"tag":34,"props":278,"children":279},{},[280,282,285],{"type":32,"value":281},"個人的にVMwareのESXiが好きだったが、Broadcomさん提供になって料金体系が変更されてから個人向け無償版は消滅したらしいので今回は別のモノを。",{"type":26,"tag":40,"props":283,"children":284},{},[],{"type":32,"value":286},"\n今回はDebianベースのProxmoxを採用。",{"type":26,"tag":34,"props":288,"children":289},{},[290],{"type":32,"value":291},"Proxmoxは普通にインストールUSBを作ってインストールするだけなので超簡単。あらかじめConfigバックアップを取ってからProxmoxをインストール。",{"type":26,"tag":34,"props":293,"children":294},{},[295,297,300],{"type":32,"value":296},"VMを作ってからOpenWrtを起動してバックアップしたConfigで復元すれば完了",{"type":26,"tag":40,"props":298,"children":299},{},[],{"type":32,"value":301},"\n後から調べたがルーター用途ならRAMは1GBで十分らしい",{"type":26,"tag":68,"props":303,"children":305},{"preset":70,"src":304,"alt":267},"2024-03-19\u002F2024-03-20_005852.png",[],{"type":26,"tag":40,"props":307,"children":308},{},[],{"type":26,"tag":249,"props":310,"children":311},{},[312],{"type":32,"value":313},"\n移行後のSummary画面。２つ目のVMとしてmysqlも稼働させてみたがまだ余ってる。。。\n",{"type":26,"tag":27,"props":315,"children":317},{"id":316},"発熱について",[318],{"type":32,"value":316},{"type":26,"tag":34,"props":320,"children":321},{},[322,324,327],{"type":32,"value":323},"あんま負荷かかってない状態でも、ちょいちょい発熱するっぽいのでファンを付ける",{"type":26,"tag":40,"props":325,"children":326},{},[],{"type":32,"value":328},"\n適当にUSB電源の12cmファンを買ってしばりつける",{"type":26,"tag":68,"props":330,"children":332},{"preset":70,"src":331,"alt":175},"2024-03-19\u002F20240318_231403.JPG",[],{"type":26,"tag":34,"props":334,"children":335},{},[336],{"type":32,"value":337},"うーん　いいね",{"type":26,"tag":27,"props":339,"children":341},{"id":340},"総括",[342],{"type":32,"value":340},{"type":26,"tag":34,"props":344,"children":345},{},[346,348,351],{"type":32,"value":347},"ブラウジング時の応答が気持ち速くなったような気がする。",{"type":26,"tag":40,"props":349,"children":350},{},[],{"type":32,"value":352},"\nプラシーボな気もするがとりあえず、ルーターのおかげということにしておく",{"type":26,"tag":34,"props":354,"children":355},{},[356,362],{"type":26,"tag":83,"props":357,"children":359},{"className":358},[],[360],{"type":32,"value":361},"PC⇒ルーター⇒AP",{"type":32,"value":363},"のルートが2.5G化されたのでMetaQuest3へのSteamVRキャストがいい感じになる。予定。",{"type":26,"tag":34,"props":365,"children":366},{},[367,369,372],{"type":32,"value":368},"Proxmoxを触れたのも収穫。",{"type":26,"tag":40,"props":370,"children":371},{},[],{"type":32,"value":373},"\nそのうちメインのサーバーもESXiから移行しよう・・・",{"type":26,"tag":375,"props":376,"children":378},"h3",{"id":377},"さらにオマケ",[379],{"type":32,"value":377},{"type":26,"tag":34,"props":381,"children":382},{},[383,385,388],{"type":32,"value":384},"後から聞いた話ではミニPCルーターをメインルーターとして使うことはあんまりないっぽいが、なんか速そうなのでしばらくはメインのルーターとして運用してみる。",{"type":26,"tag":40,"props":386,"children":387},{},[],{"type":32,"value":389},"\nダメだったらRTX830に戻せばいいしね。",{"title":9,"searchDepth":391,"depth":391,"links":392},2,[393,394,395,396,397,398,399,400],{"id":29,"depth":391,"text":29},{"id":98,"depth":391,"text":101},{"id":154,"depth":391,"text":154},{"id":194,"depth":391,"text":194},{"id":219,"depth":391,"text":219},{"id":256,"depth":391,"text":256},{"id":316,"depth":391,"text":316},{"id":340,"depth":391,"text":340,"children":401},[402],{"id":377,"depth":403,"text":377},3,"markdown","content:post:2024-03-19.md","content","post\u002F2024-03-19.md","post\u002F2024-03-19","md",[411,413,415,417,419,421,423,425,427,429,431,433,436,438,440,442,444,446,448,450,452,454,456,458,460,462,464,465,466,467,469,471,473,475],{"tag":412,"count":403},"エディタ",{"tag":414,"count":403},"旧ブログ",{"tag":416,"count":403},"Nuxt",{"tag":418,"count":391},"WordPress",{"tag":420,"count":391},"CMS",{"tag":422,"count":391},"Sony",{"tag":424,"count":391},"グルメ",{"tag":426,"count":391},"TWS",{"tag":428,"count":391},"Ape",{"tag":430,"count":391},"iPad",{"tag":432,"count":391},"買ってよかったもの",{"tag":434,"count":435},"PC",1,{"tag":437,"count":435},"Windows",{"tag":439,"count":435},"Radeon",{"tag":441,"count":435},"Android",{"tag":443,"count":435},"Xperia",{"tag":445,"count":435},"スマホ",{"tag":447,"count":435},"Audio-Technica",{"tag":449,"count":435},"YAMAHA",{"tag":451,"count":435},"radius",{"tag":453,"count":435},"Noble Audio",{"tag":455,"count":435},"FALCON2",{"tag":457,"count":435},"レシピ",{"tag":459,"count":435},"ソーラー",{"tag":461,"count":435},"妄想シリーズ",{"tag":463,"count":435},"3Dプリンター",{"tag":15,"count":435},{"tag":16,"count":435},{"tag":17,"count":435},{"tag":468,"count":435},"AWS",{"tag":470,"count":435},"Bedrock",{"tag":472,"count":435},"AI",{"tag":474,"count":435},"Python",{"tag":476,"count":435},"VSCode",[478,481,484,486,487,489],{"category":479,"count":480},"開発・技術",8,{"category":482,"count":483},"ガジェット・オーディオ",4,{"category":485,"count":483},"ライフスタイル・雑記",{"category":13,"count":483},{"category":488,"count":391},"クルマ・バイク",{"category":12,"count":435},5,1785332691795]