connecting linux machine to a dchp enabled server2003 pc

vanillathunder722

Active Member
Joined
Jan 14, 2011
Messages
66
Reaction score
0
Location
durban
As the title states i would like to know what settings should i put in linux and server so i can add the linux pc to the server pc via dhcp

thank you :)
 
Just set the network interface to DHCP - if your running a Gnome then thats under network-manager else KDE has a similar app. Dead easy.

(On Server if its not dynamic then you need to set the MAC address of the Linux PCs network interface, To get the MAC address run "ifconfig" in a terminal on the Linux PC)
 
If DHCP is already setup on the server then the Linux box should just detect the settings. Some more info on your network would help.

Otherwise just run: dhclient eth0 from the CLI and see what happens.

Sent from my MB525 using MyBroadband Android App
 
Last edited:
Basically I'm trying to connect a linux pc to windwos server 2003 via server's dchp. My server's IP is set to 192.168.1.10 and i've set the linux pc to 192.168.1.15(not sure if i even need to set it) to be honest i don't even know if i set the dhcp correctly because it's my first time using it :P. Anyways is there maybe a tutorial on how to do all of that including connecting linux to the server? I've searched google but man really couldn't find anything.

any help will be much appreciated:)
 
DHCP on the server should give the Linux box an IP automatically, so why are you putting a static ip on the Linux machine?

As they explained above, if the server's DHCP is configured properly, the Linux box will get an ip.
 
alright i've set the network interfaces file to get dhcp and i've restarted the network but it tells me no DHCPOFFERS received? is something wrong with my server side?
 
On the server. Start - all programs - admin tools - dhcp.

Check if dhcp is enabled, pool configured and authorised.
 
'k; so what you need to know ...

DHCP is a service that is exposed on a network segment. In your case, your Win2003 server is running a dhcp service, so if you need to change dhcp server settings, you will start there (i.e. what range of IP addresses are available, which default route to use, how long to take out a lease, etc)

In Linux, you then usually have a DHCPD service. This is the client that will connect to your dhcp server (win2k3)
Your dhcbd client will then be responsible for configuring your network interface.

You should not need to set any ip addresses. What you will need to do is find out what dhcp client is available on your system and find out how to configure that.

With Linux distributions having a windowing interface, there will usually be a network settings applet you can use. This you should usually just configure as 'dhcp' save and forget.

In my case I have a file under /etc
/etc/conf.d/net

which just has the line

config_eth0=( "dhcp" )

Then I have a service called dhcpd which is started at boot time.

Best, in the end, just google your distribution + dhcp config, i.e. "ubuntu 11.04 + dhcp config" or something like that
 
Top
Sign up to the MyBroadband newsletter
X