Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Local area connection ip conflict before connect dial up

 
02-03-2012   #1


Microsoft Windows 7 Ultimate 64-bit SP1
 
 

Local area connection ip conflict before connect dial up

Hi,

I am using a Dial up connection but when i have to connect dial up connection then i have to change my local area connection ip.
Is there any tip or method which is able to my local area connection ip through batch programming/Command prompt ?I need random ips every time before connect from dial up connection.
please find the below screenshot

someone told me it would be possible from batch programming.
I am waiting for your answers.
I am using Windows 7 64 bit
4GB RAM
4MB DSL connection


Last edited by quicqsolution; 02-03-2012 at 04:29 AM..
My System SpecsSystem Spec
02-03-2012   #2


Windows 7 Ultimate 64bit (Build 7600)
 
 


You could try making a .bat file (this must be run as administrator)

netsh interface ip set address "Local Area Connection" static 192.168.1.10 255.255.255.0 192.168.1.1 1
netsh interface ip set dns "Local Area Connection" static 192.168.1.1

and another .bat file to change it back if needed

netsh interface ip set address "Local Area Connection" static 192.168.1.153 255.255.255.0 192.168.1.1 1
netsh interface ip set dns "Local Area Connection" static 192.168.1.1
My System SpecsSystem Spec
02-03-2012   #3


Microsoft Windows 7 Ultimate 64-bit SP1
 
 


thank you very much for your reply.

I checked this batch already. I am looking for a command which is able to change random ips every after i run that batch file.
I always select ips from this list .

192.168.1.2
192.168.1.3
192.168.1.4
192.168.1.5
192.168.1.6
192.168.1.7
192.168.1.8
192.168.1.9
192.168.1.10
192.168.1.11
192.168.1.12
192.168.1.13
192.168.1.14
192.168.1.15
192.168.1.16
192.168.1.17
192.168.1.18
192.168.1.19
192.168.1.20
192.168.1.21
192.168.1.22
192.168.1.23
192.168.1.24
192.168.1.25
192.168.1.26
192.168.1.27
192.168.1.28
192.168.1.29
192.168.1.30
192.168.1.31
192.168.1.32
192.168.1.33
192.168.1.34
192.168.1.35
192.168.1.36
192.168.1.37
192.168.1.38
192.168.1.39
192.168.1.40
192.168.1.41
192.168.1.42
192.168.1.43
192.168.1.44
192.168.1.45
192.168.1.46
192.168.1.47
192.168.1.48
192.168.1.49
192.168.1.50
192.168.1.51
192.168.1.52
192.168.1.53
192.168.1.54
192.168.1.55
192.168.1.56
192.168.1.57
192.168.1.58
192.168.1.59
192.168.1.60
192.168.1.61
192.168.1.62
192.168.1.63
192.168.1.64
192.168.1.65
192.168.1.66
192.168.1.67
192.168.1.68
192.168.1.69
192.168.1.70
192.168.1.71
192.168.1.72
192.168.1.73
192.168.1.74
192.168.1.75
192.168.1.76
192.168.1.77
192.168.1.78



..................
continue.
My System SpecsSystem Spec
.


02-04-2012   #4


Microsoft Windows 7 Ultimate 64-bit SP1
 
 


please help me~
My System SpecsSystem Spec
02-04-2012   #5


Windows 7 Ultimate AMD64
 
 


Why not just switch it to "Obtain an IP address automatically"? If you have to use a static IP for something else enter it under the Alternate Configuration Tab. If you do that your PC will try to obtain an IP though DHCP first, and then if it can't it will use the static IP set under the alternate tab. You'll have to wait for it to time out but it will switch on its own.
My System SpecsSystem Spec
02-04-2012   #6


Windows 7 Ultimate 64bit (Build 7600)
 
 


I'm curious to know why you would need to change your local IP address randomly for a dial up connection ?
My System SpecsSystem Spec
02-04-2012   #7


Windows 7 Ultimate AMD64
 
 


192.168.x.xxx are private IP address's, wouldn't you normally get a public IP from your ISP if on dial up? Plus your screen shot shows a NIC not a modem? Could you describe your network setup and how you currently get internet? A private IP address (LAN) cannot be seen from the Internet (WAN) so it you are changing it to try and hide from something you are doing it all wrong and wasting your time?
My System SpecsSystem Spec
02-04-2012   #8


Microsoft Windows 7 Ultimate 64-bit SP1
 
 


Quote   Quote: Originally Posted by PooMan UK View Post
I'm curious to know why you would need to change your local IP address randomly for a dial up connection ?
Because dial up doesn't connect some time. Due to Ip conflict. that is why i want to get every time random ip.

like

192.168.1.6
192.168.1.7
192.168.1.8
192.168.1.9
192.168.1.10
192.168.1.11
192.168.1.12
192.168.1.13
My System SpecsSystem Spec
02-04-2012   #9


Microsoft Windows 7 Ultimate 64-bit SP1
 
 


Quote   Quote: Originally Posted by alphanumeric View Post
192.168.x.xxx are private IP address's, wouldn't you normally get a public IP from your ISP if on dial up? Plus your screen shot shows a NIC not a modem? Could you describe your network setup and how you currently get internet? A private IP address (LAN) cannot be seen from the Internet (WAN) so it you are changing it to try and hide from something you are doing it all wrong and wasting your time?
I have own DSL connection with phone line.

I am not looking for WAN ip i just change my lan ip for my dial up because sometime dialup doesn't connect due to ip conflict that is why i want to get random lan ips.

like


192.168.1.6
192.168.1.7
192.168.1.8
192.168.1.9
192.168.1.10
192.168.1.11
192.168.1.12
192.168.1.13
My System SpecsSystem Spec
02-04-2012   #10


Windows 7 Ultimate AMD64
 
 


You keep saying Dial up, DSL isn't dial up? Are you connecting though DSL or your PC's modem? Two devices (PC's) on the same network (LAN) cannot have the same IP address or you will get a conflict error. You are getting them because you are setting your static IP to the same IP address as another PC on your network. Randomly picking one isn't going to help it its already in use. If you are going to use a static IP you need to set it to value outside of the range given out by your router or whatever is doing DHCP on your network. The IP address range in use will be listed in your router settings. The simple solution to this is to set your PC obtain a Dynamic IP. If you do that and still get conflict errors then you have mis-configured another PC on your LAN. You can't just randomly pick IP's if you also have DHCP assigning them too.
My System SpecsSystem Spec
Reply

 Local area connection ip conflict before connect dial up problems?



Thread Tools



Similar Threads for: Local area connection ip conflict before connect dial up
Thread Forum
no local area connection Network & Sharing
Local area connection missing Network & Sharing
I can not sharing Local Area Connection Network & Sharing
Local area connection shortcut. Network & Sharing
Local area connection Network & Sharing


All times are GMT -5. The time now is 04:31 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
İ Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30