1. intro

We assume that your fedora is running on a laptop with a wireless uplink on wlan0.

The onboard network interface eth0 will be used as a dhcp server and router to the internet via wlan0.

2. eth0

ifconfig eth0
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t "nat" -A "POSTROUTING" -o "wlan0" -j "MASQUERADE"

3. dhcp

yum -y install dhcp
vi /etc/dhcp/dhcpd.conf
default-lease-time 86400;
log-facility local7;
#option domain-name "d01.net";
option domain-name-servers;

subnet netmask
         option routers;
         pool {range;}
dhcpd eth0 -d