Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th October 2008, 07:39 AM
cwahlin Offline
Registered User
 
Join Date: Jan 2008
Posts: 11
dhcp server will not start on "dummy" interface

I am tring to set up a central DHCP server for a large WLAN network. All client requests are forwarded b routers around the network, so there are no broadcast requests.

Anyway, we like to set up our servers with a physical address, and then dummy addresses behind it for the services that the server runs (easier to move services around between servers). So, this is what I have:
Quote:
dummy0 Link encap:Ethernet HWaddr 32:45:59:F1:07:87
inet6 addr: fe80::3045:59ff:fef1:787/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:210 (210.0 b)

dummy0:4 Link encap:Ethernet HWaddr 32:45:59:F1:07:87
inet addr:172.21.127.4 Bcast:172.21.127.4 Mask:255.255.255.255
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1

dummy0:14 Link encap:Ethernet HWaddr 32:45:59:F1:07:87
inet addr:172.21.127.14 Bcast:172.21.127.14 Mask:255.255.255.255
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1

eth0 Link encap:Ethernet HWaddr 00:08:74:92:AE:7B
inet addr:172.21.127.34 Bcast:172.21.127.47 Mask:255.255.255.240
inet6 addr: fe80::208:74ff:fe92:ae7b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:36496 errors:0 dropped:0 overruns:0 frame:0
TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2569172 (2.4 MiB) TX bytes:12817 (12.5 KiB)
Interrupt:18 Base address:0x8c00
The DHCP server does not want to start on the dummy interfaces!! Why is this? I can send dhcp requests to the dummy address, but the server replies with the eth0 address.

The ifcfg for the dummy interface looks like this:
Quote:
DEVICE=dummy0:14
IPADDR=172.21.127.14
NETMASK=255.255.255.255
ONBOOT=yes
I have also tried to force the DHCP server to start on the dummy interface with DHCPDARGS set to dummy0:14 but I get the following error:
Quote:
No subnet declaration for dummy0:14 (no IPv4 addresses).
But I do have it declared in the conf!
Quote:
subnet 172.21.127.14 netmask 255.255.255.255 {
}
Anyone? I have googled but found no answer...

/Carl

Last edited by cwahlin; 24th October 2008 at 07:41 AM.
Reply With Quote
  #2  
Old 24th October 2008, 07:04 PM
zackf Offline
Registered User
 
Join Date: Nov 2006
Location: South Carolina
Posts: 798
Call me a layman but if your subnet mask is 255.255.255.255 in dhcpd.conf what addresses is it supposed to assign?
Reply With Quote
  #3  
Old 24th October 2008, 10:14 PM
cwahlin Offline
Registered User
 
Join Date: Jan 2008
Posts: 11
We are relaying dhcp requests from other subnets to this DHCP server. This is what one of the subnets might look like:
Quote:
subnet 10.140.137.0 netmask 255.255.255.0 {
range 10.140.137.5 10.140.137.250;
option routers 10.140.137.1;
option broadcast-address 10.140.137.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 172.21.127.4;
}
This works fine. But since I am relaying DHCP requests to the dummy0:14 interface, I would like the server to reply with this address instead of the eth0 interface like it is doing now. Just makes firewall rules much cleaner, and if we ever move the dhcp service to a different machine, we will not have to change the firewall rules, just move the dummy0:14 interface.

/Carl
Reply With Quote
  #4  
Old 24th October 2008, 10:33 PM
jrummy27's Avatar
jrummy27 Offline
Registered User
 
Join Date: May 2007
Location: Raleigh, NC
Age: 29
Posts: 304
I had this same problem a year or so ago and I don't think I ever got past it. Try adding the interface to /etc/sysconfig/dhcpd like so
Code:
DHCPDARGS="dummy0:14"
If that doesn't work and you do figure it out, please post your solution since I remember pulling my hair out on this one
__________________
"Ooh, they have the internet on computers now" -Homer
Reply With Quote
  #5  
Old 24th October 2008, 10:35 PM
cwahlin Offline
Registered User
 
Join Date: Jan 2008
Posts: 11
Tried that, but that is when I get the error: "No subnet declaration for dummy0:14 (no IPv4 addresses). "

/Carl
Reply With Quote
  #6  
Old 24th October 2008, 10:43 PM
jrummy27's Avatar
jrummy27 Offline
Registered User
 
Join Date: May 2007
Location: Raleigh, NC
Age: 29
Posts: 304
Ah sorry I missed that part. I have no clue then
__________________
"Ooh, they have the internet on computers now" -Homer
Reply With Quote
  #7  
Old 19th February 2009, 10:33 PM
rampuji Offline
Registered User
 
Join Date: Feb 2009
Posts: 13
i am new here.

some one please tell me step by step from starting.


Thanks
Rampuji
Reply With Quote
Reply

Tags
dhcp, dummy, interface, server, start

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"failed to start the x server..." but finally it restarts, without changes being made yersin Using Fedora 8 11th April 2008 05:17 AM
"X Server Failed To Start" xeonman9000 Using Fedora 17 14th September 2006 05:02 PM
Error:visibility arg must be one of "default", "hidden", "protected" or "internal" wangfeng Using Fedora 0 23rd May 2005 04:59 AM
"I cannot start the X Server" Monitor Problem d60eba Using Fedora 7 29th September 2004 02:56 AM
"I cannot start the X server" kingchiba Using Fedora 6 2nd August 2004 11:35 PM


Current GMT-time: 01:25 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat