DHCP Woes

Forum Wireless Networking : Wireless General Discussions - DHCP Woes

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

I need to do port forwarding to my laptop, and thus I have set up a static IP address for it, based on the MAC address of the wired ethernet card.

However, when it is wireless, I get a different IP address, as the wireless card's IP is different.

Is there a way I can get this IP to be the same?

Sponsored Links
Register or log in to remove.

Create a reservation for the IP address in DHCP, hard code each network connection to the IP address. It shouldn't conflict because only one will work at a time.

Riser

Reply to Riser

I don't quite understand.

Here's what I tried doing:

I manually configured the wired connection on my laptop to 192.168.0.100, and had the router assign by DHCP the same IP. If I take the laptop from the docking station, the router doesn't seem to realize i have removed the computer. Then, when the router wants to assign that IP to the wireless adapter, it thinks it is already connected :S

Reply to Trauts

Shorten your DHCP length time then..
In DHCP you can create a reservation.. right click or go under reserverations and you should be able to figure out how to make one.

You'll probably be better off using an IP address not in your DHCP range. Like 192.168.0.99 and configure both use that IP as static.

Reply to Riser

One way to do this is to get a device (router) that supports Static DHCP. That allows the same IP address to be issued to some number of MAC addresses (which if you don't do it carefully will cause all sorts of problems). Some D-Links (like the DL-624) have this capability. Natively the current Linksys batch doesn't but some routers (like the WRT54G & GS)can be flashed with a very robust router product from Sveasoft (alchemy I think) that gets you Unix IPTables capability. That costs about $20.00 a year though.

Reply to palmerg

Spoof the MAC on the wireless card to match the wired MAC address and assign it the same static IP as the wired client. Now if both these network interfaces are active you'll get ugly pop ups about IP conflicts. You could always just disable the interface not in use.

Reply to kwebb

There are a lot of suggestions here, but the easiest would be to manually set both adapters to the same IP address, and have the gatway forward to that specific IP. Then, only connect one device at a time. Your router should be able to support static addressing for the wireless connection. Just make sure you get rid of any previous lease to the wireless adapter to make sure it works properly.

The other way would be to do the reverse. Set the lease length to infinite. Have the gateway assign an IP to your wireless adapter. Then forward the ports to your wireless adapter. Then statically set your wired adapter to that IP in the tcp/ip settings.

umheint0's phat setup --> <A HREF="http://home.cc.umanitoba.ca/~umheint0/system.html" target="_new">http://home.cc.umanitoba.ca/~umheint0/system.html</A><--<P ID="edit"><FONT SIZE=-1><EM>Edited by umheint0 on 06/23/05 12:48 PM.</EM></FONT></P>

Reply to umheint0
Tom's Hardware > Forum > Wireless Networking > Wireless General Discussions > DHCP Woes
Go to:

There are 406 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them