dhcp renew issue and add iptalbes rule

原创 2012年03月27日 23:31:00

    昨天,碰到一个dhcp client renew ip 的时候,网关无法配置成功的问题。目前仍旧没有思路。在此做一个笔记,顺便理一理思路。

    1, renew 的时候,request的是同一个ip,通常网关是不变的,此时。若发现网关未变化,不需要删除default route , then add default again. so, need judge weather the default is changed. we can set a flag.

    2. another case: when dhcp client perform renew, dhcp client get a new ip, but the default route does not change, but this time, kernel will delete default route, we should add default again when we process dhcp option.

    3. but judge ip is change or default route is change , are in two file. how to define a flag can be modified in this 2 files ? share memory ?

    4. if is in share memory, what time to reset the flag, we should make sure, everytime perform renew. we can consider everytime we receive an dhcp-ack.


today we do intergrate test with cwp, we found iptables didn't work. we should consider.

and new event is define, we should modify code to fix it.


DHCP配置实验指导书 ISSUE1.1

  • 2016年12月06日 09:13
  • 277KB
  • 下载

path and issue for angowx

d:\linux\linuxkernel\WORKING_DIRECTORY\android-omap-20111108-gingerbread\dalvik\libnativehelper\incl...

Unix Network Programming Volume 1 Compile issue solution for the 2nd and 3rd edition

Unix Network ProgrammingVolume 1: The Sockets Networking API.Compile issue solution for the 2nd and ...

RHEL6 LDAP server configuration issue and solve

Summary Problem and resolve no DB_CONFIG file db_openvarlibldapid2entrybdb failed No such file or di...

RelativeLayout layout_centerInParent and layout_below issue

RelativeLayout layout_centerInParent and layout_below issue up vote2down ...

Association Rule Learning and the Apriori Algorithm

(This article was first published on Statistical Research » R, and kindly contributed to R-blogger...

Mobile's main Camera inverted and 3rd apk's main camera inverted issue

第三方apk的主camera出现了预览和拍照图片的倒转问题而我们自己的主camera是正常的。一开始以为是显示的问题,后来修改了copybit之后没有影响。经过一番debug和对现象的分析之后,确定了...

xcode 5 cert and provision profile issue

Ref Links: https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionG...

ubuntu install ffmpeg to make and not found 'ffplay' exe issue

ffmpeg 是很强大的编解码库,可以编解码视频和音频。通俗的说是可以做播放器。我的是Ubuntu Linux 11.04(我觉得Linux版本没有什么关系,只不过是SDL库对ffplay的生成很重要...
  • meic51
  • meic51
  • 2013年08月30日 16:27
  • 894
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:dhcp renew issue and add iptalbes rule
举报原因:
原因补充:

(最多只允许输入30个字)