📄 changing_ip.txt
字号:
How to deal with changing IP numbers====================================More and more users enjoy the bandwidth of cable modems and other dial-up broadband services. One problem many users have to deal with in these setups is, that their IP number is changing from timeto time.Changing IP number for endpoint, stable IP for gatekeeper---------------------------------------------------------When the gatekeeper maintains a static IP number and only theendpoints receives a new IP number, the best way would be forthe endpoint to unregister it's alias (at best from the old IPnumber, but this will probably also work from the new one) andthen re-register with the same alias from the new IP number.If your endpoint doesn't do that and you have access to theOpenH323 Gatekeeper status port, you can write a small scriptthat connects to the gatekeeper and unregisters all endpointson the old IP number ("unregisterip 1.2.3.4").Most endpoint will try to re-register automatically. If theenpoint uses the new IP number for the reregistration everythingis well.If you have nc (netcat), the script is as simple as this:echo -e "unregisterip 1.2.3.4 \n quit" | nc hostname 7000or use the supplied Perl script:unregister_ip.pl 1.2.3.4 hostnameChanging IP number for the gatekeeper=====================================[ideas, anyone ?]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -