Just came up in my mind. Can DHCP assign an IP address and network configurations to given host (well, it can
) and then change these things to another?
The idea is as follows: gateway A, several hosts connected to it (one of them should be B). When B boots he gets an IP from a private network (192.168.0.X for example) and no access out of the gateway. When a client from B log on into a web page that is hosted on A, the DHCP changes B's IP to a public one and sends him another network configuration (for the gateway, new IP, new subnet mask, etc).
The idea is, can DHCP change network configuration to a host, when already send them while booting? Well... its 'dinamycal' in the name, so I guess it can be done in some way