ADSL ->Linksys WAG54G ---> SME Server ---> LAN (1 PC)
I'll use allways Class C addresses with netmask 255.255.255.0 and 192.168..x.254 as gateways and 192.168.x.1 as server for LAN, so let's start:
Configure your ADSL with an internet address (DHCP or not) and his LAN interface with 192.168.5.254
you MAY let your ADSL DHCP server turned off.
Configure your Linksys with WAN = 192.168.5.1 and LAN=192.168.7.254
Enable your DHCP on Linksys with 192.168.7.10 start address and a 50 computers range (192.168.7.60 as last or 50 computers).
Default gateway = 192.168.7.254 for any computer on this lan
Configure your SME server with WAN = 192.168.7.1 and LAN=192.168.9.1
Enable your DHCP on SME with 192.168.9.10 start address and 192.168.9.60 as last or 50 computers
Default gateway = 192.168.9.1 for any computer on this lan
I think this way everything should work. If not, please ask for help.
I prefer this way:
ADSL -> Linksys -> SME
+---> 1 PC
+----> WiFi
It's simpler!
Good luck,
Jáder