新手求助,快疯了!!!!openwrt拨号正常,lan口没网,求大神指点
本帖最后由 KingOfZombiess 于 2021-2-28 11:49 编辑软路由安装Esxi 虚拟了Openwrt 拨号 直通了两个网口 一个Wan口一个lan口
网线插好后 lan口链接电脑或者路由器 都不能上网
wan口显示连接成功 用Openwrt自带的诊断工具 显示网络正常连接
但是lan口没网 或者重启有几秒钟有网然后就又没网了
求论坛大神帮忙看下 感激不尽!!!
root@OpenWrt:/# cat /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 'eth0' option proto 'static' option ipaddr '10.10.10.253' option netmask '255.255.255.0' option delegate '0'
config interface 'wan' option ifname 'eth1' option _orig_ifname 'eth1' option _orig_bridge 'false' option proto 'pppoe' option username 'aasdf151d5sf' option password '123456asdf' option ipv6 'auto' option keepalive '0'
config interface 'wan6' option proto 'dhcpv6' option ifname 'eth1' option delegate '0' option reqaddress 'none' option reqprefix 'no'
config interface 'virtual**0' option ifname 'tun0' option proto 'none'
root@OpenWrt:/#
root@OpenWrt:/# ifconfig -allifconfig: -all: error fetching interface information: Device not foundroot@OpenWrt:/# ifconfig br-lan Link encap:EthernetHWaddr 00:19:99:BA:D2:D5 inet addr:10.10.10.253Bcast:10.10.10.255Mask:255.255.255.0 inet6 addr: fe80::219:99ff:feba:d2d5/64 Scope:Link UP BROADCAST RUNNING MULTICASTMTU:1500Metric:1 RX packets:84593 errors:0 dropped:0 overruns:0 frame:0 TX packets:6251 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:16099950 (15.3 MiB)TX bytes:2662496 (2.5 MiB)
docker0 Link encap:EthernetHWaddr 02:42:79:D8:75:7A inet addr:172.17.0.1Bcast:172.17.255.255Mask:255.255.0.0 UP BROADCAST MULTICASTMTU:1500Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B)TX bytes:0 (0.0 B)
eth0 Link encap:EthernetHWaddr 00:19:99:BA:D2:D5 UP BROADCAST RUNNING MULTICASTMTU:1500Metric:1 RX packets:84597 errors:0 dropped:0 overruns:0 frame:0 TX packets:6411 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:17306840 (16.5 MiB)TX bytes:2668814 (2.5 MiB) Memory:fd5c0000-fd5dffff
eth1 Link encap:EthernetHWaddr 00:19:99:BA:D2:D4 inet6 addr: fe80::219:99ff:feba:d2d4/64 Scope:Link UP BROADCAST RUNNING MULTICASTMTU:1500Metric:1 RX packets:1198 errors:0 dropped:268 overruns:0 frame:0 TX packets:1210 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:140476 (137.1 KiB)TX bytes:120661 (117.8 KiB) Memory:fd520000-fd53ffff
lo Link encap:Local Loopback inet addr:127.0.0.1Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNINGMTU:65536Metric:1 RX packets:25467 errors:0 dropped:0 overruns:0 frame:0 TX packets:25467 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1598254 (1.5 MiB)TX bytes:1598254 (1.5 MiB)
pppoe-wan Link encap:Point-to-Point Protocol inet addr:1.80.227.82P-t-P:1.80.224.1Mask:255.255.255.255 inet6 addr: fe80::d4b8:7bc3:9cee:6fdb/10 Scope:Link UP POINTOPOINT RUNNING NOARP MULTICASTMTU:1492Metric:1 RX packets:848 errors:0 dropped:0 overruns:0 frame:0 TX packets:1097 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:98956 (96.6 KiB)TX bytes:88097 (86.0 KiB)
root@OpenWrt:/#
自己顶一下啊 双网口只能直通一个,总得留一个管理口不能直通
lyh946 发表于 2021-2-28 02:48
双网口只能直通一个,总得留一个管理口不能直通
谢谢,有一个没直通的管理口 在线等 谢谢各位大佬!!! 自己网上搜索 群里问别人终于弄好了
在负载均衡->策略里有个 balanced 策略修改为 默认(使用主路由表)就正常了 KingOfZombiess 发表于 2021-2-28 20:27
自己网上搜索 群里问别人终于弄好了
在负载均衡->策略里有个 balanced 策略修改为 默认(使用主路由表) ...
本来就是默认啊,有其他解决办法吗 KingOfZombiess 发表于 2021-2-28 20:27
自己网上搜索 群里问别人终于弄好了
在负载均衡->策略里有个 balanced 策略修改为 默认(使用主路由表) ...
兄弟,你真的救了我一命 KingOfZombiess 发表于 2021-2-28 20:27
自己网上搜索 群里问别人终于弄好了
在负载均衡->策略里有个 balanced 策略修改为 默认(使用主路由表) ...
兄弟太感谢了,救我老命 同样的问题,请问你解决了吗
页:
[1]