Skip to main content

Configure IP Address and Other Network Information in Windows 7

Configure IP Address and Other Network Information in Windows 7


Let me show you how to configure IP address and other network information in Windows 7 here. As you know IP address must be configured on computer in order to communicate with other computers, because this IP address is the standard address understood by computers and other networking devices in networking world.
You can configure IP address, subnet mask, gateway and DNS servers manually on computer, but you can also configure computer to obtain IP address and other network information from DHCP server (most of the time is configured on router).

Without wasting any more time, let me show you quick way to do it:
1) Go to Start and click on Control Panel.
2) Proceed to click View network status and tasks in Control Panel window.

windows 7 view network status and tasks


3) Network and Sharing Center window will appear, then click change adapter settings.

change adapter settings in Windows 7


4) Network Connections window will appears. Here you can right click on the network adapter (can be wireless adapter or wired Ethernet adapter) that you wish to configure and click Properties.

Windows 7 network adapter properties


5) In the Network Connection Properties window, tick on Internet Protocol Version 4 (TCP/IPv4) and click Properties.

Note: If your computer sits in IPv6 network, you can select Internet Protocol Version 6 (TCP/IPv6) to configure IPv6 address, but it’s not covered here.

network adapter IPv4 properties

Manual IP Assigning


If you wanna do manual configuration, you can now key in the IP address, Subnet mask, Default gateway and DNS servers.
Note: IP address of your computer must be unique. None of the 2 computers in the same network can share same IP address, because it will cause IP address conflict.
Note: Default gateway is a router that can route the traffic to the other network or Internet. DNS server is an application server that can translate URL to IP address. Check with your ISP on what DNS servers you should use. If not, you can try this free Opendns or Google DNS servers.

manual IP configuration Windows 7

IP Assigned by DHCP server


If you have DHCP server setup on your router or you have dedicated DHCP server, your computer can be assigned IP address and other network information automatically by selecting Obtain an IP address automatically and Obtain DNS server address automatically.

automatic IP configuration Windows 7


Note: If you have a notebook, and you use static IP at home and the IP assigned by DHCP server at the office, you can make use of alternate configuration to set IP and network information for these 2 different networks.

Set Obtain an IP address and DNS automatically on General tab as according to what I specified above, so that the notebook will be assigned IP addresses automatically at the office. After that, click Alternate Configuration tab, select User configured option and key in your home network’s static IP and other network information. By setting this, when there is no IP information assigned due to no DHCP server at home, this alternate configuration will be applied automatically, so that you don’t have to spend time on configuring IP manually every time at home.

alternate IP configuration in Windows 7



Comments

Popular posts from this blog

Call User-defined Function on Linked Server :SQL Server

If you try to invoke a user-defined function (UDF) through a linked server in SQL Server by using a "four-part naming" convention (server.database.dbo.Function), you may receive error message.  The reason is User-defined function calls inside a four-part linked server query are not supported in SQL Server. Thats why error message indicates that the syntax of a Transact-SQL statement is incorrect.  To work around this problem, use the Openquery function instead of the four-part naming convention. For example, instead of the following query Select * from Linked_Server.database.dbo.Function(10) run a query with the Openquery function: Select * from Openquery(Linked_Server,'select database.dbo.Function(10)') If the user-defined function takes variable or scalar parameters, you can use the sp_executesql stored procedure to avoid this behavior.  For example: exec Linked_Server.database.dbo.sp_executesql N'SELECT database.dbo.Function(@input)',N'@input...

Truncate a SQL Server log file (Reduce the size of an LDF file)

I have been doing database administration and have been asked several times to reduce the size of database files. The actual mdf file is small, 3MB, but the LDF file is 10GB !! I have read about the DBCC SHRINKFILE command and tried this, but the file has stayed at 10GB even though it said the command executed fine. I've also tried using the wizard in SQL Server to reduce the LDF to a specified file size (800MB), this also failed to change the size even though it gave me the impression it had worked and was successful via the wizard. The best thing I found is to change the recovery mode of database to RECOVERY SIMPLE before executing the SHRINKFILE command. After that change back the recovery mode to FULL . ALTER DATABASE ExampleDB SET RECOVERY SIMPLE DBCC SHRINKFILE('ExampleDB_log', 0, TRUNCATEONLY) ALTER DATABASE ExampleDB SET RECOVERY FULL Happy Coding :)

Pass multiple complex objects to Web API action

Working with ASP.NET Web API, the most unexpected thing is the limited support of POST data values to simple ApiController methods. When a parameter has [FromBody], Web API uses the Content-Type header to select a formatter. At most one parameter is allowed to read from the message body. The reason for this rule is that the request body might be stored in a non-buffered stream that can only be read once. A simple principle, you can send any content in HTTP request, it only need to be serializable into a string. So, it could be multiple JSON object. In this example, the content type is "application/json" and the request body is a raw JSON string (not a JSON object). Here I found a workaround to pass multiple complex objects (using the above principle) from jquery to a WEB API using JObject , and then cast back to your required specific object type in api controller. This objects provides a concrete type specifically designed for working with JSON. var customer = { ...