Network - dynamic ip
I have Debian woody with apache, mysql and php installed
now i want to get his ip adres from the network dynamicly
so i changed the eth0 (etc/network/interfaces) to dhcp (this works for a direct link to the internet!)
But i do not want him connected directly to the internet, he is just connected to a hub and should get his ip-adress automaticly just like any other computer here. To say it in short he does not play DHCP server!! He only plays a role as a webserver for a local intranet in php.
But he cant get a connection to the internet.
So you want the webserver to get an IP address from the DHCP server but you don't want it to be allowed to access the Internet outside the network?
Is this your DHCP server serving requests? If it is, you could create a special entry for your webserver and not assign it a gateway. That should stop it from sending outside packets.
I solved it another way. I gave him a static ip-adress, and i see the page in apache now. But thnx for the fast response anyway
|All times are GMT -5. The time now is 07:11 AM.|