找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2413|回复: 2

【求助】rg100a编辑/etc/config/network设置vlan后连接不上

[复制链接]
发表于 2010-12-19 12:41:22 | 显示全部楼层 |阅读模式
我编辑vi /etc/config/network如下:


config 'interface' 'loopback'
        option 'ifname'   'lo'
        option 'proto'    'static'
        option 'ipaddr'   '127.0.0.1'
        option 'netmask'  '255.0.0.0'

config 'interface' 'lan'
        option 'type'     'bridge'
        option 'ifname'   'eth1.0'
        option 'proto'    'static'
        option 'ipaddr'   '192.168.0.168'
        option 'netmask'  '255.255.255.0'
        option 'gateway' '192.168.0.1'
        option 'dns' '192.168.0.1'
        option 'nat'      '1'

config 'interface' 'wan'
        option 'ifname' 'eth1.1'
        option 'proto' 'dhcp'
        config 'switch' 'eth1'
        option 'reset' '1'
        option 'enable_vlan' '1'

config 'switch' 'eth1'
        option 'reset' '1'
        option 'enable_vlan' '1'

config 'switch_vlan'
        option 'device' 'eth1'
        option 'vlan' '0'
        option 'ports' '"1 2 3 5*"'

config 'switch_vlan'
        option 'device' 'eth1'
        option 'vlan' '1'
        option 'ports' '"0 5*"'

保存重启后连不上了,指示灯正常,telnet和web都连不上,现在怎么能恢复?
发表于 2010-12-19 16:17:14 | 显示全部楼层
ttl登录,重新修改
 楼主| 发表于 2010-12-20 09:47:44 | 显示全部楼层
晕 看来只有弄根ttl线继续了
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|宽带技术网 |网站地图 粤公网安备44152102000001号

GMT+8, 2025-5-17 11:17 , Processed in 0.020304 second(s), 3 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表