Если на интерфейсе DSL с авторизацией по PPPoE в разделе IPv4 Settings - IPv4 Configuration перевести в Disabled, то эта настройка не сохраняется при перезагрузке маршрутизатора.
После перезагрузки настройка переводится в режим DHCP
После отключения через веб морду на Bridge5 адрес исчезает, на Dsl0 и Dsl0/Pvc0 - остается
interface Dsl0
rename ISP
dyndns nobind
dsl ginp
ip address dhcp
ip dhcp client dns-routes
ip name-servers
operating-mode adsl-auto annex auto
interface Dsl0/Pvc0
role inet
dyndns nobind
pvc 1 32
encapsulation aal5snap
!
ip address dhcp
ip dhcp client dns-routes
ip no name-servers
interface Bridge5
role inet for ISP
dyndns nobind
inherit ISP
include Dsl0/Pvc0
mac access-list type none
security-level public
ip dhcp client hostname gw
ip dhcp client dns-routes
ip mtu 1500
ip no name-servers
up
После ребута
interface Dsl0
ip address dhcp
interface Dsl0/Pvc0
ip address dhcp
interface Bridge5
ip address dhcp
I [Oct 23 14:53:47] ndm: Dhcp::Client: started DHCP client on Dsl0.
I [Oct 23 14:53:47] ndm: Dhcp::Client: Dsl0 DHCP client DNS host routes are enabled.
I [Oct 23 14:53:48] ndm: Dhcp::Client: started DHCP client on Dsl0/Pvc0.
I [Oct 23 14:53:48] ndm: Dhcp::Client: Dsl0/Pvc0 DHCP client DNS host routes are enabled.
I [Oct 23 14:53:55] ndm: Dhcp::Client: started DHCP client on Bridge5.
I [Oct 23 14:54:20] ndhcpc: Bridge5: NDM DHCP Client, v3.2.56.
I [Oct 23 14:54:20] ndhcpc: Bridge5: created PID file "/var/run/ndhcpc-br5.pid".
Если сохранить конфигурацию, вырезать из него все эти три ip address dhcp, залить в кинетик - DHCP тут как тут
Более того. Если на DSL интерфейсе задать адрес статически, то после перезагрузки будет так
interface Bridge5
role inet for Dsl0
dyndns nobind
inherit Dsl0
include Dsl0/Pvc0
mac access-list type none
security-level public
ip address 192.0.2.254 255.255.255.252
ip address dhcp
ip dhcp client dns-routes
ip mtu 1500
ip no name-servers
up
!
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
gaaronk
Keenetic DUO 4.3a4
Если на интерфейсе DSL с авторизацией по PPPoE в разделе IPv4 Settings - IPv4 Configuration перевести в Disabled, то эта настройка не сохраняется при перезагрузке маршрутизатора.
После перезагрузки настройка переводится в режим DHCP
После отключения через веб морду на Bridge5 адрес исчезает, на Dsl0 и Dsl0/Pvc0 - остается
interface Dsl0 rename ISP dyndns nobind dsl ginp ip address dhcp ip dhcp client dns-routes ip name-servers operating-mode adsl-auto annex auto interface Dsl0/Pvc0 role inet dyndns nobind pvc 1 32 encapsulation aal5snap ! ip address dhcp ip dhcp client dns-routes ip no name-servers interface Bridge5 role inet for ISP dyndns nobind inherit ISP include Dsl0/Pvc0 mac access-list type none security-level public ip dhcp client hostname gw ip dhcp client dns-routes ip mtu 1500 ip no name-servers up
После ребута
interface Dsl0 ip address dhcp interface Dsl0/Pvc0 ip address dhcp interface Bridge5 ip address dhcp I [Oct 23 14:53:47] ndm: Dhcp::Client: started DHCP client on Dsl0. I [Oct 23 14:53:47] ndm: Dhcp::Client: Dsl0 DHCP client DNS host routes are enabled. I [Oct 23 14:53:48] ndm: Dhcp::Client: started DHCP client on Dsl0/Pvc0. I [Oct 23 14:53:48] ndm: Dhcp::Client: Dsl0/Pvc0 DHCP client DNS host routes are enabled. I [Oct 23 14:53:55] ndm: Dhcp::Client: started DHCP client on Bridge5. I [Oct 23 14:54:20] ndhcpc: Bridge5: NDM DHCP Client, v3.2.56. I [Oct 23 14:54:20] ndhcpc: Bridge5: created PID file "/var/run/ndhcpc-br5.pid".
Если сохранить конфигурацию, вырезать из него все эти три ip address dhcp, залить в кинетик - DHCP тут как тут
Более того. Если на DSL интерфейсе задать адрес статически, то после перезагрузки будет так
interface Bridge5 role inet for Dsl0 dyndns nobind inherit Dsl0 include Dsl0/Pvc0 mac access-list type none security-level public ip address 192.0.2.254 255.255.255.252 ip address dhcp ip dhcp client dns-routes ip mtu 1500 ip no name-servers up !
А в web-UI
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.