Code Monkey home page Code Monkey logo

Comments (7)

openwrt-bot avatar openwrt-bot commented on May 28, 2024

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.

openwrt-bot avatar openwrt-bot commented on May 28, 2024

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.

openwrt-bot avatar openwrt-bot commented on May 28, 2024

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.

openwrt-bot avatar openwrt-bot commented on May 28, 2024

jow-:

When you did set your IP statically did you also set the DNS server statically? (option dns ...)

from openwrt.

openwrt-bot avatar openwrt-bot commented on May 28, 2024

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.

openwrt-bot avatar openwrt-bot commented on May 28, 2024

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.

openwrt-bot avatar openwrt-bot commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.