192.168.1.2 private IP address guide explaining static addressing, DHCP reservations, router configuration, subnet ranges, IP conflicts, and DNS settings.
192.168.1.2

The first address after the gateway. Nothing about it is reserved or special, which is exactly why it gets used for the one device on a network that needs to stay put.

Why devices end up on .2

Two paths lead here. Either DHCP handed it out because the pool starts at .2 and this device asked first, or somebody set it manually because they wanted a predictable address. Both are common, and they behave very differently when something changes on the network.

A leased address can move. Reboot the router, disconnect for a day, add a few devices, and the same machine may come back as .37. A manually configured address never moves, which is what you want for a printer, a NAS, a camera, or anything sitting behind a port forwarding rule.

Static address configuratorProduces the exact values and commands for the device you are pinning

Reservation beats manual configuration

Manual on the device

The device insists on the address regardless of what the router thinks. Works everywhere, but the router can still lease the same address to something else unless you shrink the pool.

DHCP reservation

The router ties the address to a MAC and hands it out every time. Nothing else can receive it, and the device stays on automatic settings.

For most homes, a reservation is the better option. You configure it once in the router panel, usually under the DHCP section, and it survives factory changes on the device itself. Getting into that panel means signing in at the gateway, and the process for each brand is set out in the router login guide.

What goes wrong with static addresses

  1. The address sits inside the DHCP pool, so eventually the router hands it to a second device and both start failing intermittently.
  2. The gateway field is wrong or blank, so the device works locally but reaches nothing on the internet.
  3. DNS is left empty, producing the classic symptom where an address responds to ping but no site will load by name.
  4. The mask does not match the rest of the network, which quietly breaks connections to some devices and not others.
  5. The device is moved to a different network and the manual settings stop making any sense at all.

That last one catches laptops constantly. A machine pinned to 192.168.1.2 will not function on a network running 192.168.10.x, since the two subnets cannot see each other. If you carry a device between networks, use a reservation on each rather than a fixed configuration. Other gateways follow the same pattern with different numbers, such as 192.168.10.1 on extenders and Tenda hardware.

Picking a host number

NumberSuitable forNotes
.1RouterLeave it alone
.2 – .20Servers, NAS, printersEasy to remember, usually outside the pool
.21 – .99Cameras, IoT hubsGroup similar devices together
.100 – .199DHCP poolDo not assign manually
.200 – .254Second static blockHandy when the pool is large

The counting behind that table comes from the standard subnet mask, which fixes 254 usable host numbers per network. Addresses further into the range are perfectly normal too — something like 192.168.111.114 is just a lease that landed mid-pool on a differently numbered subnet.

Adding a second router

Giving a second router a fixed LAN address such as .2 is a standard way to run it as an access point. Turn off its DHCP server, connect it LAN port to LAN port, and it stops competing with the main router while remaining reachable for configuration. Vendors that default elsewhere, like units shipping on 192.168.188.1, need renumbering into your existing range before this works.

Typing the address correctly

Static configuration screens are unforgiving. A lowercase L instead of a 1 produces an entry the field will reject or, worse, silently accept and then fail to apply. Variants like 192.168.l.0 and 192.168.l.254 come from exactly this slip. And none of this applies to the loopback address, which is fixed by the operating system and cannot be assigned to an interface.

FAQ

Is 192.168.1.2 a router address?

Usually not. Routers normally take .1. The .2 address typically belongs to the first device on the network or to something configured manually.

Should I set a static IP or use a reservation?

A reservation in the router is safer. It keeps the device on automatic settings while guaranteeing the same address each time.

Why does my static address stop working elsewhere?

A fixed address only makes sense on the subnet it was set for. On a different network the device cannot reach the gateway.

What causes an IP conflict warning?

Two devices holding the same address, usually because a manual assignment overlaps the DHCP pool. Move the static address outside the pool.

Which DNS should I enter?

