SpeedTouchST780修改LAN4为WAN口方法

2025-09-29 01:31:28

1、telnet 192.168.1.254

粘贴下面命令即可:

ppp relay flush

ppp flush

eth flush

atm flush

atm phonebook flush

eth bridge ifdelete intf=ethport4

eth ifadd intf=eth_wan

eth ifconfig intf=eth_wan dest=ethif4

eth ifattach intf=eth_wan

ip ifadd intf=ip_wan_eth dest=eth_wan

ip ifconfig intf=ip_wan_eth status=up

ip ifconfig intf=ip_wan_eth hwaddr=00:14:7F:C6:BE:7B

ip ifattach intf=ip_wan_eth

nat ifconfig intf=ip_wan_eth translation=enabled

dhcp client ifadd intf=ip_wan_eth

dhcp client ifconfig intf=ip_wan_eth metric=5 dnsmetric=5

dhcp client rqoptions add intf=ip_wan_eth option=dhcp-lease-time

dhcp client rqoptions add intf=ip_wan_eth option=dhcp-renewal-time

dhcp client rqoptions add intf=ip_wan_eth option=dhcp-rebinding-time

dhcp client rqoptions add intf=ip_wan_eth option=subnet-mask

dhcp client rqoptions add intf=ip_wan_eth option=classless-static-routes

dhcp client rqoptions add intf=ip_wan_eth option=default-routers

dhcp client rqoptions add intf=ip_wan_eth option=classfull-static-routes

dhcp client rqoptions add intf=ip_wan_eth option=domain-name-servers

dhcp client ifattach intf=ip_wan_eth

saveall

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