Multiple IPs from one router

Posted by ergoen on Server Fault See other posts from Server Fault or by ergoen
Published on 2013-06-25T16:21:08Z Indexed on 2013/06/25 16:22 UTC
Read the original article Hit count: 190

Filed under:
|
|
|
|

I would like to know if it is possible (and if so, how) to configure a router running dd-wrt (or openwrt) to supply connected devices with two ip addresses.

The network looks like this:

  [Internet]
      |
   [Router]
    |    |
[Comp1] [Comp2] ...

My ISP provides me with enough public IP adresses to give all devices on my network one each. The easiest way to set that up is to just use the router as a switch. This will however lead to problems with some LAN based applications. I would still like to use Samba-shares between the computers as well as a vpn server.

What I am looking for basically is if it is possible to use the router as a DHCP server for a local network (let's say giving IP adresses 192.168.1.xx to connected computers) while at the same time passing through public IP addresses to each as well?

© Server Fault or respective owner

Related posts about router

Related posts about dhcp