The router address works for most setups. A public resolver such as 8.8.8.8 is a reasonable alternative if you want resolution independent of the router.

Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

(function(){ function boot(){ var root=document.querySelector('.staticOneTwo'); if(!root){return;} var out=root.querySelector('#s12Out'); var go=root.querySelector('#s12Go'); var rs=root.querySelector('#s12Rs'); if(!out){return;} function valid(a){ var p=a.split('.'); if(p.length!==4){return false;} for(var i=0;ip.length;i++){ if(!/^\d+$/.test(p[i])){return false;} if(+p[i]255){return false;} } return true; } function run(){ var ip=root.querySelector('#s12Ip').value.trim(); var gw=root.querySelector('#s12Gw').value.trim(); if(!valid(ip)||!valid(gw)){ out.innerHTML='
Both fields need four numbers from 0 to 255 separated by dots. Check for a stray letter or a missing dot.
'; out.style.display='block'; return; } var ipP=ip.split('.'),gwP=gw.split('.'); var host=+ipP[3]; var os=root.querySelector('#s12Os').value; var dnsSel=root.querySelector('#s12Dns').value; var dns=dnsSel==='router'?gw:dnsSel.split('|')[0]; var dns2=dnsSel==='router'?'':dnsSel.split('|')[1]; var flags=''; if(ipP.slice(0,3).join('.')!==gwP.slice(0,3).join('.')){flags+='
The address and the gateway are on different subnets. With a 255.255.255.0 mask they cannot reach each other.
';} if(ip===gw){flags+='
You have entered the gateway address as the host address. Pick a different host number.
';} if(host=100){if(!(host199)){flags+='
This falls inside the range most routers use for DHCP. Shrink the pool first, or the router may lease the same address to something else.
';}} if(host===0||host===255){flags+='
Host numbers 0 and 255 are reserved for the network and broadcast addresses. Choose something between 1 and 254.
';} var cmd; if(os==='win'){cmd='netsh interface ip set address name="Ethernet" static '+ip+' 255.255.255.0 '+gw+'\nnetsh interface ip set dns name="Ethernet" static '+dns;} else if(os==='mac'){cmd='sudo ipconfig set en0 MANUAL '+ip+' 255.255.255.0\nsudo networksetup -setdnsservers Wi-Fi '+dns+(dns2?' '+dns2:'');} else if(os==='rpi'){cmd='# /etc/dhcpcd.conf\ninterface eth0\nstatic ip_address='+ip+'/24\nstatic routers='+gw+'\nstatic domain_name_servers='+dns+(dns2?' '+dns2:'');} else if(os==='dev'){cmd='Open the device web panel or front-panel menu.\nSet mode to Manual or Static.\nAddress: '+ip+'\nMask: 255.255.255.0\nGateway: '+gw+'\nDNS: '+dns;} else{cmd='sudo ip addr add '+ip+'/24 dev eth0\nsudo ip route add default via '+gw+'\n# persist in /etc/netplan or NetworkManager';} out.innerHTML='
'+ '
IP address'+ip+'
'+ '
Subnet mask255.255.255.0
'+ '
Gateway'+gw+'
'+ '
DNS'+dns+(dns2?' / '+dns2:'')+'
'+ '
'+flags+'
'+cmd+'
'+ 'Open the router panel at '+gw+''; out.style.display='block'; } function reset(){ out.style.display='none'; out.innerHTML=''; root.querySelector('#s12Ip').value='192.168.1.2'; root.querySelector('#s12Gw').value='192.168.1.1'; } if(go){go.addEventListener('click',function(e){e.preventDefault();run();});} if(rs){rs.addEventListener('click',function(e){e.preventDefault();reset();});} root.addEventListener('keydown',function(e){ if(e.key!=='Enter'){return;} if(e.target.tagName!=='INPUT'){return;} e.preventDefault(); run(); }); } if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',boot);}else{boot();} })();