Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Network Route gateway help

Status
Not open for further replies.

thedaver

IS-IT--Management
Jul 12, 2001
2,741
US
This is a bizarre question, but....

Wireless laptop (Win2K) uses 192.168/16 via DHCP from WAP. WAP is 192.168.1.1 and is default gw for laptop. WAP talks through it's public port to its default gw 10.0.0.1 to reach the Internet.

Let's assume that I set up a linux box on 10.0.0.5 with dialup to a specific host for a specific purpose. If I enable wvdial to do the dialout, it sets it default gw to whatever the ISP provides (intermediary) but allows NIC-based ethernet to the 10./8 network.

How can I force the Win2k laptop to default GW to 10.0.0.5 if I require 192.168.1.1 as the default first hop.

I'm thinking I cannot do this, but I'd love to solve it.

DIAGRAM 1 (Normal Operations):

Laptop 192.168.1.x --> Default GW WAP 192.168.1.1 -> Regular Linux GW 10.0.0.1 --> Internet

DIAGRAM 2 (Routed out via dialup):
Laptop 192.168.1.x --> WAP 192.168.1.1 --> Default GW Dialup Linux GW 10.0.0.5 --> Internet --> Specific host (requires dialup from specific access point)

Again, I think the WAP as default gateway routing between two different Class A's creates a problem, I may have to wire attach the laptop to the 10.0.0/24 network...
Help Appreciated.


Internet Directory
 
Wireless laptop (Win2K) uses 192.168/16 via DHCP from WAP. WAP is 192.168.1.1 and is default gw for laptop. WAP talks through it's public port to its default gw 10.0.0.1 to reach the Internet.
OK, so this isn't just a normal WAP, it is providing routing and segregation from your hard wired network.

... a linux box ... sets it default gw to whatever the ISP provides (intermediary) but allows NIC-based ethernet to the 10./8 network.

A dial-out connection is still a network connection so you essentially have two network cards, each using their own gateway's and IP scheme. This is the same for Windows, so I'm not sure where you are going with this.

How can I force the Win2k laptop to default GW to 10.0.0.5 if I require 192.168.1.1 as the default first hop.

You may need to rephrase your question for me. I thought you said your WAP router was suppose to be the gateway for the laptop. In its config you set its gateway to the LAN address (10.0.0.1 or 10.0.0.5??). The laptop doesn't get access to the hardwired network because you've segregated the networks. Usually this is done on purpose for security reasons. If that's not what you intended, you should turn of the routing in the access point and put everybody on the same network scheme.

Again, sorry if I missed the point of the question.
 
Yeah, I'll try to rephrase and explain.

WAP IS handling two network segments on purpose. I suppose I could move the WAP to use the same 10.0.0./24 addressing and enable it's DHCP range, but one of the issues is that I have DHCP running on the LAN for other clients, so I kept the Wifi clients on a seperate subnet - also aids in network traces.

Your question has pointed out to me that I'm rather stuck since the laptop ONLY knows of a default gateway on the WAP. The WAP is making the determination on which default GW to use, which makes things a pain since I don't want to change the WAP config/default gw for as infrequently as I'll need to use the dialup gw....

Stop me, I'm babbling... thanks for the help.

Internet Directory
 
I think I see where you are going with that now.
..
Yep, you're stuck. Unless you want all the clients on the WAP to change together, you're going to have to find another way to do your routing.

If you did want everybody to change together (LAN and WLAN), you could set the access point's hard wired side to DHCP and it should hopefully pick up changes with everybody else on the LAN.

Babbling is good for you. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top