I am trying to setup my WRT54GS to connect to a wireless AP and to also use the WAN/Internet port on my broadband connection so that I effectively have to internet connections going into my router.
I have setup the firewall to forward all outgoing traffic in the upper TCP/UDP ports out the WIFI and the rest out the WAN.
Everything I thought works fine until I went to plug the router into my cable modem... it is configured to get DHCP from my ISP, but when I call "ifup WAN", it doesnt get an IP.
I have setup:
vlan0 to be ports "1 2 3 4 5*"
vlan1 to be ports "0 5"
set wan_ifname="vlan1"
set lan_ifname="br0"
set lan_ifnames="vlan0"
set wifi_ifname="eth1"
and the firewall should route between.
I'm not exactly sure what the purpose of "br0" is? What is the difference between a bridge and a vlan? Should I just set lan_ifname="vlan0" and leave ifnames blank?
I can connect to the wireless and route traffic between it and my LAN, but I cannot connect the WAN (port 0). I assume on this router, port 0 is the "Internet/WAN" port right?
Its like it just doesn't want to get an ip from my cable mode.
I imagine many people have done this before so if anyone has, please help.
