IT Q.. assigning an...
 

MegaSack DRAW - This year's winner is user - rgwb
We will be in touch

[Closed] IT Q.. assigning an IP Address

8 Posts
6 Users
0 Reactions
51 Views
Posts: 0
Full Member
Topic starter
 

Hi,
Every time I go to the office, and I change my wifi to the office one, I have to assign (as in, type in) an IP address.
Is there a way I can do automatically, because I'm fed up of having to spend 1min everyday doing this.
On Windows 8.1


 
Posted : 04/03/2015 1:08 am
Posts: 0
Free Member
 

Yes, but I'd probably need a bit more in the way of details. I presume when you use your wifi at home your router gives you an IP address, and there is no DHCP server giving them out on your work wifi?


 
Posted : 04/03/2015 1:24 am
Posts: 0
Full Member
Topic starter
 

At home, it just connects, but when I'm at work, I need to manually input the IP, Default Gateway and DNS.


 
Posted : 04/03/2015 3:18 am
 MSP
Posts: 15531
Free Member
 

set up a couple of batch files ie

office network.bat

[i]netsh interface ip set address "Wireless Network Connection" static 192.168.0.10 255.255.255.0 192.168.0.1 1
netsh interface ip set dns "Wireless Network Connection" 192.168.23.54[/i]

dhcp network.bat

[i]netsh interface ip set address "Wireless Network Connection" dhcp
netsh interface ip set dns "Wireless Network Connection" dhcp
[/i]

put them on your desktop and run them as appropriate.

assuming your connection is called "wireless network connection" which if it is the only wireless interface and not been messed with it will be,


 
Posted : 04/03/2015 4:38 am
Posts: 0
Free Member
 

On a mac you can define different settings depending on the router it connects to. Surely you can do that in each network setup in windows?


 
Posted : 04/03/2015 8:15 am
Posts: 0
Free Member
 

Enter your Office ip address details in the Alternate Configuration. If your Computer can't grab one off a DHCP server it will switch to the Alternate.


 
Posted : 04/03/2015 9:03 am
Posts: 0
Free Member
 

It may also be worth speaking with your companies IT people and asking them to enable DHCP on the wireless router. Odds are it's meant to be on and there are a lot of people in a similar boat to you.

If no one tells them they won't know to fix it.


 
Posted : 04/03/2015 9:16 am
Posts: 0
Free Member
 

[quote=somouk ]It may also be worth speaking with your companies IT people and asking them to enable DHCP on the wireless router. Odds are it's meant to be on and there are a lot of people in a similar boat to you.
If no one tells them they won't know to fix it.

This

but in the meantime this...

[quote=rossendalelemming ]Enter your Office ip address details in the Alternate Configuration. If your Computer can't grab one off a DHCP server it will switch to the Alternate.

Where you have to enter an IP manually, there should be an "Alternate configuration" tab when you select "Obtain an IP address automatically" - enter the IP in there instead (On Win7, Control Panel, Network and Internet, Network Connections right click on your wireless adapter, properties, click "Internet Protocol Version 4", properties - probably similar on other OS, but I don't have one running here to check)


 
Posted : 04/03/2015 12:37 pm
Posts: 0
Full Member
Topic starter
 

Thank you.\

I'll try that in the morning.

Have a good day!


 
Posted : 04/03/2015 1:23 pm