OpenWrt Forum Archive

Topic: Connecting to multiple DHCP IP's over the WAN - How can I do this?

The content of this topic has been archived on 16 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have a cable provider that will provide me 3 dynamic IP's.
Is there a way to grab my 3 dynimic IP's on the WAN interface and specify the MAC address for each DHCP connection? 
Having 3 routers to do this is a pain.

I have a WRT54GS V3 currently running White Russian 0.9

Just create new interface for specific connection, I dont know how to with DHCP but staticaly is it like that (let say vlan1 is your WAN)

ifconfig vlan1:1 ip-address/mask up
ifconfig vlan1:2 ip-address/mask up

maybe somewhere is possible to change the ip-address to DHCP variable, I dont know. (Im used to normal linux where I just edit /etc/conf.d/net)

(Last edited by Robertek on 26 May 2007, 23:10)

Your on the right track, but my problem is I don't know the IP address they will give me.  I also need a separate MAC for each DHCP client connection.

I think what I need is to create 3 virtual interfaces to the one physical interface if that is possible.  I am new to this so have no idea how to implement this, but I am sure others have this same problem.

Still working on trying to get 3 IP addresses via DHCP from my "RoadRunner" cable connection.  After doing some reading it appears that I probably need to use the "client identifier" to contain the MAC address and define 3 connections (eth0:1, 0:2, 0:3) on my WAN interface.  Am I the only one who would like to get more than one IP from my cable company or has someone already modified their router for multiple client ID's?

The discussion might have continued from here.