HI,
I use a routerboard RB750 as DSL gateway, the RB750 hase two connected interfaces: one to the modem (configured as bridge) second is connected to the local network.
the modem connected interface is configured as dhcp client (let's say it is named ether1)in order to get the public address from ISP this configuration is well known and works great. the problem i'm facing now is that the ether1 is getting two dynamic ip addresses from the ISP: one public for the pppoe interface and one local for the ether1 itself, it seems that the ISP is having another dhcp server connected to the network that deliver local IPs.
the internet connection is no more working du to the fact that the default route and peer dns point to local address: i solved this problem by un-checking these 2 parameters (add default route, use peer dns) from dhcp client but got a worse problem: sometimes by some costumers the given dynamic local IP address is in the same subnet as the local network and i can't ask the costumer to change his subnet.
the question is how to solve this problem: or how to limit the dhcp client to take only one public ip adresses?
thx for the help