<div dir="ltr"><br clear="all">Hi list<br>In my school, I need to have a PC that act like router since I have not public addresses.<br><br>I have followed many link (<a rel="nofollow" href="http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/" target="_blank">http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/</a>, the doc of fedora ....).<br>
All tell the same thing.<br><br>Unfortunally,
When I follow them, I have no results! When I ping an adsress from a
windows PC (192.168.10.7) I have no response.<br><br>here is my configuration.<br><br>Can you help plz<br>
<br>Regards<br>ps: I am on fedora 10 and iptables is disabled.<br><br><br><br><br><br><br>[root localhost ~]# ifconfig <br>eth0 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E <br> inet addr:41.229.61.107 Bcast:41.229.61.255 Mask:255.255.255.0<br>
inet6 addr: fe80::218:8bff:fedb:7e9e/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:3183 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:3256 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:1000 <br> RX bytes:872353 (851.9 KiB) TX bytes:476139 (464.9 KiB)<br> Interrupt:17 <br><br>eth0:1 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E <br> inet addr:192.168.10.10 Bcast:192.168.10.255 Mask:255.255.255.0<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> Interrupt:17 <br><br>lo Link encap:Local Loopback <br> inet addr:127.0.0.1 Mask:255.0.0.0<br> inet6 addr: ::1/128 Scope:Host<br>
UP LOOPBACK RUNNING MTU:16436 Metric:1<br> RX packets:16623 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:16623 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br>
RX bytes:495159 (483.5 KiB) TX bytes:495159 (483.5 KiB)<br><br>[root localhost ~]# route <br>Kernel IP routing table<br>Destination Gateway Genmask Flags Metric Ref Use Iface<br>41.229.61.0 * 255.255.255.0 U 0 0 0 eth0<br>
192.168.10.0 * 255.255.255.0 U 0 0 0 eth0<br>link-local * 255.255.0.0 U 1002 0 0 eth0<br>default 41.229.61.65 0.0.0.0 UG 0 0 0 eth0<br>
[root localhost ~]# iptables<br>iptables v1.4.3.2: no command specified<br>Try `iptables -h' or 'iptables --help' for more information.<br>[root localhost ~]# cat /etc/sysctl.conf <br># Kernel sysctl configuration file for Red Hat Linux<br>
#<br># For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and<br># sysctl.conf(5) for more details.<br><br># Controls IP packet forwarding<br>net.ipv4.ip_forward = 1<br><br># Controls source route verification<br>
net.ipv4.conf.default.rp_filter = 1<br><br># Do not accept source routing<br>net.ipv4.conf.default.accept_source_route = 0<br><br># Controls the System Request debugging functionality of the kernel<br>kernel.sysrq = 0<br>
<br># Controls whether core dumps will append the PID to the core filename.<br># Useful for debugging multi-threaded applications.<br>kernel.core_uses_pid = 1<br><br># Added by Cinelerra RPM from RPM Fusion<br>kernel.shmmax = 0x7fffffff<br>
<br><br><br><br clear="all"><br>-- <br><a rel="nofollow" href="http://ilovefedora.blogspot.com/" target="_blank">http://ilovefedora.blogspot.com/</a><br>-- <br><a href="http://ilovefedora.blogspot.com/" target="_blank">http://ilovefedora.blogspot.com/</a><br>
<br>-- <br><br>PhD candidate in Computer Science<br>Address <br>BP 108, Bureau de poste Tunis republique <br>1001 Tunis<br>Tunisia<br>tel: +216 97 246 706<br>fax: +216 71 391 166<br>
</div>