Default gateway config question

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

Moderator: Qbik Staff

Default gateway config question

Postby far2gud » Aug 14 05 10:39 am

Hi

I am trying to achieve wireless access to the internet through my home pc and wired broadband modem.I think i need to tell my wireless card that my onboard nic is the gateway for the internet.My isp uses dynamic ip and my router allways provides me an internal address.Is the below config possible with Wingate and if so can you point me in the right direction as to the configuration of this.
wireless pci card>>onboard nic>>internet

Thanks
far2gud
 
Posts: 5
Joined: Aug 14 05 10:27 am

Postby MattP » Aug 15 05 5:19 pm

So just to clarify, you want to run a wireless connection off the WinGate server so your LAN clients connect wirelessly to WinGate and out to the internet? Like this?

LAN client----wireless connection-----wireless access point----wingate----onboard NIC-----internet

Is that right? This will work fine.

You don't need to specify a default gateway in the wireless NIC in the WinGate server, leave the DNS and default gateway blank. Set the default gateway and DNS in the onboard NIC to point at the router (or if it's DHCP enabled as you said, the router should do it for you).

Now you just need to make sure that the adapters are configured correctly in WinGate, check the network tab in GateKeeper and make sure the wireless adapter is internal and the onboard NIC is external. If you need to change one (the onboard is probably set to internal by default) just double click it to open a properties dialogue.
MattP
Qbik Staff
 
Posts: 991
Joined: Sep 08 03 4:30 pm

Postby far2gud » Aug 15 05 10:38 pm

Hi Matt,

Thanks for the reply.Just to clarify the details I have listed my hardware below.

one pc running 2000 pro
one onboard network card
one pci wireless card with antenae(SET TO AD-HOC MODE)
broadband router running dhcp(assigns my pc ip address)
laptop with mini-pci wireless card


My onboard nic is availaing of dhcp from my router and is allways assigned the an ip of 192.168.1.33

I think I need to create a wireless bridge?? not sure if this is possible with my hardware.I just need the wireless pci card to have access to the internet from hte internal nic.**append**not sure if i am explaing this right but basically I need my onboard nic to forward my internet connection to my wirless pci card
far2gud
 
Posts: 5
Joined: Aug 14 05 10:27 am

Postby genie » Aug 16 05 1:54 pm

No, no bridging - Wingate driver does not support OS bridging and setting it up causes BSOD.
genie
Qbik Staff
 
Posts: 1788
Joined: Sep 30 03 10:29 am

Postby jamesc » Aug 16 05 9:24 pm

Just adding to the teams comments:

Matt has asked to check that the WinGate server detected your network cards correctly as Internal / External. The network card (Onboard) pointing towards the internet should be marked as External, and the network card (Wireless) pointing to the Laptop should be marked as Internal, as shown in image below.

Image

Below, are two different connection methods to get the laptop connecting to the internet.

1. Proxies.
On the laptop, open up Internet Explorer
Tools Menu
Internet Options
Connections tab
LAN Settings
Use Proxy Server
Address = the IP address of the WinGate servers Wireless card.
Port = 80

Image

2. NAT (Optional but convenient)

Check you have NAT installed, as shown in image below. If NAT is not installed, reinstall WinGate with the ENS option.

Image


Here is some context to work within. Obviously I do not know your IP addresses, but I hope you will see the pattern. The broadband modem, and WinGate Servers "Onboard" network card should not need to be changed. But to utilise NAT, the internal side of the LAN should be on a different subnet. Notice the 1s and 0s in bold below

Wired Broadband modem
Internal IP Address 192.168.1.1 (example)
Subnet Mask 255.255.255.0


WinGate Server:

Onboard Network Card **External**(Uses DHCP assigned by Broadband modem)
IP Address 192.168.1.33
Subnet Mask 255.255.255.0
GateWay 192.168.1.1(example)
DNS 192.168.1.1 (example)

Wireless Network Card **Internal**
IP Address 192.168.0.1 (example)
Subnet Mask 255.255.255.0


Laptop (Client)
IP Address 192.168.0.2 (example)
Subnet 255.255.255.0
Gateway 192.168.0.1 (example)
DNS 192.168.0.1 (example)
jamesc
Qbik Staff
 
Posts: 928
Joined: Apr 04 05 2:04 pm
Location: Auckland, New Zealand

Postby far2gud » Aug 16 05 10:37 pm

Thanks James,

I will try both methods when I get home from work and update the thread then.Hope this works as if it doesnt I will be forced to buy a wireless router.

Tony
far2gud
 
Posts: 5
Joined: Aug 14 05 10:27 am

Postby far2gud » Aug 17 05 8:15 am

Hi Again,

Nothing works and I think am going to concede defeat.



This is what i,ve done
Router 192.168.1.1 (dhcp server and gateway I presume)
Internal Nic 192.168.1.33 (assigned by router)
dns server 192.168.1.33 (assigned by router)
Dont know what my external ip is.
Couple of external wins addresses from my isp

1. Enabled ICS on internal network card for good measure
2. Made sure onboard nic set to external and wireless card set to internal
3.Enabled proxy on laptop with wireless cards ip (192.168.1.2) to port 8080
4.Nat allready enabled but changed wirless subnet to 192.168.0.1 fpr the laugh but still no dice through proxy or regular connection with nat.

What really pisses me off though is that my card keep trying to connect to my neighbours router.ahhhh meltdown
far2gud
 
Posts: 5
Joined: Aug 14 05 10:27 am

Postby MattP » Aug 17 05 10:46 am

Something seems a little weird here, can I just go over your network setup again?

Your router has an internal IP address of 192.168.1.1?

What IP address does the WinGate server have? Is that the 192.168.1.33 address?

So you should think of this as your external subnet, now your internal subnet (your LAN) needs to be on a different IP subnet, say 192.168.0.*. This would include the wireless NIC in WinGate and the wireless clients.

The wireless clients should point at 192.168.0.1 (the LAN adapter of the WinGate server) for their DNS server and default gateway.

Please make sure that ICS is disabled, it interferes with WinGate.
MattP
Qbik Staff
 
Posts: 991
Joined: Sep 08 03 4:30 pm

Postby far2gud » Aug 17 05 9:50 pm

I will reintall wingate one more time later on and see how it goes.all the settings you have mentioned are in affect.I will disable ics later to test as well.

Cheers
far2gud
 
Posts: 5
Joined: Aug 14 05 10:27 am

Postby jamesc » Aug 17 05 10:04 pm

Before you try again.

1. Can you make sure you have normal connectivity between the laptop and WinGate computer via the wireless network? e.g can you browse or ping between them?
2. Check that you can access the internet when sitting on the WinGate computer.
jamesc
Qbik Staff
 
Posts: 928
Joined: Apr 04 05 2:04 pm
Location: Auckland, New Zealand


Return to WinGate

Who is online

Users browsing this forum: No registered users and 7 guests