Hello,

This is the setup I have (Linksys WRT54GL with Kamikaze 7.09):

              STATIC IP      192.168.0.10                                 WAN 192.168.0.77             LAN 192.168.25.10
                       -----------------                  -------------                          ------------------------
INTERNET ------| Firewall box |--------------| SWITCH |---------------------| Linksys WRT54GL |
                       -----------------                  -------------                          ------------------------
                                                                | |  |      |                                            |
       ----------------------------------------------  |  |      |                                            |
       |                     ------------------------------   |      |                                            |
       |                     |                                       |      |                                            |
   ----------        -----------           --------------------   -----------------------           -----------------------
   | DNS 1 |       | DNS 2 |           | ASTERISK PBX |  | PCs, IP PHONES.. |          | PCs, IP PHONES.. |
   ----------        -----------           --------------------   -----------------------           -----------------------
192.168.0.2   192.168.0.5              192.168.0.40           192.168.0.x/24               192.168.25.x/24

The PCs connected to the LAN port of  the WRT54GL can't see (ping) the systems on the subnet connected to the WAN port, nor reach the Internet  and the systems on the WAN side of the WRT54GL can't reach the ones on the LAN side. Wifi doesn't work either (SSID is visible but cannot get an IP address).

This is the content of my config files :

NETWORK
------------

#### VLAN configuration
config switch eth0
    option vlan0    "0 1 2 3 5*"
    option vlan1    "4 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.25.10"
    option netmask    "255.255.255.0"
 
#### WAN configuration
config interface wan
    option ifname    "eth0.1"
    option proto    "static"
    option ipaddr    "192.168.0.77"
    option netmask    "255.255.255.0"
    option gateway    "192.168.0.10"
    option dns    "192.168.0.2 192.168.0.5 212.68.193.110 212.68.193.32" 


WIRELESS
------------
config wifi-device  wl0
    option type     broadcom
    option channel    11 

    # REMOVE THIS LINE TO ENABLE WIFI:
    # option disabled 1

config wifi-iface
    option device   wl0
    option network    lan
    option mode     ap
    option ssid     FINBRUS
    option encryption psk
    option key Ao4ptbFINBRUS!


DNSMASQ.CONF
-------------------
# filter what we send upstream
domain-needed
bogus-priv
filterwin2k
localise-queries

# allow /etc/hosts and dhcp lookups via *.lan
local=/lan/
domain=lan
expand-hosts
no-negcache
resolv-file=/tmp/resolv.conf.auto

dhcp-range=192.168.25.100,192.168.25.150,255.255.255.0
dhcp-authoritative
dhcp-leasefile=/tmp/dhcp.leases

# use /etc/ethers for static hosts; same format as --dhcp-host
# <hwaddr> <ipaddr>
read-ethers

# other useful options:
# default route(s): dhcp-option=3,192.168.1.1,192.168.1.2
#    dns server(s): dhcp-option=6,192.168.1.1,192.168.1.2
dhcp-option=6,192.168.0.2,192.168.0.5,212.68.193.110,212.68.193.32
dhcp-option=66,192.168.0.40
dhcp-option=150,192.168.0.40


Is there something I missed? I've been searching for two days without any success, so any help would be mostly appreciated.