FC4 - dhcpd Not Working After Reboot

Greg Swallow gswallow at cfl.rr.com
Thu Jun 23 14:50:04 UTC 2005


Oops, sorry for the no sub in my last.

Glory be dhcpd is working!

At least for the a Windows box I have set up to test the network, but 
nothing is routing. Entered
what I thought would work, but this is where I usually have to do 
enough that I forget the exact
steps that make it actually function.

What I have is based on the steps published on linux.com by Aditya Nag 
("How to install a
simple network gateway").

Here's some of the files I have thus far:

ifcfg-eth0 (192.168.0.101)

DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:05:5D:2D:E3:B9
ONBOOT=yes
TYPE=Ethernet


ifcfg-eth1

DEVICE=eth1
BOOTPROTO=none
HWADDR=00:A0:CC:E2:D5:E4
ONBOOT=yes
TYPE=Ethernet
NETMASK=255.255.255.0
IPADDR=192.168.1.1
USERCTL=no
PEERDNS=yes
IPV6INIT=no
GATEWAY=192.168.0.1

Have also tried a default route on eth1 of:

Destination:     192.168.1.1
Netmask:          255.255.255.0
Gateway:          192.168.0.1 (router) and 101 (eth0)
iptables

# Generated by iptables-save v1.3.0 on Thu Jun 23 05:16:29 2005
*filter
:FORWARD ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [188:23056]
:RH-Firewall-1-INPUT - [0:0]
-A FORWARD -j RH-Firewall-1-INPUT
-A FORWARD -i ippp0 -m state --state INVALID,NEW -j DROP
-A INPUT -j RH-Firewall-1-INPUT
-A INPUT -i ippp0 -m state --state INVALID,NEW -j DROP
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp -m icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p ipv6-crypt -j ACCEPT
-A RH-Firewall-1-INPUT -p ipv6-auth -j ACCEPT
-A RH-Firewall-1-INPUT -d 224.0.0.251 -p udp -m udp --dport 5353 -j 
ACCEPT
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT
# Completed on Thu Jun 23 05:16:29 2005

Thanks for any help y'all can give.

God Bless,

GregS <><




More information about the fedora-list mailing list