eclass Posted November 9, 2011 Posted November 9, 2011 Hey everyone, I have a quick question and I'm wondering how you guys handle it.. On laptops with windows 7 we are trying to assign the same static IP address to wireless and wired card, however once we assign the address the wireless is fine but once I go wired the IP address on the wired connection gets removed and vice versa! I don't want to assign 2 IP address to the cards if I don't have to. any thoughts?
plexer Posted November 9, 2011 Posted November 9, 2011 I can't see how this is possible to be honest each connection needs it's own ip address. Ben
eclass Posted November 9, 2011 Author Posted November 9, 2011 In windows XP it would alternate with no problem, windows 7 wont allow it for some reason, I only want to use one connection at time not both.
sparkeh Posted November 9, 2011 Posted November 9, 2011 I don't think that this really makes sense, which is why it won't let you. Each adapter needs a unique IP, what would happen if both were connected and you send a packet to an IP address, where would it go?
eclass Posted November 9, 2011 Author Posted November 9, 2011 Not going to use both at the same time, I want to be able to disable wireless when I don't need it and go wired and vice versa.
plexer Posted November 9, 2011 Posted November 9, 2011 Just let windows sort it's own ip address out why do you want to complicate things? Ben
sparkeh Posted November 9, 2011 Posted November 9, 2011 Just tested this in XP and although it will let you, it does give you a big warning about why you shouldn't. Can you explain why you want both to have the same static IPs?
Jamoire Posted November 9, 2011 Posted November 9, 2011 (edited) No idea if it would work but you could try and set the Wired IP to a static address through the settings in Windows and then give the Wireless a static IP through DHCP on the server? Or vice versa. Edited November 9, 2011 by Jamoire
Butuz Posted November 9, 2011 Posted November 9, 2011 It confuses the crap out of XP DNS and generally just won't work properly. Also what happens if you end up with wired and wireless connected at the same time? Error. Butuz
mac_shinobi Posted November 9, 2011 Posted November 9, 2011 (edited) you would need a utility to run in the background to check if they are both connected, if ethernet is connected then disable wireless and use ethernet and if wireless is correctly connected with no ethernet then use wireless and disable ethernet that way only one would be connected. If they both have connection then disable wireless as the ethernet would be the better connection to use The vodafone software ( 3g ) does something like that but no doubt you would have to make your own one in vb.net or vb6 or c# etc ?? Edited November 9, 2011 by mac_shinobi
dhicks Posted November 9, 2011 Posted November 9, 2011 I don't want to assign 2 IP address to the cards if I don't have to. This sounds like a workaround to a problem that should probably be fixed some other way. If the issue is that you're running out of assignable IP addresses then you should probably sort out your DHCP server's scope. If the issue is that you need a known, fixed IP address for a particular machine so you can get some networking tool to contact it reliably then you probably need to sort out your DNS server so that using the machine's name works reliably - if you're using Windows DHCP and DNS servers then they should interact, so every time DHCP aasigns an address it updates the DNS entry for that computer's name.
Michael Posted November 14, 2011 Posted November 14, 2011 A simple solution would be to disable the LAN connection so users only use their WLAN connection.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now