Server :: DHCPD: Subnet On A Different VLAN

Jun 8, 2010

I am trying to provide dynamic IP addresses for devices that are on a different VLAN (101). The server is currently providing 172.17.x.x/16 range for its own VLAN (417). My server is RHEL4 and DHCPD is version 3.0.1. The core switch (Cisco 3750) is configured with ip-helper on VLAN 101 interfacce. Here is my dhcpd.conf file:

authoritative;
ddns-update-style ad-hoc;
omapi-port 7911;
shared-network eth1

[code].....

However my laptop on the VLAN 101 keeps getting IP of 172.17.x.x/16 range..

View 4 Replies


ADVERTISEMENT

Networking :: VLAN With 2 Router And 2 Subnet - Is Device In Different Subnet Works

Jul 22, 2011

I have TWO L3 + router switch (say switch1 and switch2). I created VLAN100 with VLAN ID 100 in both the switches. I created router 192.168.1.1/24 in Switch1. I created router 192.168.2.1/24 in Switch2. Switch1 is connected with 1.x/24 PCs. PCs are configured with 1.1 gateway. Switch2 is connected with 2.x/24 PCs. PCs are configured with 2.1 gateway. Both Switch1 and switch2 are connected by a trunk to carry VLAN100 data.

1)I have few PCs of 1.x connected to say Switch1 Is it possible for PC with IP 192.168.1.100(x) to ping PC with IP 192.168.2.100(y)?What are the configuration required in both switches to make them communicate ? All the device in both the subnets should ping/communicate with each other.

2)Move PC (192.168.1.100) to switch2. Move PC (192.168.2.100)to switch1.What will happen when PC(1.100) ping (2.100) and vice versa?What will happen when PC(say 1.80 in switch1) pings PC (say 1.100 in switch2) and vice versa? What will happen when PC(say 1.80 in switch1) pings PC (say 2.100 in switch1) and vice versa?

View 2 Replies View Related

CentOS 5 Networking :: VLAN And Gateway Outside Of Subnet?

Jan 12, 2011

My company hosts five Servers with CentOS 5 installed in a Data Center. The Data Center assigns a VLAN to each customer so that they can organize customers and also count traffic. The VLAN assigned to my company is in the form 62.103.X.X with a subnet mask 255.255.255.240 so the IPs that we can use in our Servers are 13. The first IP in the VLAN (for example 62.103.1.1) is the Gateway and the rest, that are calculated from the subnet mask, are assigned to servers(62.103.1.2 up to 62.103.1.14).

The problem I have is that we have run out of IPs in our VLAN. We have used all IPs and we want some more. The Data Center can assign new IPs but not grow our VLAN IPs by expanding the subnet mask. So they gave us a new VLAN with some IPs (for example 62.104.X.X with a subnet mask 255.255.255.192) They told me that I had to use as gateway the gateway of the first VLAN 62.103.1.1 and assign the new IPs as usual. So I assigned to one of the CentOS 5 servers the IP 62.104.1.2 and set the gateway to 62.103.1.1. Unfortunately this did not work and we could not establish connectivity to the Internet.Is it possible to assign a gateway outside of the IPs that are in the subnet? Could it be a problem with the VLAN setup by the Data Center?

View 4 Replies View Related

Networking :: Route Non-vlan Packet To A Vlan Interface

Apr 20, 2010

do you know if there is any possibility to route/force non-vlan packet to a vlan interface in Linux?

View 2 Replies View Related

General :: Dhcpd Can't Create Dhcpd.pid Ubuntu 11.04 (natty)

Jun 20, 2011

I've found a lot of pages of how to fix the issue on older releases of dhcpd and ubuntu.

#>dhcpd
#> ...
#> Can't create PID file /var/run/dhcpd.pid: Permission denied.

I have tried creating the file and giving it permissions to be accessed, but that isn't solving the issue. I tried to go through some of the older fixes, and one was really close to working but lacked the same folders as I have.

