Dear SF@StackExchange,
I'm using an access point that provides LAN as well as WLAN capabilities using 4G to connect its hosts to the internet. DHCP is deactivated by design. Regardless of the OS connected, I can ping across WLAN -> LAN, LAN -> LAN
and whatnot. Windows PC's are not affected of this and connect to the internet just fine leading me to believe it is within the settings of my Linux box I need to look.
When I'm on my Linux box however, I cannot get WLAN internet access while the WLAN interface on the AP shares the same subnet (255.255.0.0
) as the LAN.
For instance, I cannot connect to the internet when both share the IP address space 169.254.x.x
but I can get connectivity through this setup:
WLAN: Default GW: 192.168.1.1, Subnet: 255.255.255.0
LAN: Default GW: 169.254.2.1, Subnet: 255.255.0.0
which is not what I'd like since that messes up the port forwarding that I will need.
I've tried setting up DNS for my linux machine as 8.8.8.8
. It can still ping the AP when sharing the same subnet at 169.254.2.1
.
Route -n log:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 169.254.2.1 0.0.0.0 UG 600 0 0 wlp3s0
169.254.0.0 0.0.0.0 255.255.0.0 U 600 0 0 wlp3s0
cat /etc/resolv.conf:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
(It does state this with a working AP too though)