IP forwarding failure in android 4.0
来源:互联网 发布:电力通信网络组网分析 编辑:程序博客网 时间:2024/06/06 20:37
http://osdir.com/ml/android-x86/2013-01/msg00114.html
Hi,I have the same problem about ip forward in android 4.0. And it works in fedora 14 and android 2.3. I don't kown the reason. So I want to kown that do you have resolved the issis. Thanks!
å 2012å3æ29æææåUTC+8äå8æ41å07çïMatthieuDåéïhi,
First, thanks for your work, Android-x86 is a great project!
I have compiled ICS generic_x86-eng and I test IP forwarding
functionality. My target has two ethernet ports. I connect two
computers(linux) to these ports.I give their ip:
192.168.0.1
192.168.1.1
In android console, i do :
netcfg eth0 up
ifconfig eth0 192.168.0.2
netcfg eth1 up
ifconfig eth1 192.168.1.2
Android target can ping 192.168.0.1 and 192.168.1.1
Now, i want that 192.168.0.1 can ping 192.168.1.1.
on 192.168.1.1: route add -net 192.168.0.0 netmask 255.255.255.0 gw
192.168.1.2
on 192.168.0.1: route add -net 192.168.1.0 netmask 255.255.255.0 gw
192.168.0.2
And finally on android target: echo 1 > /proc/sys/net/ipv4/conf/all/
forwarding
(/proc/sys/net/ipv4/conf/all/forwarding pass to 1)
Now, on 192.168.1.1, I can ping 192.168.0.2 but not 192.168.0.1.
it seems that IP forwarding doesn't work.
I look in kernel config, but i don't find that can I change..Anyone
got an idea?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/2VKefmCHlP4J.
To post to this group, send email to android-x86@xxxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to android-x86+unsubscribe@xxxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
- IP forwarding failure in android 4.0
- [android-x86] IP forwarding
- How to enable IP Forwarding in Linux
- How to Enable IP Forwarding in Linux
- IP Forwarding打开
- IP Forwarding打开
- IP Forwarding打开
- enabling ip forwarding
- ERROR: Failure processing PNG image in Android
- centos7 ip forwarding 的坑
- Android Property System (Forwarding)
- Netsh Port Forwarding in Windows
- 打开转发IP功能(IP forwarding)
- Item30 Familiarize yourself with perfect forwarding failure cases
- android小错误:Failure retrieving text 0x7f050001 in package
- Failure Groups in ASM
- IP address could not be resolved: Temporary failure in name resolution
- IP address could not be resolved: Temporary failure in name resolution
- 项目:微空间
- Python input和raw_input的区别
- 《leetCode》:Lowest Common Ancestor of a Binary Search Tree
- 浅谈服务器性能测试的全生命周期——从测试、结果分析到优化策略
- JavaScript给网页添加水印
- IP forwarding failure in android 4.0
- windows下的mysql-5.6.22-winx64解压过后怎么安装,没有setup.exe
- Android Mvp解耦_Retrofit2_RxJava_RxAndroid_RxCache_Jdk 1.8 lambda
- flexpaperviewer跨服务器访问swf不显示问题
- Android数据库更新并保留原来数据的实现
- 34、ajax
- Codeforces-691C-Exponential notation(模拟)
- 1210
- 字符,字符集,字符编码和显示等问题