dhcp renew issue and add iptalbes rule
来源:互联网 发布:淘宝我的店铺在哪里找 编辑:程序博客网 时间:2024/06/08 20:05
昨天,碰到一个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 renew issue and add iptalbes rule
- Linux Force DHCP client (dhclient) to renew ip address
- java rule and drool
- SE-Rule and Action
- DHCP and DHCP failover 扫盲
- FBO and blending issue
- [Known issue and workaround]
- iptalbes专题
- Failed to add uid rule (Invalid argument)
- IDataErrorInfo and Business rule validation
- DHCP and BOOTP区别
- BOOTP and DHCP options
- Issue report and log information.
- path and issue for angowx
- RelativeLayout layout_centerInParent and layout_below issue
- Android4: Issue 11236:DHCP client ignores lease time
- non-zero winding number rule and the even-odd rule
- rule
- C++第六周任务三设计平面坐标点类,计算两点之间距离、到原点距离、关于坐标轴和原点的对称点等
- 硬盘安装Ubuntu Server版
- 数据结构学习
- linux c
- java基础
- dhcp renew issue and add iptalbes rule
- 获取绑定变量的各种方法
- 【mysql】mysql 常用建表语句
- 把学习由复杂变简单(二叉树和树)
- 阶乘因式分解
- Linux中的mips64 tlb管理
- scanf、sscanf中的正则表达式
- 原型模式——设计模式系列
- 用u盘安装ubuntu server 9.10 fail