Link to home
Start Free TrialLog in
Avatar of davy999
davy999Flag for Denmark

asked on

Router setup

Hi all

Problem setting up the router

I have a windows 2003 server which acts as DHCP server my tcp/ip is as follows
192.168.1.5    ip
255.255.255.0  subnet
192.168.1.5   Gateway

192.168.1.5      DNS

My vpn

Lan

192.168.1.4     ip
255.255.255.0 subnet
192.168.1.5   Gateway

192.168.1.5      DNS    

Wan

10.10.10.2  ip
255.0.0.0    Subnet
10.10.10.1  Gateway

192.168.1.5  DNS

Asuming this is ok

The default gateway I think should be setup on the router but not sure where it’s a small netgear router  and I don’t know if there is any other settings I should apply
Just say if you need more info
Thanks davy


Avatar of masnrock
masnrock
Flag of United States of America image

The problem is you have the default gateway all wrong. It should be the IP address of the router, not the DHCP server.

Routers pass network traffic along from router to router across the internet... you have things set up to pass traffic to your DHCP server, which will then try to pass traffic on to itself.

Assuming that all of your machines you've mentioned are behind a netgeat router that has the WAN info you provided as its "public" IP address amd 192.168.1.1 as its private IP, you need to fix the configuration of each machine.

Windows 2003 server should be this:
192.168.1.5    ip
255.255.255.0  subnet
192.168.1.1   Gateway

Lan

192.168.1.4     ip
255.255.255.0 subnet
192.168.1.1   Gateway

I have to ask why you're doing NAT on the Netgear, since that seems to be the case... from what I see, you're doing private IP addressing anyway. Unless you don't want anything outside of that particular router to be able to see anything.

Just let us know what exactly you're trying to do and clarify what the configuration is.
Avatar of davy999

ASKER

ok

I have a vpn 2003 server with 2 nic's( wan) lets say 10.10.10.2 and (lan)  192.168.0.2
the wan nic is  connected to the router and the lan nic is connected to the switch
which is connected to the lan win 2003 server ad, dns, dhcp,

so my wan should be 10.10.10.2 ip
255.0.0.0 subnet
192.168.1.1 gateway
The heck? VPN server has two NICs, that's cool.

WAN information you initially had is right, assuming that's what the network mask and IP for the router is (even though it doesn't quite sound right to me).

It looks like the VPN is supposed to do NAT, and the DHCP server is sitting on the LAN. So if anything, the LAN card in the VPN server should NOT have a gateway address set. However, the DHCP server should be using the VPN server's LAN IP as the gateway. The DNS address probably shouldn't be the DHCP server unless you have DNS running on it... otherwise, it would probably be the same as the gateway as well.

Hopefully, you've made sure to bridge the connections or do something like ICS (can't remember the exact name off the top for Server 2003).

What's the role of the Netgear router anyway?
Avatar of davy999

ASKER

Thank you for your time.

just so i understand a it a little better

1 router

2 subnets

192.168.1.2
192.168.0.2

my router is by default is configured to 192.168.1.1 and gateway 192.168.1.1

Question how do i get the 192.168.0.2 through my router

is it like this 192.168.0.2 ip
                  192.168.1.1 gateway



ASKER CERTIFIED SOLUTION
Avatar of masnrock
masnrock
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of davy999

ASKER

ok that explains it thanks