Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-29-2004, 01:45 PM   #1
Registered: Aug 2004
Distribution: Debian sarge 2.6.8-2-k7
Posts: 60

Rep: Reputation: 15
Linux box using DHCP server: trying to access it's web server from Windows

Hi, I have a web page at http://localhost:8080/ on my Linux box which I want to be able to access from a Windows 2000 machine on my LAN - using something like: http://linuxbox:8080/. I am using an ADSL router as my DHCP server, and so the actual IP my linux box is assigned varies.

Is there a way I can give the linux box a name within the LAN that a browser under Windows will be able to detect? Or is there a way I can fix the IP address and still ensure that my router accepts it?

Any help much appreciated.

PS I have checked my router. I can't get it to reserve an IP for a particular MAC.

Last edited by malbery; 11-29-2004 at 01:47 PM.
Old 11-29-2004, 02:12 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
The best way would be to set a small range of IPs for DHCP and use the rest for fixed IPs - ie:
1 = Router
10->100 = Fixed
100->200 = DHCP

If you want windows to do it by name then either add an entry to your hosts file (not much good with dhcp) or install and run the samba server on the linux box.
Old 12-07-2004, 05:42 AM   #3
Registered: Aug 2004
Distribution: Debian sarge 2.6.8-2-k7
Posts: 60

Original Poster
Rep: Reputation: 15
Hi David,

thanks for the reply. I've looked into it and I can specify the IP range the router uses to allocate IPs. Great. The next part is a bit of a newbie question, how can I go about specifying the IP address? Do I modify /etc/dhclient.conf, /etc/network/inferfaces or something completely different?



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
Accessing Samba FROM Windows XP box dhatcher2 Linux - Networking 11 11-06-2004 10:31 AM
Accessing a printer on a windows XP machine from my Linux box drebbin Linux - Newbie 2 09-20-2004 02:39 PM
Password Message Box when accessing linux box from Window Machine mikeccs Linux - Networking 1 08-04-2004 05:47 AM
accessing a windows box from linux Ůmegaflops Linux - Networking 3 07-26-2002 01:20 AM
Accessing Redhat box from Windows Network ppuddick Linux - Networking 9 07-01-2002 11:33 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:33 AM.

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