Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide 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

03 Feb 2012   #1
quicqsolution

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


My System SpecsSystem Spec
.
03 Feb 2012   #2
PooMan UK

Windows 7 Ultimate 64bit
 
 

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
03 Feb 2012   #3
quicqsolution

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
.

04 Feb 2012   #4
quicqsolution

Microsoft Windows 7 Ultimate 64-bit SP1
 
 

please help me~
My System SpecsSystem Spec
04 Feb 2012   #5
alphanumeric

Windows 10 Education 64 bit
 
 

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
04 Feb 2012   #6
PooMan UK

Windows 7 Ultimate 64bit
 
 

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
04 Feb 2012   #7
alphanumeric

Windows 10 Education 64 bit
 
 

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
04 Feb 2012   #8
quicqsolution

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
04 Feb 2012   #9
quicqsolution

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
04 Feb 2012   #10
alphanumeric

Windows 10 Education 64 bit
 
 

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Local Area Connection missing from network adapters, no connection
I have a Windows 7 Home Premium computer that is not connected to the internet. I have checked the drivers and they are all installed correctly and operational. When I go into the adapter settings there is no Local Area Connection adapter. I have included some screen shots of what I am seeing if...
Network & Sharing
how to create local area connection
hi! how can i create a local area connection? when i installed my windows 7 it came without a 'LAC' and i can't connect to the internet. thanks
Network & Sharing
no local area connection
Win7 home Premimum 64bit It started with a trojan which is removed but it left a couple of problems. Here is the last one. Device manager shows my lan card. I've tried uninstalling it but its uninstall app hangs...no messages just never finishes. Network Connection in control panel...
Network & Sharing
Local area connection missing
Hi about a week ago i was useing my computer as a moderm for my xbox 360 it was working perfectually until the other dam i think i may have deleted something in network shareing, i have googled the problem and tried every thing that every site has told me but it still wont show up i have posted...
Network & Sharing
Local area connection
Helloo! First post here! My problem is the following: I am already connected to the internet via a Broadband connection, yet my local area connection appears in the list too, saying there is no connection available trough it. I would like to disable the local area connection but still keep my...
Network & Sharing
recover my Local Area Connection
Hi All After install window 7 driver for LAN (onbord) was ok, but VGA (onbord) dosn't , then I try install motherboard driver. But unfortunately VGA driver still dosn't install. Then I go to local area connection check TCP/IP, Client, Then uninstall all . now I try to recover local area...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 23:55.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App