O.K
Lets start from scratch...
Here's a complete HOWTO for network... in my own opinion
ONLY FOR GATEWAY MODE
You have TWO NIC cards. The setup should be like....
eth0 - DHCP
eth1 - STATIC
UPON installation you would have told the server what kind of INTERNET you have and what IP address you want to assign the other NIC card..
**** IF YOU ARE USING A WIRELESS ROUTER AS A SWITCH ******
DON'T plug an ethernet cable into WAN port.. instead use the LAN ports..
log into your router and go to the LAN Configuration... Set the router's IP to 192.168.1.2
Turn OFF the DHCP ability...
UPDATE/SAVE/REBOOT your router...
The router is now set for 192.168.1.2 - you can verify this by trying to log in at the IP Address in your browser..."
192.168.1.2"
*********************************************************************************
Plug ETH1 into one of the LAN ports of the router....
Your wireless PC should now be configured for the sub-network you've created. * 192.168.1.1/255.255.255.0 *
Just in case for some who are learning.......
WIN XP HOME/PRO
Go to
START => CONTROL PANEL => NETWORK CONNECTIONS
RIGHT click on your wireless connection and click on
PROPERTIES
Select "
INTERNET PROTOCOL (TCP/IP)" and click on "
PROPERTIES"
Select "
USE THE FOLLOWING IP ADDRESS"
Input the following...
IP ADDRESS: 192.168.1.50
SUBNET MASK: 255.255.255.0
DEFAULT GATEWAY: 192.168.1.1
PREFERRED DNS SERVER: 192.168.1.1 (This is for now)
Hit " OK " to save your configuration...
Do this ** START => RUN and type " CMD "
Command window will open.. type " ping 192.168.1.1 "
If a response is there then you've done it.
Log in to the webconfig.
Go to NETWORK -> IP SETTINGS
You should have the following
MODE: GATEWAY MODE
HOSTNAME: ns1.whatever.com
<- what ever you want your host name to be...
DNS Server #1 This is provided for you by ISP
DNS Server #2 This is provided for you by ISP
DNS Server #3 This is provided for you by ISP
INTERFACE ROLE TYPE IP ADDRESS LINK
eth0 external dhcp xxx.xxx.xxx.xxx yes
eth1 lan static 192.168.1.1 no
If this is good then ONE more thing to do in order for everything to work nicely.
In the webconfig
NETWORK => DHCP SERVER
Make it looks something like this...
AUTHORITATIVE: ENABLED
DOMAIN NAME: whatever.com
NETWORK STATUS IP RANGE LOW IP RANGE HIGH
eth0 XX.XXX.XXX.XXX DISABLED
eth1 192.168.1.0 ENABLED 192.168.100 192.168.1.254
If not then make sure it does by clicking EDIT to configure your NICs.
UPDATE AND START THE SERVER - YOU'RE NOW DONE.
Just a note... In this section I did find that my server had my LAN IP on BOTH eth0 and eth1..
it's kind of weird but an easy fix...
Hope this helps anyone out there....
And don't forget the reset your wireless connection on your PC to DHCP...