vote up 3 vote down star

I have a WRT54G router that is set up to serve out addresses via DHCP. It correctly serves up addresses to every other machine on the network, including another PC, my macbook when connected via wireless, my wife's notebook, and our printer. However, whenever I attach my macbook to the router via an ethernet cable, the address it is given via DHCP is wrong.

My local network is set up as 192.168.1.*.

However, when my macbook connects with an ethernet cable, it is given the IP 192.168.29.*.

Currently, I have the macbook set up with a manual IP address, and all seems to be working fine.

Any ideas on what could be causing this?

flag
What address range does your Airport connection on the macbook get? – Matthew Schinckel Jul 22 at 3:41

5 Answers

vote up 7 vote down check

Are you sure there isn't a second DHCP server on the network?

link|flag
1  
This is a good point - sometmes DHCP can be provided from unexpected directions. As a test, try powering off everything else except your router and your macbook, then force a DHCP renewal. – Bevan Jul 22 at 8:28
Good suggestion. I think there might be a way to see which DHCP server provided the address. – Matthew Schinckel Jul 24 at 0:14
Turns out that my linksys hiport was plugged in backwards and was trying to dole out IP addresses instead of my router. – Barry Jul 27 at 14:39
vote up 1 vote down

Is your router setup for two different subnets?

You can 1) Check the subnet mask or 2) Just plug another device into the same physical port where you plugged your MacBook and see if it's also 192.168.29.*

link|flag
vote up 1 vote down

Do you have a "static dhcp" reservation setup for the MAC (ethernet) address of your MacBook?

link|flag
vote up 1 vote down

On both of my ADSL Wireless routers (one US Robotics, one NetGear), there is a way to review which DHCP leases have been granted - a list of MAC addresses, the assigned IP address, and the life of the lease. My Netgear router calls this "Attached Devices".

When you review this with your LinkSys WRT54G, does your Macbook show up?

This will allow you to identify whether the router is supplying the odd IP address, or whether it's coming from elsewher.

link|flag
vote up 0 vote down

The answer to the question is simple: user error. My linksys hiport was connected incorrectly and was trying to dole out IP addresses instead of just acting as another device on the network.

link|flag

Your Answer

Get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.