Hi everyone , i am doing here a project with my RPI , and i have some issues on forwarding traffic between 2 interfaces on my raspberry .
The main Objective is this one :
This will work like this :
- Rpi using Wireless card will get internet from one of the wireless routers
- RPI will forward traffic from eth0 to wlan0 and vice-versa
-RPI will act as a dhcp router
-Connected to ETH0 port of RPI will be a network switch
What did i installed so far :
-isc-dhcp-server
Status of the project :
- RPI is delivering dhcp leases on lan
- RPI is retrieving internet from wifi routers
What is not working :
-Clients connected to switch dont have internet access
Configurations made so far on RPI :
RPI is using static Ip address :/etc/dhcp/dhcpd.conf
subnet 10.5.5.0 netmask 255.255.255.224 {
range 10.5.5.26 10.5.5.30;
option routers 10.5.5.1;
option broadcast-address 10.5.5.31;
option domain-name-servers 10.5.5.1;
default-lease-time 600;
max-lease-time 7200;
}
-Sysctl.conf have forward ipv4 rule activated ./etc/network/interfaces
iface eth0 inet static
address 10.5.5.1
netmask 255.255.255.224
gateway 10.5.5.0
-no iptables installed
Anyone have an idea why i cant get packet forward on eth0 to wlan0 ?/etc/default/isc-dhcp-server
is listening on eth0 interface