CentOS 5 Server :: Use DHCP All Our Clients Use Dynamic IP Addresses For The Ease?
Sep 1, 2010
I'm new to Centos 5 (and Linux) and, after installing Centos, I configured Samba, Apche, ... w/o problems (through interactive interface). My problem is tha t I need to use DHCP (all our clients use dynamic IP addresses for the ease) but I don't find dhcpd ... nor the sample config file(s).
Note : the new server I intend to use is actually connected on a LAN with an 'old' DHCP server (still under W2K server), is this the reason why I can't find/activate dhcp on my new machine ???
View 3 Replies
ADVERTISEMENT
Sep 21, 2010
I have openvpn tunnel setup between two CentOS servers. One of the CentOS servers also acts as a DHCP server for some client computers.
Server A= OpenVPN server
Server B= OpenVPN client (connects to Server A with OpenVPN)
The two CentOS servers can ping each other (172.16.0.0/24) via the tun0.
However, client computer connected to Server B (DHCP server) can't reach 172.16.0.1 (which is the OpenVPN server).
I think I am missing some routing in my "ip route show". Following is the full picture:
What command can I issue to get this fixed? something along ip route add?
There is no firewall service on both end. service iptables stop! I can't bridge eth1 and tun0 as DHCP server might mess up the other side. I can't do a push of "redirect-gateway def1" because then clients loose their IP as they send DHCP requests to Server A.
View 2 Replies
View Related
Oct 20, 2010
I have a MacBook Pro running VirtualBox with Ubuntu 10.10 as a guest. I am trying to run a DHCP server from within the Ubuntu VM. I need to do this in order to run a multicast utility. On a stand alone machine running Fedcora I have this working without fail but within the Ubuntu VM I am having troubles. The DHCP server is starting okay, but when I use a cross over cable connected to a device the device does not ever get an address.I have eth1 bound to my ethernet jack where I am trying to source the addresses, and eth2 bound to my airport which is disabled unless I need internet access.Here is my DHCP.conf file
Code:
###############################################################################
# Amino Communications Sample dhcpd.conf file #
[code]....
View 3 Replies
View Related
Apr 9, 2010
Ubuntu LTS 8.04 + DHCP. Works fine except for fixed addresses. I mean all devices which need to get fixed IP according to their MACs don't get them and keep to receive random IPs from the range (although almost everytime all machines receive the same IP they got from DHCP for the first time).
The following config was created by Webmin interface.
At the one of the ubuntu forums i was advised to carry host description out of the subnet description.
View 1 Replies
View Related
Jul 23, 2010
Is there anyway how to view the dhcp clients over dnsmasq?
View 1 Replies
View Related
May 31, 2010
I have a network consisting mostly of Windows Vista and 7 clients and an Ubuntu server. The server provides both the DHCP and NTP services through dhcp3-server and openntpd. In my dhcpd.conf, the subnet is declared as follows:
subnet 10.10.10.0 netmask 255.255.255.0 {
range 10.10.10.10 10.10.10.200;
option broadcast-address 10.10.10.255;
option routers 10.10.10.1;
option ntp-servers 10.10.10.1;
The clients don't seem to be using the NTP server though. When I capture the network traffic with Wireshark during the DHCP process, I also see no mention of the NTP option in the DHCP offer message. I am not quite sure if the clients would have to specifically request that option to receive it or if I have to make another configuration to offer the option.
View 1 Replies
View Related
Feb 8, 2010
I have setup a dhcp server on eth0, & i have static Internet connection on eth1.
now clients are getting ip automatically, they are able to trace root upto eth0 & eth1.
but i am not able to access Internet from client machines. i am using open suse11 as a server.
i am not able to do telnet & ftp also from client. i am able to access Internet from server.
so please help me to configure my server so that i can access Internet from client machines also.
View 1 Replies
View Related
Oct 24, 2009
After some testing for a couple of days, I decided to take the plunge and update all my 5.3 machines. Using the recipe from the release notes:
yum clean all
yum update glibc*
yum update yum* rpm* python*
yum clean all
yum update
shutdown -r now
I updated some guinea pigs that I had physical access to and didn't have any issues. So I remotely updated a small farm of LAMP machines that handle a couple of million page views per day. It took each machine approximately 5-6 minutes to download/install/reboot.
View 1 Replies
View Related
Feb 27, 2010
I'm attempting to run a DHCP server on my home network to enable PXE booting for ethernet clients, but I'm having quite a few issues getting it all up and running. I'm not entirely sure what is wrong, but I keep encountering errors in syslog as follows:
Code:
Feb 27 02:26:46 servnerr-1 dhcpd: Wrote 0 leases to leases file.
Feb 27 02:26:46 servnerr-1 dhcpd:
Feb 27 02:26:46 servnerr-1 dhcpd: No subnet declaration for eth0 (192.168.1.3).
[code]....
Networking is not exactly my strong suit, but I would like to get this up and running if at all possible.
View 9 Replies
View Related
May 6, 2010
I have 4 Ethernet Interfaces. I need Dynamic IP-Addresses for 2 Interfaces. Can anybody help me how can i achieve that
View 3 Replies
View Related
Mar 16, 2010
I'd like to add further IP addresses for my server but I don't get it. My steps :
[Code]....
View 19 Replies
View Related
Sep 17, 2010
In school, use SUSE Server and made it by DHCP but in my hand I changed many rules. All are OK at the start but now they requested that they who are principal, and vice principals are want to use the Internet without filtering.
So I've made new rules by using Webmin software to control the SUSE Server. 1st I've gave static IP from LAN x.x.x.40 to x.x.x.45. 2nd IP is x.x.x.12 to x.x.x.15.
At First, there's nothing happen but now I've got problems because Server gave DHCP so that Server gives IP itself and conflict with static IPs. And also I can't find in Webmin software how to disable the DHCP Assign.
View 6 Replies
View Related
Sep 9, 2011
I have tftp-server running on Centos 5. Clients which are on the same subnet as the server are able to get and put without problems. I have a client that is across the internet that is having trouble getting files from my tftp server. A tcpdump reveals that the client is requesting the same file over and over again. In /var/log/messages, I am see the following error repeated over and over until the client finally gives up.
localhost in.tftpd[12727]: tftpd: read: No route to host
View 1 Replies
View Related
Oct 25, 2009
I am using Ubuntu Server and would like to recieve an email once a day listing mac address's that have requested an ip address that are not in my list of known mac address's.
lookup=`grep $mac /root/dhcp.macs`
#This does not work as the first entry mac1 will be okay but mac2 and mac3 will not
#It will try to use mac2 as the file to look in which won't exist
#I need to make it loop through for each line of the variable and add that to the lookup value diff $mac $lookup
#I think this should differentiate known from unknown if i can get a lookup value
View 5 Replies
View Related
Nov 22, 2008
A quick rundown of my equipment and plan for this particular machine.
SOYO P4I845PEISA Motherboard
Intel Pentium 4 2.0GHz Processor
512MB DDR333 RAM
ATI Radeon 8500 128mb AGP Video Card
Using onboard AC'97 Audio and Davicom NIC
Linksys BEFSR81 Wired Router
I am setting up a multiboot system with several OS's, multiple versions of Windows & several Linux distros. The main point of it all is just to have a system where I can load up a given version of Windows or Distro of Linux if I need to test something or show someone how something works.
The Problem:
5 versions of Windows installed, all hardware configured and functioning properly (including NIC) All Windows versions obtain DHCP IP addy with no problems.
Installed Red Hat Linux 9 (first of my linux distros) and it autoconfigured all of my hardware and has no problem getting an IP address.
Installed Fedora 8 and it could not obtain an IP address. I fiddled around with the network settings changing this and that, covered all of the options, and it had no effect. By this time I was irritated, so I just formatted and reinstalled the whole thing, which had no effect and resulted in the same problem. I decided to try it again, this time turning off my sound card and nic for the initial installation. After the initial install, I turned on the sound card and booted up to install it, then restarted, turning on the nic to install it. Fedora installed them both, and managed to get an IP address from my router.
I looked at the ifcfg-eth0 file and the only thing that was different from the previous installs was that a line reading "type=ethernet" (I believe thats what it said) was not there in the working install and had been before.
Puzzling and irritating, but Fedora was now working so I moved to the next distro on my list.
openSUSE 11.0
First install I tried the same thing I did with Fedora (turning off the NIC which did not work like it did in Fedora)
Second install, left all of my hardware enabled, and made it to the part where it asks to verify your internet connection. I clicked Test, and got this error:
Opening of Connection
eth0 device: Davicom Semiconductor, Inc. 21x4x DEC-Tulip Compatible 10/100 Ethernet (rev 40) DHCP Client is already running on eth0
I finished the install, and then got on another machine and I searched the net for this error, but could find nothing that specifically applied to my problem. I played around with the network settings, tried a couple of things that I had come across in my search (changed between tulip and dmfe, checked the box for "Request Broadcast Response", ran "service network restart" in Terminal) none of these had any effect.
The most irritating thing about this is that RHL9 had no problem with this whatsoever and it is badly dated, and the much newer distros are choking on it.
View 2 Replies
View Related
Apr 13, 2010
We have one squid proxy server running on CentOS 5.3 64 bit with Squid 2.6. it works well for me.
but my problem/question is :
Is it possible to skip proxy for all Internet addresses? and only allow proxy if clients are accessing external addresses?
right now users have to explicitly say in the browsers .. BYPASS PROXY SERVER for local addresses after check the use proxy server
and address has to be mentioned. most users are non technical so they don't use this option or put wrong setting in bypass proxy option
View 2 Replies
View Related
Oct 19, 2010
At my work, we have several clients (outside clients) that have an FTP login to our FTP Server. Their login then leads them to their home FTP folder. The FTP server is currently a Win2003 box. Because we have so many clients, we would like to implement some form of WebGui that would allow each client to manage their own FTP home folder and user info, such as resetting their password if they lost it.
Is there anything like this available in linux that would provide us with that kind of control/usability?
View 1 Replies
View Related
Apr 4, 2011
I have a server (called NAS) that shares out /public, and I also have this same server running KVM with some VM's. I am setting up the first VM now, and one of the things it does is download torrents onto the share. I am connecting it via "mount -t smbfs //nas/public /mnt/nas" from the VM on the host and it seems to work fine. However whenever I add a torrent to the queue on the VM to download, all downloads stop and seem to be disconnected. I can restart them after a few seconds, but they will stop after a few minutes with another disconnect error. I have the network interface bridged, so I thought it was talking directly to the host.
The appropriate lines in my smb.conf:
security = share
[public]
comment = Public Stuff
path = /public
[Code]....
View 12 Replies
View Related
Sep 6, 2010
Ive been trying to give certain clients an IP adres by mac adress. For this I use the folowing code:
host apex {
hardware ethernet 00:00:00:00:00:00;
fixed-address 192.168.250.100;
}
This works perfectly, however when I try to add a second client this way it doesnt. I tried to add the above code multiple times as a whole (2 times the above code) but that doesnt work. I also tried to just add more lines under host apex but this also doesnt work.
So my question is: How do I add more of this mac related IP adress assignments in the dhcp.conf?
View 1 Replies
View Related
Jun 27, 2010
I am trying to find the proper way to setup a NFS4 Server with two clients. I have:
FileServer: CentOS 5.5
-IP:10.1.1.200
-User: Max
-Export: /FS-Data
[code]....
User/Group Max owns FS-Data on the FileServer, How do I go about mounting it on the clients, since root can only mount?
View 2 Replies
View Related
Dec 9, 2009
We recently upgraded our NFS server from Centos 4.4 kernel 2.6.9-42.0.10.plus.c4 to Centos 5.4 kernel 2.6.18-164.6.1.el5
In our queue directory where we shuffle files to be processes some files will go missing.
Example structure
/Queues/Process1/subdir_xxx
/Queues/Process1/subdir_xxx
etc...
/Queues/Process2/subdir_xxx
/Queues/Process1/subdir_xxx
etc...
Where 'xxx' is a date/time string down to the second.
Each subdir entry contains a number of files, depending on load at the time.
What we see happening is that a subdir will appear empty from a client (ls -la shows . and .. ) but an rmdir will fail with a 'directory not empty' error. From all 7 clients (mix of Centos 4 and 5). However on the server the files are visible. If we 'touch' the files the clients will then pick them up and process them.
It doesn't appear that waiting any amount of time will make the files visible (we've waited 8 hours while testing).
We've tried different mount options, NFS4, etc. Nothing got rid of the issue. Changing one server to use CIFS however solved it. So it appears to be some bug in NFS.
The problem appears to be intermittent and random, we can go hours without seeing it, or minutes. I'd say it affects fare less then 1% of the files written.
View 2 Replies
View Related
Jan 8, 2009
I can't seem to get the X server to allow access from clients on other hosts. (I know, not exactly a network problem, but. I made the change in /usr/share/gdm/defaults.conf to be : DisallowTCP=false
and this worked on another CentOS system, but it hasn't fixed it on this one. What other things could prevent other clients from connecting to the X server? From the local host, I get :
Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed although the client DOES actually create the window and work! So, maybe this message is a clue.
From the remote host, I get : Error: Can't open display: 10.10.1.20:0.0 Which is not terribly informative. Is there a log somewhere which details why a connect request was denied? The files in /var/log/gdm are not very informative.
View 2 Replies
View Related
Oct 20, 2009
Don't work nslookup from clients guest OS.I have LinuxMint 7 and I'm installed VirtualBox on her. I created three guests OS. Two CentOS and XP
Name
The first CentOS linux1.starline.ca
The second CentOS centos.starline.ca
The third XP xp2.starline.ca[code].....
On the clients guest OS nslookup don't work. It write : timed out; no servers could be reached .What is going on? Why nslookup don't work from clients guest OS?On client machine in the file /etc/resolv.conf have record ameserver 168.135.88.2
View 2 Replies
View Related
Jan 11, 2011
i have openldap server with phpldapadmin as a gui, i'm gonna use the ldap server just for address book.you can see in the picture how i built my ldap db.
View 6 Replies
View Related
May 26, 2011
I have setup openldap and samba for authenticating Windows and Linux clients on my server. They are working fine. Windows users are getting authenticated through server as Primary Domain Controller and Linux clients directly from Openldap directory. But I have little problem that is I want to mount home folders created on server to be available on clients so clients get a centralized storage with some quota on both Linux and Windows clients. Can you help me please how can I do that.
View 3 Replies
View Related
Jul 24, 2010
how to display status of assigned & free ip addresses in a DHCP range assuming that i am working on a DHCP server ?
View 1 Replies
View Related
Apr 20, 2010
alright so i set up dhcp server and my clients are getting ip's, can ping each other, and can ping/ssh the server. but nowhere beyond that.
however if i ping an externel site, i get its IP addr, but no pings (100% loss)
im ripping my hair out over this. i know that iptables is right, but i dont know about dns
idk if this helps:
Code:
pavel@ubuntu-server:~$ cat /etc/network/interfaces
auto lo br0 eth0 eth1
iface lo inet loopback
#mapping hotplug
[Code].....
View 9 Replies
View Related
Jun 21, 2010
I must be very thick as i cannot seem to get my dhcp clients to connect to the Internet properly.
on my lucid server i installed dhcp3 server and bind9, i can ping and dig all on the local network. on the clients however, as soon as i go out of the local network there's messages like "unknown host www.google.com" or "network is unreachable".
View 9 Replies
View Related
Mar 8, 2011
I don't really have a reason for this currently. I recognize all the MAC address on my DHCP client list and keep it rather well locked down. I was just wondering if there was something I could run on the terminal to get more information on a given MAC address on my network. Something kind of like whois for websites.
View 1 Replies
View Related
Dec 18, 2010
I have a windows and a linux box running DHCP respectively. The problem is whenever my client system boots up, it fetches the dynamic IP from the windows box. What should I do in order for my Linux box to provide dynamic IP's to clients? Both servers are in a single network. connected via switch.
View 1 Replies
View Related