Re: Assistance with DHCP server setup.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-01-28 at 18:39 -0700, Craig White wrote:
> On Thu, 2009-01-29 at 12:31 +1100, Simon Slater wrote:
> > On Wed, 2009-01-28 at 18:24 -0700, Craig White wrote:
> > > My theory is that a 'server' should have fixed ip addresses if at all
> > > possible.
> > > 
> > > I don't see what is to be gained by having two ethernet interfaces on
> > > the same network but I do on occasion make extra virtual ethernet
> > > devices for things like apache myself. I am just wondering what it is
> > > that you hope to accomplish by doing that.
> > > 
> > I want to set this server up as the main interface to the internet so
> > one NIC (eth0) connects to the Linksys DSL router & internet, the other
> > NIC in the same box (eth1) connects to the internal LAN.
> ----
> since dhcp sets 192.168.1.254 as the 'router' address, I presume that
> all internal LAN will use the Linksys DSL router and thus both eth0 and
> eth1 will have a path to the Linksys DSL router ensuring duplicity.
> 
> You probably will want to identify...
> 
> GATEWAYDEV=eth0
> 
> in /etc/sysconfig/network because it's a crapshoot otherwise
> 
> Craig
> 
Well progress is better than yesterday, dhcpd fails but today I still
have internet.  Following are the amended dhcpd.conf and the avc denials
in case they give a clue to what's happening.

[root@dell ~]# cat /etc/dhcpd.conf
#Sample /etc/dhcpd.conf
# (add your comments here)
ddns-update-style none;
default−lease−time 600;
max−lease−time 7200;
option subnet−mask 255.255.255.0;
option broadcast−address 192.168.1.255;
option routers 192.168.1.254;
#option domain−name−servers 192.168.1.1, 192.168.1.2;
#option domain−name "mydomain.org";
authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.199;

}
[root@dell ~]#

[root@dell ~]# service dhcpd start
Starting dhcpd:                                            [FAILED]
[root@dell ~]#

When running restorecon /etc/dhcpd.conf the avc message is:

SELinux is preventing restorecon (setfiles_t) "read write"
unconfined_t. 

When restarting the network there are 3 messages:

SELinux is preventing pppd (pppd_t) "read write" unconfined_t. 
SELinux is preventing arping (netutils_t) "read write" unconfined_t. 
SELinux is preventing ip (ifconfig_t) "read write" unconfined_t. 

When starting dhcpd :

SELinux is preventing dhcpd (dhcpd_t) "read write" unconfined_t. 

I hope this means something to someone.

-- 
Regards,
Simon Slater
Registered Linux User #463789. Be counted at: http://counter.li.org/

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux