Hi,
there is a thread (http://forum.openwrt.org/viewtopic.php?id=11451) which mentions to put x.x.x.254 entries for gateway and dns into /etc/config/network and another one (http://forum.openwrt.org/viewtopic.php?id=11909) where this is said to be unneccessary.
I can only state that my setup (which is standard, I think) doesn't work without them. It is an asus wl-500gp with pppoe to a dsl modem on the wan side. I do use
#### VLAN configuration
config switch eth0
option vlan0 "1 2 3 4 5*"
option vlan1 "0 5"
#### Loopback configuration
config interface loopback
option ifname "lo"
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#### LAN configuration
config interface lan
option type bridge
option ifname "eth0.0"
option proto static
option ipaddr '192.168.23.69'
option netmask 255.255.255.0
option gateway '192.168.23.254'
option dns '192.168.23.254'
#### WAN configuration
config interface wan
option ifname "eth0.1"
option proto 'pppoe'
option username 'username'
option password 'password'
Without those two entries I can only access the internet from the router, but not from a machine in the lan. I am quite surprised that those lines are needed for basic functionality but are not included in the default config and are not mentioned in any documentation except the post mentioned above.
So what do those entries do? What is the reason that I need to add them for a standard router config? Or maybe there is something else wrong with my setup?
Best regards,
Jens