Comments (7)
elitewarrior101:
Forgot the most important part: this is a regression. This was working during OpenWRT 15.05 and the bug was introduced sometime before Lede forked off.
from openwrt.
Ansuel:
if find that, if you have ipv6 connection the router itsleft can't resolve anything but all the traffic outside function like usual
I think in this case the router try to use the ipv6 address but if the address is not present in ipv6 dns it fail
from openwrt.
alive4ever:
Since you set a static ip address, you should also set forwarding dns server manually.
# uci add_list dhcp.@dnsmasq[0].server=192.168.1.1 ##for isp 1
uci add_list dhcp.@dnsmasq[0].server=192.168.1.2 ##for isp 2
reload_config
If the dns has been confirmed to be working, commit the change.
# uci commit dhcp
I hope this solves your problem.
If you have more than one ISP, you should also read more about load balancing / multiwan.
from openwrt.
jow-:
When you did set your IP statically did you also set the DNS server statically? (option dns ...)
from openwrt.
elitewarrior101:
Jo-Phillip Wich: Yes I did,
[[http://pastebin.com/9Z0KszkK|here]] is the network config that I am using.
alive4ever: Ok, I will try that when I get home from work tonight. Side question though, I have never had to do this before, is this a new change or just the recommended way of doing things?
from openwrt.
alive4ever:
My suggestion above is not a new way to do things. It's just a way to specify dns-forwarding, since dnsmasq by default handles the dns requests and dnsmasq by itself is not a recursive dns resolver. It needs to know where to forward dns request.
In your network configuration, it seems that you don't specify a 'wan' interface. Are you just using the device for access point or as router? If you use the device as router, you should specify a wan interface.
#part of /etc/config/network
config interface 'wan'
option ifname 'eth1'
option proto 'dhcp'
config interface 'wan6'
option ifname 'eth1'
option proto 'dhcpv6'
If you just use the device as access point (if you intentionally remove 'wan' section from your network config), you need to disable dhcp server on the device and let the 'ISP' handle dhcp. For this to work, the traffic on 'lan' interface must be passed freely to 'eth0:1' interface.
#Remove this section from /etc/config/dhcp
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv6 'server'
option ra 'server'
or simply use this 'uci' command
# uci del dhcp.lan
uci commit dhcp
Reload the configuration afterwards.
# reload_config
from openwrt.
elitewarrior101:
alive4ever: Yes I intentionally removed the WAN part from my config because I am using it as a bridge. I then added the WAN (port 1) to VLAN1 so I could use the WAN port as an additional LAN port.
Note I have made sure to factory reset and check before any of my changes to make sure it was on an issue caused by my own doing.
Edit: To restate, I don't think this is a config issue. These exact settings worked on Openwrt 15.05
from openwrt.
Related Issues (20)
- base-files: LEDs in devices with external LED controllers still do not work in 23.05. should we backport? HOT 3
- wifi is not associated openwrt HOT 3
- wget throws a "SSL error: SSL - Bad input parameters to function" HOT 9
- Kernel panic - not syncing: PSGMII work is unstable !!! Repeated recalibration attempts did not help(0x3) ! HOT 4
- After booting a Raspberry Pi from an external SSD, hotplugging a USB adapter generates EXT4-fs errors HOT 3
- ipq40xx: whw03v2: nearly half of user-available space is being wasted
- ipq40xx: Fritz Repeater 1200 low vlan routing performance on main snapshot HOT 16
- Netgear WAX 206 - WAN unavailable - Kernel 6.6.30 HOT 2
- [23.05.3|snapshot] Network chaos when multiple Wifi adapters or SSIDs are used?! HOT 1
- Kernel crash on __udp_gso_segment HOT 4
- Rockchip: Nanopi R4S, LAN port dead after switching to Kernel 6.6 HOT 6
- Successfully installed the luci ipk file manually, but the service does not show up on the web page. luci-passwall. luci-openclass. HOT 2
- StrongSwan: added line in /etc/resolv.conf breaks nslookup HOT 1
- [mvebu] wrt3200acm fails to compile with 6.6 kernel HOT 13
- ERROR: BL2: Failed to load image id 3 (-2) HOT 6
- Banana-pi BPI-R3 - unsupported SFP module with kernel 6.6.30 while ok with kernel 6.1.80 or below HOT 4
- compex wpq864 Unable to mount root fs HOT 2
- compex wpq864 random ether mac addr HOT 2
- compex wpq864 ubootenv config is missing HOT 2
- Can't connect to WAN after sysupgrade on Spectrum SAX1V1K (Askey RT5010W) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwrt.