Question About DHCP & Gateway

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Question About DHCP & Gateway

Postby sawi » Jul 20 12 8:32 pm

Hi Qbik Team :)

Example :
wingate server NIC =
-NIC 01 ip : 192.168.0.1 -> connect to SWITCH 01 (main switch) (internal)
-NIC 02 ip : 192.168.0.250 -> connect to DSL modem (external)
-NIC 03 ip : 192.168.1.1 -> connect to SWITCH 02 ; for public client & wireless client
*for now wingate server will detect & binding succesfully all those NIC automatically, include DHCP range for 192.168.0.x and 192.168.1.x
*currently we have Access Point (AP) that point to wingate as gateway, DHCP on AP = off
*we also have client with static ip address in 192.168.1.x range, gateway setting to 192.168.1.1 (wingate gateway on NIC 03 - )

if we decide to add other Access Point with ip 10.0.0.x or 192.168.2.x
Q1 : can wingate DHCP give ip address to wireless client?
Q2 : if DHCP = OK, this client will connect to internet through wingate on which gateway (ip 192.168.0.1 or 192.168.1.1)?
Q2 : wingate will automatically detect & binding client gateway or we need manually configure?

wingate.jpg
wingate.jpg (42.68 KiB) Viewed 2140 times


thanks :-)
sawi
Senior Member
 
Posts: 129
Joined: Mar 26 09 4:49 pm

Re: Question About DHCP & Gateway

Postby adrien » Jul 21 12 9:39 am

Hi

> Q1 : can wingate DHCP give ip address to wireless client?

It depends on the setup of the Access Points. Normally these would be just bridging wireless to ethernet, but since you assigned different IP addresses, I'm not sure what will happen. For the clients to be assigned in a different subnet, these APs would need to act as DHCP relay agents (rather than just bridging). In fact I think having the different IPs of these APs on the 192.168.1.x subnet will just mean you can't access them.

> Q2 : if DHCP = OK, this client will connect to internet through wingate on which gateway (ip 192.168.0.1 or 192.168.1.1)?

The AP would need to act as router as well if you want these to be different subnets. If bridging, the gateway would be 1.1

> Q2 : wingate will automatically detect & binding client gateway or we need manually configure?

You'd need to configure the gateway manually I think.

But all this is assuming the APs can do DHCP relaying and routing, and that's actually not a normal function of most APs I've seen.

Also, you have 2 NICs in the same subnet Nic01 and Nic02 (both in 192.168.0.x), you should re-number one of them.
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland


Return to WinGate

Who is online

Users browsing this forum: Bing [Bot] and 2 guests