I have Pidora (Fedora on a Raspberry Pi) that is currently acting as a Ethernet to WiFi "bridge".
I have dhcpd configured to hand out IPs in the range of 10.0.2.25 - 10.0.2.30, netmask is 255.255.0.0. This is configured against my Ethernet interface which has an IP of 10.0.2.1, which is the same as the dhcp router option.
I can see through arp that IPs are being handed out to devices.
I also has a wireless connection to my wireless router and I have configure it to obtain an address statically. The address is 10.0.1.55
I have changed the ipv4 to forward traffic and I have also used the following iptables to forward the traffic:
sudo iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE sudo iptables -A FORWARD -i wlan0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT sudo iptables -A FORWARD -i eth0 -o wlan0 -j ACCEPT
I can now plug in any device to the Pis ethernet obtain an IP and connect to the outside internet via my wifi.
I can't however seem to ping (or do anything) to addresses on the ethernet interface. For example if I plug another computer into the ethernet and it gets assigned an address of say 10.0.2.27 I can't ping form a device connected to my wireless that has an address like 10.0.1.10
Any help is greatly appreciated. :-)