You can't bridge separate IP networks. To go from one IP network to another you must use routing, even if the two networks are on the same physical network.
bridgeing is operating at the Ethernet level. routing operates at the IP level. Having two IP networks on the same ethernet can be done, but is not recommendable. >From your description it sounds like you actually want to turn the Linux box into a router, not a bridge. echo 1 >/proc/sys/net/ipv4/ip_forwarding then set the default gateway of your stations (wired and wireless) to the corresponding IP address of the Linux box, or at a minimum add a route for the wireless network via the linux box to the upstream router (the NAT router?) or your wired clients... The default gateway on the Linux box should normally be your Internet gateway (NAT router?), to allow for Internet connectivity. Not relevant in connecting the two networks. Regards Henrik On Monday 20 May 2002 20:58, Ty wrote: > Hello, > > I'm trying to setup a bridge between my 10.x wired and 192.x > wireless networks using bridging & vtun. The 10.x network connects > wired clients to the internet through a nat server. > > In a nutshell I can successfully create the tunnel and bridge but > the two separate networks can't communicate, I don't understand > why. > > Specifically: > > The bridge server has a 10.x eth0 wired card and a 192.x eth1 > wireless card in it, kernel (2.4.18) is configured for bridging w. > latest bridge patch. > > I can ping both cards from both networks and successfully create > the vtun tap0 tunnel. > > I then do: > > modprobe bridge > brctl addbr mybridge > brctl addif mybridge eth0 > brctl addif mybridge tap0 > ifconfig eth0 0.0.0.0 > ifconfig tap0 0.0.0.0 > ifconfig mybridge up > > no problems, bridge is up. > > If my thinking is correct I should be able to ping the 10.x network > from 192.x at this point (or vice versa) but I can't. > > Questions I have > > 1) What should the default route/gateway on the 10.x bridge server > be set to? > 2) What should the default route/gateway on the 192.x wireless > client be set to? > 3) What am I doing wrong :) > > the topology is below if something above is unclear. > > <-- Internet --> > > <--| (Internet eth0) Server 1 (Nat/Firewall/Default gw for 10.x) > (10.x eth1) | > > <--- 10.x wire & 10.x clients ----> > > <--| (10.x eth0) Server 2 bridge/tunnel (192.x wireless eth1 & > vtun tap0 ) > > > <- wireless -> 192.x wireless client eth1 & vtun tap0 > > Thanks very much for any help! > > Ty > > _______________________________________________ > Bridge mailing list > [EMAIL PROTECTED] > http://www.math.leidenuniv.nl/mailman/listinfo/bridge _______________________________________________ Bridge mailing list [EMAIL PROTECTED] http://www.math.leidenuniv.nl/mailman/listinfo/bridge
