intranet and internet login problem

I installed opensuse 11.3.The network device(ethernet) used dhcp and connected with dsl modem well.But the web-based apps with LAMP which connected to
localhost(intranet)(192.168.0.1) point to the php file,says unable to connect.
If i changed dhcp to static config(192.168.0.1),the LAMP works,but internet fails
to connect.
Please help me for both things work!!Thank you.

Hi chiasc,

When using static, also include your routers IP under the Routing tab of your nework settings as the Default Gateway for IPv4.

Hope it helps.

henk

thank you henk :
my aztech router dsl modem information as follow :
IP :60.53.77.185
def gateway : 219.93.218.177
1 dns :202.188.0.133
2 dns :202.188.1.5
my static IP :192.168.0.1
i put up those figures,but still sucks.
probably i need more detail information.
thank you.