I'm trying to route packets between a wired-wireless-wired link. I'm using a Spirent test center as a traffic generator which routes traffic to an Access point over a LAN cable(wired link)- This Access point then routes this traffic to a windows laptop (wireless Link)which in turn must route the packet back to the Spirent test center(wired link).
The 1st port of Spirent has an IP of 192.168.1.200 and its default gateway is the IP of the access point 192.168.1.1 . Both the wired and wireless interfaces of Access Point have the same IP that is 192.168.1.1 . The ip address of the WiFi interface of the laptop is 192.168.1.163 and the Ip of the ethernet interface(connected to Spirent) is 192.168.1.165. The other port on Spirent has an IP of 192.168.3.200 and its default gateway is 192.168.1.165.
The routing table of the AP is as follows:- routes ap. The routing table of the laptop is :-routes laptop
I can't send traffic from end to end. The traffic reaches the wireless interface (.1.163) of the laptop but not the wired interface( .1.165). I tried to bridge it but it didn't work. So I disabled the bridge and set separate IPs to both the interfaces of the laptop and assigned static routes. But it still doesn't work.
EDIT1:- I bridged the interfaces of the laptop with an IP of 192.168.1.170. Now I can't ping the 2nd port of the Spirent (.3.220) at all! I could add a static route to the laptop but because the WiFi interfaces are bridged ( and therefore have the same IP and the same IF number), I dont know what default gateway or what outgoing Interface to provide.