Networking Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationNetworking Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 22nd, 2003, 12:44 PM
norvell norvell is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 3 norvell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question dual boot = dual MAC address?!

I gave my network administator the MAC address reported under Linux for my network card. He assigned a static IP and everything is great. However, when I rebooted in Win98 and tried to configure the network there, it reports a different MAC address for the same card and, obviously, won't connect to that IP. I tried spoofing the MAC address through the card properties dialog, and now winipcfg shows the address I entered, i.e., the same address that Linux reports, but the card is still not recognized. What could be going on here?

John

Reply With Quote
  #2  
Old September 24th, 2003, 02:14 PM
wanderer2 wanderer2 is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Sep 2003
Location: Oregon
Posts: 2,157 wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 17 h 5 m 28 sec
Reputation Power: 932
while in windows do a nbtstat -A youripaddress and write down the mac address. How does this compare to the Linux boot?

I would suspect the Linux driver is virualizing the mac address.

You can do the same if the nic driver supports it under 98. If you go to the nic properties and look for advanced properties and the network address. You can manually put in a mac address.

So your options would be to change the linux boot to match the mac address in 98 or visa versa.

Reply With Quote
  #3  
Old September 24th, 2003, 03:15 PM
norvell norvell is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 3 norvell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the reply.

nbtstat won't work because Windows deactivates the card when it fails to connect it with the configured IP address on startup. I've already tried changing the MAC address manually, such that winipcfg now tells ME that the card has the address I set (i.e., the one that is reported under Linux), but the DHCP server is obviously still reading the hard-wired MAC address.

Also, I can't imagine why Linux would be virtualizing the MAC address, since I never configured it to do so. Since spoofing it has no effect under Windows, I'm not sure that it would work under Linux either. Also, it would involve more experimentation and changes to the DHCP database than the adminstrator will probably have patience for or interest in.

Reply With Quote
  #4  
Old September 25th, 2003, 06:14 PM
wanderer2 wanderer2 is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Sep 2003
Location: Oregon
Posts: 2,157 wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 17 h 5 m 28 sec
Reputation Power: 932
I have no idea why Linux would have a different mac address then the default as found in Windows.

I am just saying that that I would believe the mac address as found in windows.

Spoofing, to my knowledge, is done with ip not mac. You are not "spoofing" a mac address but assigning a mac address to override the hardware default.

DHCP would just see this as another node request [if different mac address then before] and would go ahead and assign another ip address. This "deactivation' indicated to me you are not reaching the dhcp server.

Simple test - get a ip address in your subnet range you can manually assign in Windows.
Do not use the manual entered mac address.
Get up and running and then do the nbtstat to get the cards default mac address.

Unless what you mean by hardwired dhcp is that your admin has setup RESERVED ip addresses in dhcp. This means the first registered mac address is now reserved to that ip address. This is not a default of dhcp but must be manually configured. If this is the case set the Windows card back from the manual assigned address and you're now up and working.

But this would mean that dhcp has NO unreserved ip addresses if with a different mac address you don't get an assignment. That would be foolishness on your network admins part [but I have seen these security zealots go haywire in their quest for security]

If you can get Windows working with dhcp then use that mac address in Linux.

Or come up with an explaination why you think Linux has a different mac address then windows. If windows connects or had connected then that mac address must be right.

Reply With Quote
  #5  
Old September 26th, 2003, 11:44 AM
norvell norvell is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 3 norvell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Sorry, I don't mean DHCP. I've been assigned a static IP. Whatever authenticates that is not authenticating it. The exact Windows warning reads "The system has detected a conflict for IP address xxx.xxx.xxx.xxx with the system having hardware address XX:XX:XX:XX:XX:XX. The interface has been disabled.." I do know that folks who use DHCP rather than a static IP on this network must register their cards' MAC addresses else they don't get configured with an IP.

Reply With Quote
  #6  
Old September 30th, 2003, 05:51 PM
wanderer2 wanderer2 is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Sep 2003
Location: Oregon
Posts: 2,157 wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level)wanderer2 User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 17 h 5 m 28 sec
Reputation Power: 932
It is true that when a user gets a dhcp address the mac address is associated with that ip address.

But what you describe is not an assigned static ip address but a reserved ip address in dhcp.

The difference here is a static ip address DOES NOT REQUIRE A MAC ADDRESS.

But a RESERVED dhcp address DOES REQUIRE A MAC ADDRESS. That's how dhcp knows to assign that ip address to that mac address.

You need to give your administrator your windows mac address. Easy solution to this issue would be to get TWO reserved ip addresses. One for you linux and one for your windows boot.

Still doesn't answer the question of two mac addresses depending on OS boot. You should be able to download a nic utility for the manufacturers web site that can properly id, without the OS, the true mac address. Worse case pull the card. The mac address should be printed on the card. Than you can work on figuring out which OS is reporting the mac address correctly and work on figuring out why the other isn't.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationNetworking Help > dual boot = dual MAC address?!

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap