Setting Multiple Ip / Ip Alias in Windows XP

[amazonify]0596528353:right[/amazonify]Single ethernet address can be assigned with multiple IP. In unix/linux word this feature called ip alias. I don’t know this feature name in windows. I post this because my friend work in a company who has multi lan connection and ask me if how he can get multiple address for his ethernet card laptop icon smile Setting Multiple Ip / Ip Alias in Windows XP

My work place also use multi lan. A few gateway and a few subnet.

Here’s the steps to assign multiple ip in single NIC in Windows XP :

1. Open Control Center and double click on Network Connections.

 Setting Multiple Ip / Ip Alias in Windows XP

2.Click on Properties

 Setting Multiple Ip / Ip Alias in Windows XP

3. Scroll down, find Internet Protocol and double click

 Setting Multiple Ip / Ip Alias in Windows XP

4. Click Advanced

 Setting Multiple Ip / Ip Alias in Windows XP

5. Add the address by click Add button. Make sure entering right subnet mask. If not sure, ask technician or network guy icon smile Setting Multiple Ip / Ip Alias in Windows XP

 Setting Multiple Ip / Ip Alias in Windows XP

6. You can use multiple dns too, for example using OpenDNS.

 Setting Multiple Ip / Ip Alias in Windows XP

7. Click on DNS tab to enter those IP followed by click OK button.

 Setting Multiple Ip / Ip Alias in Windows XP

8. Testing time, ping is common way to test connection for each LAN.

 Setting Multiple Ip / Ip Alias in Windows XP

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>ping 192.168.1.1

Pinging 192.168.1.1 with 32 bytes of data:

Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Documents and Settings\Administrator>ping 172.88.1.2

Pinging 172.88.1.2 with 32 bytes of data:

Reply from 172.88.1.2: bytes=32 time<1ms TTL=64
Reply from 172.88.1.2: bytes=32 time<1ms TTL=64
Reply from 172.88.1.2: bytes=32 time<1ms TTL=64
Reply from 172.88.1.2: bytes=32 time<1ms TTL=64

Ping statistics for 172.88.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Documents and Settings\Administrator>ping 10.10.12.10

Pinging 10.10.12.10 with 32 bytes of data:

Reply from 10.10.12.10: bytes=32 time<1ms TTL=64
Reply from 10.10.12.10: bytes=32 time<1ms TTL=64
Reply from 10.10.12.10: bytes=32 time<1ms TTL=64
Reply from 10.10.12.10: bytes=32 time<1ms TTL=64

Ping statistics for 10.10.12.10:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Documents and Settings\Administrator>

Done, setting multiple IP and multple DNS accomplished icon wink Setting Multiple Ip / Ip Alias in Windows XP

10 Comments

  1. Whatabout if I want to have DHCP plus a LAN alias? Works just fine under unix, but the config dialog with windows doesn’t allow adding addresses if dhcp is in use.

  2. I think thats not possible, as you said windows doesn’t allow adding addresses if dhcp is in use. Might be works by adding other virtual adapter such vmware virtual adapter but I’ve not try that :-)

  3. What about the Hostname – which ip will it correspond to. I give my pc hostname XYZ. and try to ping it – which ip will to go to?

  4. @Sharp

    It’s been a long time, but for anyone else who cares, you can specify hostnames IP addr mappings using your host file.

  5. Pingback: Intrax, Inc.

  6. Now that I have 2 ip to my one nic, how can I browse the internet with both different ip, using 2 browsers for example??

  7. Thanks for your post. By the way, i just wanna ask, if im going to add one more new ip, can i set that ip dedicated to a domain name?.

    By the way, what’s the use for IP aliasing? ..just want to know more about this.

    Many thanks

  8. hi, in my office got 2 leased line TMnet, 2 Router, 1 Firewall Watchguard, and 2 Switches.

    The Problem Is, one connected to Internet, and one connected to Externel EGnet. For Internet IP is 192.168.x.x, and External IP 10.21.X.X.

    External Applications made by government such as Aset, records and its cannot access through Internet. Must use External IP.

    Now, our problem, we cannot connect in one PC both same time Internet and External. Have to change cable and IPs.

    How can i set the network so it can or the user can browse the gov web and internet at the same time in one PC?

    For the Internet Diagram are:
    From Leased Line TMnet -> Cisco -> Firewall Watchguard -> Switch -> PC/Laptops

    For the External Diagram are:
    from Leased Line Tmnet (Diffrent) -> Cisco (Diffrent) -> Switch (Diffrent)-> PC/Laptops

    Please help me with my problems. Is there any setting in firwall/ or have to add another cable?

    my watchguard firewall brand is x1000

    Thank you

Comments are closed.