Open a webpage on pppoe connection

I need open a webpage on succesfull pppoe connection to a rb
Is thsi possible?

if pope is success, and you got an ip and a gateway (+ dns etc) you should be able to open what you want. included port 80, standard web