dhcp renew rules question

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

 



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


[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