I have a raspberry pi that I have put wifi on. I am also using its ethernet connection to bring internet to my XBox 360. I want to bridge these connections AND keep them both on the same network.
For example, my wlan0 is on 192.168.1.124. I want to place eth0 on some arbitrary ip within the 192.168.1.1 network (192.168.1.125 for example). I want to do this so that my XBox 360 can see other computers on the network so I can stream video to it. A solution where my 360 is on a different network (192.168.2.1 for example) will not allow me to access my network computers.
Any suggestions on how to do this?
EDIT: bridge_utils was giving me problems with dropping every 10-15 min. Only way to fix issue was a restart. I would rather use an iptables solution than a bridge_utils for this reason.
EDIT 2: interfaces file:
auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet static address 192.168.1.124 netmask 255.255.255.0 broadcast 192.168.1.255 network 192.168.1.1 wirless-power off auto br0 iface br0 inet dhcp bridge_ports wlan0 eth0
This bridges connection for about 15-20 min then fails. At this point, I have to restart RaspPi and XBOX to get internet working again.