2025年6月13日金曜日

GE1サンプルconfig

IX2215の空いているGE1を使用する方法
通常は、GE0をWAN GE2(8port)をローカルに設定するが、GE1という独立したRJ45の入力があります。

下記サンプルコンフィグ(青い部分の追加だけでGE1からネットが可能になります
---------------------------------------------------------------------------------------------------------------
Router(config)$ show startup-config
Using 1757 out of 1048576 bytes

! NEC Portable Internetwork Core Operating System Software
! IX Series IX2215 (magellan-sec) Software, Version 10.9.11, RELEASE SOFTWARE
! Compiled Dec 15-Fri-2023 13:35:51 JST #2
! Last updated Jun 12-Thu-2025 15:44:10 JST
!
timezone +09 00
!
logging buffered 131072
logging subsystem all warn
logging timestamp datetime
!
username admin password hash ****************************@ administrator
!
!
ip ufs-cache enable
ip dhcp enable
ip access-list web-http-acl permit ip src any dest 192.168.1.254/32
ip access-list web-http-scl permit ip src any dest 192.168.1.254/32
!
!
proxy-dns ip enable
proxy-dns interface GigaEthernet0.0 priority 254
!
http-server username admin
http-server ip access-list web-http-acl
http-server ip enable
!
!
ip dhcp profile dhcp-profile
  dns-server 192.168.1.254
!
device GigaEthernet0
!
device GigaEthernet1
!
device GigaEthernet2
!
device BRI0
  isdn switch-type hsd128k
!
device USB0
  shutdown
!
interface GigaEthernet0.0
  description WAN1
  ip address dhcp receive-default
  ip napt enable
  ip napt hairpinning
  no shutdown
!
interface GigaEthernet1.0
  description LAN2
  ip address 192.168.2.254/24
  ip dhcp binding dhcp-profile
  no shutdown
!
interface GigaEthernet2.0
  description LAN1
  ip address 192.168.1.254/24
  ip dhcp binding dhcp-profile
  no shutdown
!
interface BRI0.0
  encapsulation ppp
  no auto-connect
  no ip address
  shutdown
!
interface USB-Serial0.0
  encapsulation ppp
  no auto-connect
  no ip address
  shutdown
!
interface Loopback0.0
  no ip address
!
interface Null0.0
  no ip address
!
system information lan 2 GigaEthernet1.0
system information lan 1 GigaEthernet2.0
system information wan 1 GigaEthernet0.0
!
web-console system information
  o wizard easy-inet-only-ip
Router(config)$ 
---------------------------------------------------------------------------------------------------------------

実用上の注意事項 GE2は必ず有効にしなければならない!!!!!
※LANケーブル(信号のある)を指しておくだけでOK


0 件のコメント:

コメントを投稿

注: コメントを投稿できるのは、このブログのメンバーだけです。