I'm having an impossible time trying to get my Linux server connecting a wireless and LAN together seemlessly. I originally tried setting up a bridge, but it's also a server with webpages and the such, so that didn't really work out.
Here's my network layout, linux box has a nic and wireless nic.
Wireless Network, WLAN0, (192.168.1.x): 3 computers including the linux server (192.168.1.202) all connected out to the internet through a wireless router(192.168.1.1), linux box's gateway is on the LAN though.
Non-Wireless Network,ETH0, (192.168.0.x): 3 computers including the linux server(192.168.0.2), all connected to the internet through a wired router(192.168.1.100). The router is setup to DMZ to the linux box (192.168.0.2), and the box's default gateway is this router.
I want any computer on the wireless network (192.168.1.x) to be able to connect to any computer on the wired network (192.168.0.x) including the linux box, and the linux box needs to be a non-transparent hop..
How do I do this?
On my main computer's router (192.168.0.100 (wired)) I've added the following route, and when I traceroute to 192.168.1.1 (the router on the wireless network), It gets to the linux box and cannot get any further.
Destination LAN IP Subnet Mask Default Gateway Hop Count Interface
192.168.1.0 255.255.255.0 192.168.0.2 2 LAN
Here's my linux box's routes;
[root@p350 ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 wlan0
default 192.168.0.100 0.0.0.0 UG 0 0 0 eth0
[root@p350 ~]# cat /proc/sys/net/ipv4/ip_forward
1
P.S. Ignore username, I was angry when I created it