EDIT: one solution that worked was to use ln -s /var/run/dhcp3-server/dhcpd.pid /var/run/dhcpd.pid dhcpd3 -cf /etc/dhcp3/dhcpd.conf at0

View 1 Replies View Related

Networking :: Can't Browse Computer Of One Subnet From Another Subnet

Jul 4, 2011

I installed Redhat Enterprise linux server5. it has two LAN card and two subnet connected to these two LAN card. i can browse network from these two network easily. But i created VLAN on one network card.Now i cant browse network from these VLAN subnet.

View 3 Replies View Related

Networking :: How To Find What Vlan My Server Is On

May 10, 2011

Is there a way to see the vlan tagging associated with an ip addresses on my centos servers from their command line?

View 3 Replies View Related

CentOS 5 Server :: TFTP-server Unable To Send Files To Clients Outside It Subnet?

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

Networking :: 2 Subnet 1 Httpd Server And 2 Dns Server How To Config?

Jun 14, 2009

I would like to setup 2 linux machine each with two ethernet cards, and need to connect to two subnet e.g. 192.168.*.* and 10.0.*.* . If one linux machine out of order, the other will take over all the services(1 httpd and two named(192.168.*.1 and 10.0.0.1 as server ip). What network config is best and easy to failover to other machine?

View 1 Replies View Related

Server :: Dhcpd Not Updating DNS Correctly?

Apr 13, 2010

it appears i haven't quite grasped the meaning of dhcpd.conf despite the numerous tutorials i went through in the internet and the detailed read of dhcpd.conf that i did. what i basically want to put you in perspective, is to have all the pc's in my home network (desktops and laptops) regardless of any other settings, to send their computer name (hstname basically) to the dhcpd (during the handshake)... then the dhcpd will use that name as the hostname and append the known domain name, thus creating an entry (an A record and a PTR record) in BIND....

so say a laptop comes into wifi range of the domain "myhome.org."... i take it that during handshake, the laptop will send its hostname (i don't know what that will be for winXP and win7 dhcp clients, but i presume it will send the output of command 'hostname' for linux clients - or at least thats what i would like it to send....).say "nass-notebook" Then the server will append "myhome.org." and it will update the DNS with an entry looking like[URL].. corresponding to some ip address.

[Code]...

View 12 Replies View Related

Red Hat :: DHCPD Server With Decreased IPs Range

May 9, 2011

I have a RHEL 5 64bits installed on a virtual server. I set up a a dhcpd server for one subnet last week and I have a strange behavior : the IPs are provided in a decreasing order. What's the? So I have tried to exchange range values but the result remains the same.

Package version installed :
yum info dhcp
Installed Packages
Name : dhcp
Arch : x86_64
Epoch : 12
Version : 3.0.5
Release : 23.el5_6.4
Size : 2.2 M
Repo : installed
Summary : DHCP (Dynamic Host Configuration Protocol) server and relay agent
License : distributable

Here's the dhcpd.conf :
ddns-update-style none;
#autorisation du pxe
allow bootp;
allow booting;
authoritative;
log-facility local7; .....

View 2 Replies View Related

Ubuntu Networking :: Setup A Dhcpd Server On Lan?

Jul 22, 2010

I have setup a dhcpd server on my lan with the following option to reflect the static route to my private LAN.

dhcpd.conf

Code:
option static-routes 10.0.0.0 192.16.5.0

I've tested it on OpenSUSE, ArchLinux and even Windows dhcp clients and they've managed to pull the static route configuration. However, to my suprise on my ubuntu machines this doesn't seem to load. Is there anything that needs to be done on the client's side to get this to work?

View 2 Replies View Related

Server :: Configuring Dhcpd.conf With Ip Reservations?

Mar 11, 2010

While configuring dhcpd.conf on centos 4 I couldn't find option to reserve that ip addresses. I have subnet of 10.0.0.0 network of which i want reserve 1 - 50 addresses for my servers. I'll assign static ips to my servers & printers.

[Code]...

View 6 Replies View Related

Server :: Completely Disable Dhcpd Logging?

Mar 15, 2010

Ive searched forums and read syslog dhcpd man pages, but cannot figure out how to completely disable dhcpd logging :S

View 6 Replies View Related

Server :: IP Range For A Group In Dhcpd.conf?

Jan 11, 2010

Is there any way to associate a group to subnet in dhcpd.conf? I want hosts in a specific group to be locked to an IP range defined in subnet. Something like this:

Code:
authoritative;
ddns-update-style ad-hoc;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.1 192.168.0.100;
option blah1;

[Code]...

View 1 Replies View Related

Server :: Many Entries In DHCPD Lease File

May 10, 2011

I've a question about how work dhcpd. I'm on CentOS 5.6. I has a dhcpd server on it. His configuration:

authoritative;
ddns-update-style none;
deny declines;
deny bootp;

option domain-name "mydomain.domain";
option domain-name-servers IP;
option routers IP;
option time-offset -18000;
#option ntp-servers IP;

subnet IP netmask MASK {
range IP START IP END ;
default-lease-time 86400;
max-lease-time 172800; }

And now in the /var/lib/dhcpd/dhcpd.lease file, there few entrie for the same IP. Sometime I've ten same entries for the same IP. Can I have only one entrie by IP? Is there any problems in my configuration of my dhcpd.conf file?

View 10 Replies View Related

Server :: Install Other Package Like Bind Dhcpd?

Sep 3, 2010

My Yum server gives error message while installing packages like rpmts_HdrformFdno: Header V3 DSA Signature: NOKEY, KEY, Key ID 37017186" Samba-3.0.33-3.7.el5.i386 rpm is not install.

But I can install other package like bind dhcpd etc.

View 4 Replies View Related

Server :: DNS Server Not Reachable From Different Subnet Intermittently

Aug 27, 2010

We are having two DNS servers working as master and slave in our DMZ network subnet.DMZ network consist other servers also, but only the DNS servers intermittently becomes unreachable (no ping response) from different subnets whereas the internal communication (within subnet) happens at that time.From the DNS server we are unable to ping gateway ip also when the issue arises.We tried changing the port where DNS servers connected in DMZ switch and even reformatted the OS and reconfigured DNS but nothing seems to be working.We even tried changing the IP address of the server but after few days the New IP Address also gets affected

We google around a lot tying to fix the issue but no solution has yet come up.We are not even sure whether it is server issue or a network issue.

View 4 Replies View Related

Software :: Install Trac On A Server That's On A Private Development VLAN (no Internet Access)?

Apr 6, 2010

I need to install Trac on a server that's on a private development VLAN (no internet access). Obviously Trac needs to go out over the internet to download/install various things. Does anyone know of an RPM or tarball out there that I can use to install Trac without being connected to the net?

View 2 Replies View Related

Server :: Setting Fix IPAddress And Subnet?

Dec 2, 2009

I am new to Ubuntu 9.10. I have installed Ubuntu and it's working fine. I would like to set fix IPAddress and Subnet.

View 1 Replies View Related

Server :: How To Configure Reverse Zone For X.x.x.x/18 Subnet

Feb 24, 2011

how to configure reverse zone for x.x.x.x/18 subnet ,all the example on the internet are for /24 or /16 subnets?

View 9 Replies View Related

Debian Configuration :: Dhcpd Server Behavior Seems To Have Changed In Squeeze?

Aug 9, 2011

I've been using dhcpd for address assignments to PCs for a very long time with no issues. I recently upgraded from lenny to squeeze and now dhcpd seems to have new behavior which I can't seem to change. Here's what I want to do. First, I have a simple situation and don't want to get involved with dynamic DNS updates. I have host statements for each of my PCs and a range statement for cases where I install a new device and don't yet have a host statement for it. Previously, I could discover the ethernet address for the new device from the dhcpd log and add a host statement with an address of my choosing for the new device.

I'd then restart dhcpd and do something like reboot the device or issue an ipconfig /renew statement on the new PC. What would happen is that the old dynamically assigned IP address would be NAKed and the device would do a DHCPDISCOVER, etc. and get the new IP address I specified in the dhcpd.conf host statement. In squeeze, this no longer works. The client asks for the old address it got dynamically and the server just says yes. I can't seem to find a way to get it to NAK the dynamic address and use the new address I've specified in the host statement. I'd appreciate any enlightenment on how this is now supposed to be done. Here's my simplified dhcpd.conf file:

authoritative;
log-facility daemon;
ddns-update-style none;

[code]....

Note that the address here was assigned based on a previous range statement and isn't consistent with the above config file.

View 2 Replies View Related

Server :: Dhcpd - Keep Lease Even If Device Sends Expiration Packet?

Jul 13, 2011

I have a dhcpd server running CentOS and Webmin. I noticed in my lists of expired leases some of the lease times are only a few hours even thought I have lease length set to 1 week. I want to keep a lease for a week even if the device requests that it be expired. Is there some way I can do this in dhcpd? I am attaching a screenshot of some of my lease times listed in Webmin.

View 4 Replies View Related

CentOS 5 Server :: DHCPD On ETH1: Distribute ETH0-received DNS?

Sep 14, 2009

this should be trivial for all you big sysadmin guys My box is a firewall/gateway. ETH0 is on the Internet-side, and is fully auto-configured (DHCP client) from my ISP. ETH1 is on the LAN-side, has DHCPD enabled, and I route the traffic to/from the Internet via iptables (NATting, of course). Everything works pretty good, except for the DNS-server assignment via DHCP: how can I configure dhcpd.conf to assign the SAME dns-server I receive from my provider on ETH0 to all my PC on ETH1?

View 8 Replies View Related

Server :: Getting Samba Shares To Work Across Subnet Boundaries

Jul 8, 2011

My environment in a nutshell is like this:
- I'm a member of a Windows AD domain environment that spans many different subnets.
- My client workstation (Windows XP) is part of this domain and resides on one subnet.
- The server I'm trying to get Samba working on (SLES 10) is part of the same domain but resides on a different subnet.
- I want to access shares on the SLES 10 box from my workstation.

Here is what does work:
1. I can ping the workstation from the SLES box, both by hostname and ip.
2. I can ping the SLES box from my workstation, both by hostname and ip.
3. netstat -an shows that the SLES box is listening on ports 139 and 445.
4. I can telnet from my workstation to the SLES box on ports 139 and 445.
5. Output from smbclient -L coolserver (hostname obfuscated):

Code:
Anonymous login successful
Domain=[COOLDOMAIN] OS=[Unix] Server=[Samba 3.5.8-30.4-2516-SUSE-CODE10-x86_64] .....

Code:
Enter cooluser's password:
Domain=[COOLDOMAIN] OS=[Unix] Server=[Samba 3.5.8-30.4-2516-SUSE-CODE10-x86_64]
smb: >
So, cross-subnet communication seems to be working in a general sense and I have verified that my share is present and accessible by my chosen user id.

Here's what doesn't work (from the workstation):
1. Output from net view \coolserver:
Code:
System error 64 has occurred.
The specified network name is no longer available.

2. Output from net view \coolservercoolshare:
Code:
System error 5 has occurred.
Access is denied.

3. Same output as above if I try to connect via IP.
However, when I run any of the above commands from my workstation, I see the following in log.smbd on the SLES box:

Code:
coolworkstation (10.49.140.36) connect to service coolshare initially as user cooluser (uid=12171, gid=500) (pid 29039)
[2011/07/08 00:39:29.098422, 1] smbd/service.c:1251(close_cnum)
coolworkstation (10.49.140.36) closed connection to service coolshare

I'm not really sure how to interpret this because those are the exact same entries that get logged when I connect to the share locally, via the smbclient utility on the SLES box, which works fine... but from the Windows box I get the "Access is Denied" or "The specified network name is no longer available" errors. I also occasionally see this in log.smbd:

Code:
[2011/07/08 01:01:19.858308, 1] smbd/server.c:240(cleanup_timeout_fn)
Cleaning up brl and lock database after unclean shutdown
[2011/07/08 01:01:33.828692, 0] printing/print_cups.c:108(cups_connect)
Unable to connect to CUPS server localhost:631 - Connection refused
[2011/07/08 01:01:33.832127, 1] smbd/server.c:282(remove_child_pid)
Could not find child 29781 -- ignoring

I don't know if that is relevant. I created the Samba user via the smbpasswd utility and my smbusers file maps the system user directly to the Samba user, both of which have the same password. Here is my smb.conf:

Code:
[global]
workgroup = COOLDOMAIN
netbios name = coolserver
domain master = no
preferred master = yes
local master = yes
wins support = no .....

My workstation and the SLES box are both pointing to the same WINS server, which services the entire domain (which is also one of the DC's and one of the DNS servers). I'm really not sure what's going on. I'm guessing it probably has something to do with the subnet boundaries or the WINS configuration or something along those lines. I just don't understand because the smb daemon seems to be logging "successful" sessions from my workstation... but then the session just insta-closes.

View 1 Replies View Related

Fedora :: Make 13 Box DHCP Server For Network - Cann't Find Dhcpd In YUM

Nov 10, 2010

I would like to make my Fedora 13 box a DHCP server for my network. I can not find dhcpd in YUM. Is there a way to make my Fedora box a dhcp server? This was relay easy with Suse, but my Opensuse box just suffered a hard drive failure.

View 1 Replies View Related

General :: Using For The Server - Bash: /etc/init.d/dhcpd.conf: No Such File Or Directory

Aug 24, 2010

# /etc/init.d/dhcpd.conf -bash: /etc/init.d/dhcpd.conf: No such file or directory what is the problem? and how to configure out "joe"

View 5 Replies View Related

CentOS 5 Networking :: DHCP Multi-Subnet From Single Server?

Oct 24, 2010

I've got a bit of a question. My network is laid out like this:

The role assignments are thus:

Firewall - sorts out the passing through to the 3 different networks, and acts as the traffic proxy.
Windows 2003 server - Does Active Directory and DNS
CentOS server - FTP and DHCP

Now, my problem is I need the CentOS server to be able to assign IP address to both networks, however, the CentOS server can *ONLY* be connected via the one interface to the firewall. It needs to assign the Windows 2003 server and the eth0 of the firewall an IP address via static DHCP, but it also needs to able to assign the clients dynamically via any address in the 10.23.1.0/24 range. I was thinking that I would be able to create static only assignments for the servers via their MAC addresses, and only have 1 dynamically assignable entry for the clients, and then get the firewall to allow ports 67 and 68 to flow freely between eth0 and eth1, but I wasn't entirely sure of the best way to do all this.

View 1 Replies View Related

CentOS 5 Server :: DHCP Config ( No Subnet Declaration For Eth0 )?

Apr 1, 2011

I had a server that I use for Radius DNS and Trying to put DHCP on it I have My pool in it seems right. I have 2 adresses aliased one being a helper IP that the router will send the request to. When I try to start the dhcp server I get the following.

Mar 31 14:33:11 rad2 dhcpd: No subnet declaration for eth0 (76.164.173.2).
Mar 31 14:33:11 rad2 dhcpd: ** Ignoring requests on eth0. If this is not what
Mar 31 14:33:11 rad2 dhcpd: you want, please write a subnet declaration
Mar 31 14:33:11 rad2 dhcpd: in your dhcpd.conf file for the network segment
Mar 31 14:33:11 rad2 dhcpd: to which interface eth0 is attached. **

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Config DHCP Server To Assign A Different Subnet For VPN Users?

Apr 4, 2010

I'm establishing a server that runs DHCP server, NAT gateway and VPN server. It have two physical interfaces, one for intranet and one for internet. The NAT gateway will give internet access for intranet. Another site will connect to this server by VPN. I need the server to assign a different subnet for that site other than the local site. Do anyone know how to config the DHCP server? Should I config the client classing, and how to do it?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved