LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-27-2005, 06:40 AM   #1
Skaan
LQ Newbie
 
Registered: May 2005
Location: Belgium
Distribution: Win XP, Debian Sarge, Win 98 SE
Posts: 25

Rep: Reputation: 15
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.

Any help?
 
Old 05-27-2005, 07:01 AM   #2
auximini
Member
 
Registered: Dec 2003
Location: Calgary, AB
Distribution: Any!
Posts: 146

Rep: Reputation: 18
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.
 
Old 05-27-2005, 08:19 AM   #3
Skaan
LQ Newbie
 
Registered: May 2005
Location: Belgium
Distribution: Win XP, Debian Sarge, Win 98 SE
Posts: 25

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Dynamic IP eponymous Linux - Networking 5 10-09-2004 06:08 PM
Dynamic name resolution for dynamic IP merlin740 Linux - Software 2 10-04-2004 05:56 PM
Dynamic IP? Gerardoj Linux - Networking 5 05-27-2003 02:20 PM
dynamic network views bartgymnast Linux - Networking 4 02-20-2003 10:04 PM
dynamic IP........ anoop_chandran Linux - General 4 11-25-2001 01:46 AM


All times are GMT -5. The time now is 07:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration