DHCP IssuesB

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

 



I'm pretty new to netfilter so bear with me.  I have a server that has a
quad card, currently the card is configured:

eth0 -> internet
eth1,eth2 -> not active (yet)
eth3 -> internal lan 10.2.0.0/24 network

I am running dhcpd on eth3 and everything works ok, except for the
renewing of addresses.  For example:

1. Connect a laptop to the network and power up, get an address ok.
2. Release the address and then renew the address, get an address ok.
3. Perform a renew on the laptop and it fails.

My rules are setup as follows:

iptables -A INPUT -i eth3 -p udp -s 0.0.0.0 --sport 68 -d 255.255.255.255
	--dport 67 -j ACCEPT
iptables -A INPUT -i eth3 -p udp -s 0.0.0.0 --sport 68 -d 10.2.0.1
	--dport 67 -j ACCEPT
iptables -A INPUT -i eth3 -p udp -s 10.2.0.0/24 --sport 68 -d 10.2.0.1
	--dport 67 -j ACCEPT

iptables -A OUTPUT -i eth3 -p udp -s 0.0.0.0 --sport 67 -d 255.255.255.255
	--dport 68 -j ACCEPT
iptables -A OUTPUT -i eth3 -p udp -s 10.2.0.1 --sport 67
	-d 255.255.255.255 --dport 68 -j ACCEPT
iptables -A OUTPUT -i eth3 -p udp -s 10.2.0.1 --sport 67 -d 10.2.0.0/24
	--dport 68 -j ACCEPT

Does this make sense? What am I missing?

Thanks

-- 
-Tim Miller

"You are who you become"

Email: tj.miller@xxxxxxxxxxxxxxx
Registered Linux User #302727


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux