lan interview questions

Top lan frequently asked interview questions

What do different types of LAN IP addresses mean?

I have seen LAN IP addresses in the following ways:





127.0.0.* (This one is normally with a 1, and I'm not sure if it is LAN, since I see it normally with proxy stuff.)

So, why are there different forms of an LAN IP addresses, and what do they mean/represent?

Source: (StackOverflow)

Set Ethernet Network as Metered Connection in Windows 8

Windows 8 introduced a new feature which allows users to set any Wi-Fi network as metered so that they can check their bandwidth usage:

[img credit]

But, it doesn't allow users to set any Ethernet network as metered:

So, is there a trick/workaround to do it?

Source: (StackOverflow)

How to use Wireless and Wired Connection both at a same time in Windows 7?

I am using Windows 7. Problem is while using internet in Wireless if i connect LAN cable to my laptop, it stop Wireless connection and Wired Connection gets active.

I am using Internet using Wireless and doing my work through Wired Connection. I want to use Wireless and Wired Connections both at same time

HOW to use wireless and wired connection at the same time?

Source: (StackOverflow)

My colleague often shuts down my machine through the LAN - how do I prevent it?

This might sound weird. My colleague and I were working on a Windows machine. He frequently shuts it down through the LAN.

He usually follows these steps:

  1. Access command prompt, enter shutdown -i.
  2. Choose my IP address, click on Shutdown.
  3. Select a timeout of 2–3 seconds.
  4. Click OK

Unfortunately, I cannot disable remote access to my computer. Is there a way to prevent this?

Source: (StackOverflow)

Can a huge coiled LAN cable have some trouble for transmitting a signal?

Let's say I have a long (> 30m) LAN cable, that connect two (very close) devices.

Could some of the unused wire, disposed as a huge coil, cause any issue ? I'm thinking about the special wire layout that would create a magnetic field (like in an inductance) and cause problems for transmitting the signal.

Large Cable Coil

Source: (StackOverflow)

How does a hacker in a public WIFI actually view your computer?

I've read that they can see what sites your viewing or even access your computer if you're connected on the same WIFI connection but how exactly?

Source: (StackOverflow)

What is Windows command to convert machine name to ip address and vice versa?

I need to know the ip address of another machine in a lan network.

What is the Windows command for getting ip address from machine name and vice versa?

Source: (StackOverflow)

How does Dropbox LAN Sync work?

I have installed Dropbox on 2 Ubuntu machines and enabled LAN sync. I was curious how does one Dropbox instance detect another.

Source: (StackOverflow)

How to shut down a computer having a particular IP address?

If we have a collection of Windows and Linux computers on a LAN, is it possible to shutdown a computer having a specific IP address, using the Linux shell?

Assume that I do not have ssh or telnet running on the PCs. I have the root password for all the computers.

Source: (StackOverflow)

Dropbox alternative with local sync support? [closed]

I am currently using Dropbox. Just decided to sync my huge (about 5 GB) iTunes Library (music collection) in Dropbox. For that I must subscribe to their paid account. But before I do so, I'd like evaluate the alternatives.

Is there an alternative that does this?

  • Local LAN sync (eg: sync my huge music collection across computers in local network without uploading/downloading them to internet)

The following would be nice (but not required):

  • Native android client - so music will be made available in the Android music app / SDHC card
  • Selective sync: sync particular folders / exclude certain folders on certain computers .. eg: excluding porn folder on work computers ;-)

Just like Dropbox, it MUST work on 64-bit Windows, Linux and Mac.

Know of any? (I am currently evaluating Spideroak. Boy, was it so complicated to use?)

Source: (StackOverflow)

What's wrong with my custom LAN cable?

This question is basically a continuation of this previous question. Never mind, here's the deal:

I've made a LAN cable that goes through a wall, but it doesn't work. The cable is roughly 10m/30ft long. I crimped both ends myself according to this detailed explanation, and the job looks to be well done; all the wires are all the way in the plug.
I bought a cable tester after not being able to fix this. I thought perhaps the cable this is what I bought has a bad kink somewhere. But the cable tester says all wires are okay! The cable tester flashes its lights nicely in the correct sequence. According to the half-chinese instruction page, this indicates that everything is wired correctly. Even if I might have the wrong color sequence, the copper itself seems to be correct.

But when I unplug the LAN cable sneaking through the hallways, and connect this new LAN cable instead, Windows reports that there's no network.

What can be wrong? How can I find out?

Updated: Italic text above, in response to the first few answers.

Source: (StackOverflow)

How do I connect two computers with a LAN cable?

I have two machines - Windows XP and a laptop using Windows 7. I connected them with a WLAN cable.

On the Windows XP machine, I set the IP address to On the Windows 7 laptop, I set the IP address to

The laptop can see the Windows XP machine, but Windows XP machine cannot see the Windows 7 machine. But this does NOT concern me. I want to move the files from my desktop (Windows XP) to Windows 7 (laptop). That's why I'm going through all this.

The problem is that when I try to connect from Windows 7 to Windows XP machine, I get this window:

alt text

I don't understand what username/password is needed. I use none on the Windows XP machine. I tried all usernames - no success.

Please explain in deep details how to solve my problem so I can connect to my Windows XP machine.

EDIT: Maybe this can help: the Windows XP machine is named 'I' and 'Проданов III' is the name of the laptop. Both computers share one workgroup - WORKGROUP.

Source: (StackOverflow)

How can I make these computers share folders again?

OK, I've had enough of this.

My mom's family's business is having problems with their two computers, which we'll call PC1 and PC2. Both are running Windows 7, and they used to have some shared folders. But for maybe the past couple of weeks, they're not sure how long, that hasn't been working. PC2 was able to see PC1 (it showed up under "Network"), but not access any files in there. (Folders, yes; either it could see those or it remembered them.) PC1 couldn't see PC2 at all.

After fiddling with a whole bunch of junk and rebooting PC2, I managed to make it show up on PC1. But when I click on "PC2," it says "Windows cannot access \PC2." Pinging PC2's IP address (at least the one that showed up under "IPv4 Address" when I ran ipconfig on PC2) turned up nothing -- request timed out.

The name of the network is the same in Network and Sharing Center on both computers, as are the type and the workgroup name under System (the latter being the thing I changed on PC2 before rebooting). It's a little inconsistent on whether "PC1" is capitalized as such or as "pc1." The router's a 2Wire 1701HG Gateway. Aside from that, I don't know what to look for -- if it's a firewall issue or what. LANs aren't exactly my field of expertise.

EDIT: Forgot to mention -- both computers have Internet access.

Source: (StackOverflow)

Getting the local IP address in Ubuntu 10.04 LTS

I am trying to get my locally assigned IP address from Ubuntu 10.04 LTS with ifconfig and what I'm getting is my external IP address (in other words, it's the same IP I see on

When running ifconfig eth0, inet addr shows my external IP address instead of the local address.

How do I get my local IP address ?

Source: (StackOverflow)

how to find out computer name by ip LAN

How to find out computer name by ip on LAN? I know an the ip address of a computer in question but how do I get its workgroup name?

Source: (StackOverflow)