Skip to contentSkip to conversation

dhcp renew rules question

DISCUSSION James.Q.L 1 participant 1 message Dec 26, 2002

lore
Share & tools
lore

James.Q.L

author
#0 lore raw

i am using the rules from ipmasq howto.

iptables -A INPUT -i eth0 -p tcp --sport 68 --dport 67 -j ACCEPT iptables -A INPUT -i eth0 -p udp --sport 68 --dport 67 -j ACCEPT

iptables -A OUTPUT -o eth0 -p tcp -s 192.168.0.1 --sport 67 -d 255.255.255.255 --dport 68 -j ACCEPT
iptables -A OUTPUT -o eth0 -p udp -s 192.168.0.1 --sport 67 -d 255.255.255.255 --dport 68 -j ACCEPT

Reading DHCP howto, i know When the client reaches 50 percent of its assigned lease time, it will enter the renewal phase. The client sends a DHCPREQUEST packet directly to the server that gave it its TCP/IP address. my question is will the server respond with a broadcast or a direct answer(DHCPACK) to the client ? but the rules from ipmasq seems only care about the broadcast. what about the renewal ?

=====
/James.Q.L

______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca