alloy 发表于 2023-1-13 17:22

PADAVAN下DHCP自动获得网关安卓设备无法访问互联网

一开始好像没这个毛病,不知道什么时候开始,安卓设备就上不了网了。


现在网络拓扑是这样:
1. 主路由是红米RM2100,刷了PADAVAN;
2. 一个AP是运营商送的华为WIFI6路由器,只做AP用;
3. 还有一个N1刷了OPENWRT做旁路,要走科学。

在主路由PADAVAN里,自定义了DNSMASQ.conf来给需要科学的设备推送网关与DNS,这样需要科学的设备就可以自动分配到相应的IP,“智能”走线路,而网内其他设备不受影响。

除此以外PADAVAN未做任何设置,只是关掉了WIFI2.4G。

本来一切用的好好的,不知道什么时候开始,只要是安卓设备就默认上不了网,必须加到科学设备里分配到192.168.2.215(N1旁路的IP)才能正常上网,用默认的网关192.168.2.1就不能上网,其他设备就没有这个问题,只有安卓设备会这样,而且每一个安卓设备都这样!!!!

就想请问一下这个问题是不是padavan与安卓兼容的bug,我试过去掉AP直连PADAVAN的WIFI也是这个德性。。。


# Custom user conf file for dnsmasq
# Please add needed params only!

### Web Proxy Automatic Discovery (WPAD)
#dhcp-option=252,"\n"
dhcp-option=tag:clash,option:router,192.168.2.215
dhcp-option=tag:clash,option:dns-server,192.168.2.215

#Mom Mi9
dhcp-host = A8:9C:ED:AC:B8:AA,set:clash
#MI9trans
dhcp-host = 60:AB:67:E2:82:AA,set:clash


### Set the limit on DHCP leases, the default is 150
#dhcp-lease-max=150

### Add local-only domains, queries are answered from hosts or DHCP only
#local=/router/localdomain/

### Examples:

### Enable built-in TFTP server
#enable-tftp

### Set the root directory for files available via TFTP.
#tftp-root=/opt/srv/tftp

### Make the TFTP server more secure
#tftp-secure

### Set the boot filename for netboot/PXE
#dhcp-boot=pxelinux.0

# 过滤 IPv6(AAAA)查询请求
#filter-aaaa


页: [1]
查看完整版本: PADAVAN下DHCP自动获得网关安卓设备无法访问互联网