Can't stop DHCP on pppoe interface

Hi - something strange is happening here !

I have moved house and went from a static IP on my ADSL connection to a new service also with a static IP.

The funny thing is that I can’t seem to get the static IP that the ISP gave me to work - whenever I configure it under ‘IP/Addresses’ in the GUI against the pppoe-out1 interface it automatically adds in a DHCP IP for the pppoe-out1 interface and relegates the one I created to ether1-gateway.

Output of a few commands below showing that DHCP is off for all interfaces…

[admin@RB750G] /interface pppoe-client> monitor pppoe-out1 
        status: connected
        uptime: 8m26s
     idle-time: 1s
  active-links: 1
  service-name: 
       ac-name: qwbi-woolloongabba
        ac-mac: 00:90:1A:42:74:9E
           mtu: 1480
           mru: 1500

[admin@RB750G] /interface pppoe-client> /ip dhcp-client print detail 
Flags: X - disabled, I - invalid 
[admin@RB750G] /interface pppoe-client> /ip address print detail 
Flags: X - disabled, I - invalid, D - dynamic 
 0   address=192.168.10.1/24 network=192.168.10.0 interface=ether2-local-master actual-interface=ether2-local-master 

 1 X address=192.168.11.1/24 network=192.168.11.0 interface=ether5-local-slave actual-interface=ether5-local-slave 

 2   address=1.1.1.2/24 network=1.1.1.0 interface=ether1-gateway actual-interface=ether1-gateway 

 3 D address=220.244.77.236/32 network=202.7.179.120 interface=pppoe-out1 actual-interface=pppoe-out1 
[admin@RB750G] /interface pppoe-client>

I have a welcome email from my ISP stating that I do, again, have a static IP. Can anyone offer any suggestions on how to stop pppoe-out1 from gaining a DHCP address ?

This is not a DHCP address. Whenever you establish pppoe connection address is added automatically on pppoe interface.

Cool - but I am a little confused. How do I now implement my static IP address that my ISP has given me to use ?

Most likely pppoe interface is not required anymore. Disable it and add IP address that ISP gave you to ethernet interface.

I am pretty sure I need to run pppoe (TPG ADSL in Australia) - they have supplied me a pppoe username and password and static IP.

isn’t 220.244.77.236/32 your public IP? it’s already here! you should not add it manually!

Not sure how to explain this any better !

That address (220.244.77.236/32) is being given via DHCP.

The ISP has sent a welcome email stating a different static address that I should be using.

Each time I configure this (different) static IP address again pppoe-out1 the RB750G changes this static address to be ether1-gateway and adds in the Dynamic address against pppoe-out1.

DHCP has nothing to do with this

PPPoE uses PPP to obtain an address from PPPoE server. it obtains 220.244.77.236 for now. ask your ISP to recheck their settings and to look at their logs

OK - will do that. I thought that I had configured this static IP address somewhere last time I was with this ISP. Maybe not !

Out of interest - I have had cheaper Linksys routers that also do pppoe but also allow me to specify a static IP address. How does this work if it is PPP that is handing out IP addresses ? Cheers.

you can try to override that by creating new profile, where you set Local address

Hi - I created the new profile with the static IP as ‘Local Address’ and it worked fine for incoming SSH traffic (tested via phone) but I can’t get any traffic out of the network with it enabled this way.

I have worked out that no default route is being added when I use the profile set up with the local address.

so, all is working now?

sounds like a bug - it must depend on ‘Add Default Route’ tick, not on custom address in Profile :slight_smile: if you can repeat this behaviour - please send this into to support@mikrotik.com

No - it’s not working !

When I add the ppp profile and then add the local IP ( my static ip ) I can not get Internet access because there is no default route being added. However, in this configuration I can connect in to this static ip via ssh.

and what if you add default route by yourself?..

I havent worked out how to do that yet..

/ip route add gateway=pppoe-out1

OK - i’ll give it a go. There seemed to be two auto created entries when it is set to do it itself.

two?!? which ones?

These are the two route entries that are auto created:

that’s correct - should work, if your ISP knows that this address should be supplied to you :slight_smile:

what does traceroute show?