The dhcp ip range is I wanted my computer to get multiple ip addresses from this dhcp. So I can have multiple connections through different ip addresses with just a single computer!

is there anyway to do that?


In Windows or Unix, doesn't matter!

Suppose that I want to download a file. The very simple thing that a downloader does is to split the file to some parts and download them simultaneously! so that it should connect to the file server through many connections (1 connection for each part). Here, I want the downloader to establish each connection with a different IP address!

Actually, the server has limited the download speed for IP addresses. So, this way I will bypass this download limit!

  • Superuser.com or serverfault.com would likley give you better suggestions.
    – Alexei Levenkov
    Jan 23 '13 at 7:11
  • You really need to state what OS you want to do this with
    – Journeyman Geek
    Jan 23 '13 at 9:35
  • Why do you want to do that? In Linux you can assign several IP addresses to the same network interface, but I doubt you can convince DHCP to hand them out...
    – vonbrand
    Jan 23 '13 at 18:05
  • What do you mean that you want "multiple connections"?
    – cpast
    Jan 24 '13 at 13:33
  • That won't help your speed. The number one method of speeding up a download is to pay your ISP for a faster connection/go somewhere that has a faster connection.
    – BenjiWiebe
    Feb 4 '13 at 22:47

Giving yourself multiple IP addresses on your local network won't do anything to get around a download limit.

Your addresses are in the range. This range consists of private IP addresses, which have no meaning outside your LAN. Your router uses a system called Network Address Translation (NAT) to let every device on your home network use the same public IP. The reason for this is that there are fewer IPv4 addresses than are needed, and this system allows a house to share a single address.

Because your router is using NAT, the download server doesn't see your private IP. As far as it's concerned, any device in your house uses the same IP, so it will consider them to be the same device.

The only real solution would be to buy additional public IPs. However, this isn't something you're likely to find on a consumer internet connection. Generally, only servers need public IPs, so you'd likely find them only on a business-grade connection.

Summary: While you can give yourself multiple IPs (statically, if necessary), it won't help with your actual problem.

  • I completely understood your answer, but it seems that I couldn't state my question clearly. anyway thanks! But assume the IP range is something else, for example, (it's the IP range of public Wi-Fi in a university). now how con you get multiple addresses?
    – Mehran
    Jan 31 '13 at 8:17
  • 1
    Basically? One can't. IP addresses are assigned by a DHCP server outside of the user's control, and granted based on hardware addresses. The only way would be to add extra wireless interfaces (wi-fi cards, USB dongles, &c), and run different addresses on each one.
    – Darael
    Jan 31 '13 at 23:52

Answering the asked question (unrelated to the problem asker does have):

To get multiple IPs from DHCP server, you need to add new real or virtual Ethernet adapter with separate MAC address.

Example for GNU/Linux (not tested):

brctl addbr br0
brctl addif br0 eth0
ip link add type veth
brctl addif br0 veth0
ifconfig eth0 up
ifconfig veth0 up
ifconfig veth1 up
ifconfig br0 up
dhclient br0 veth1

You can use a virtual computers inside one computer. Then you can assign different IP Adresses.

  • or you can install another network adapter to your computer and assign another ip address as in multihoming
    – BlackHatShadow
    Jan 23 '13 at 7:07
  • That seems good. but is there another easy way? because in order to do that I have to run several VMwares! but I wanted to do it automatically.
    – Mehran
    Jan 29 '13 at 5:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.