I needed to set the router to a static WAN IP, so I had to manually add the gateway to /etc/config/network, as described in this post:
http://gargoyle-router.com/phpbb/viewto ... tatic#p150
However, I'm confused about the proper place for the DNS settings. Gargoyle puts the DNS server entries in the LAN interface in /etc/config/network, while OpenWRT puts them in the WAN, as shown here:
Code: Select all
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 'proto' 'static'
option 'ipaddr' '192.168.1.1'
option 'netmask' '255.255.255.0'
option 'ifname' 'eth0.0'
config 'interface' 'wan'
option 'ifname' 'eth0.1'
option 'proto' 'static'
option 'ipaddr' 'X.X.X.X'
option 'netmask' '255.255.255.0'
option gateway 'X.X.X.X'
option dns 'X.X.X.X X.X.X.X'
Can anyone verify proper DNS configuration when your Gargoyle router is set to use a static WAN IP?