WRT54G as transparent bridge?

Discussion in 'Cisco/Linksys Wireless Routers' started by Anonymous, Mar 24, 2005.

  1. Anonymous

    Anonymous Guest


    I have a WRT54G v2.0 hardware running Alchemy-pre7a v3.37.6.8sv. At the moment I'm using it in client mode to connect my computer and a VoIP hardphone to a router in another apartment (a Netgear MR814 [802.11b]). The Netgear connects to the internet.

    The way this is currently configured, we've got two nets ( for the netgear and for the WRT54G). We'd like to set up the WRT54G as a transparent bridge so all our computers are on the same subnet ( where the MR814 can assign IP addresses to the devices connected to the WET54G. The MR814 is currently set up to allocate a static IP ( for the WET54G.

    I tried to set up both ethernet devices in the WRT54G with bridging by scp-ing the following script to the WRT54G's /tmp directory and running it with a shell. This is the script I wrote (it doesn't yet work):

    #  Info from Ethernet Bridge + netfilter Howto by Nils Radtke
    ALLINTERFACES="eth0 eth1"
    # tear old connections down
    #  ifconfig $INTERFACE down
    ifconfig $BRIDGE down
    # delete bridge
    brctl delbr $BRIDGE
    # tell os about bridge
    brctl addbr $BRIDGE
    # turn off STP -- not sure this is a good idea?
    brctl stp $BRIDGE off
    # tell WRT54G about bridge
    brctl addbr $BRIDGE
    # turn off STP -- not sure this is a good idea?
    brctl stp $BRIDGE off
    # add physical device interfaces
      brctl addif $BRIDGE $INTERFACE
    # release IPs
      ifconfig $INTERFACE down
      ifconfig $INTERFACE up
    # associate single IP with bridge interface
    ifconfig $BRIDGE $IPADDRESS up

    Unfortunately once the above is run on the WRT54G it stops communicating with the connected devices and must be reset. Any insight or help would be appreciated. Thanks.
  2. Morpheus

    Morpheus Network Guru Member

  3. jagboy

    jagboy Network Guru Member

    i heard that pre3b is pretty stable so a lot of people are using it.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice