1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

multiple ip addresses on wan side

Discussion in 'Other Firmware Projects' started by bassieman, Nov 8, 2004.

  1. bassieman

    bassieman Guest

    Hi all,

    Just received my new WRT54G, immediately flashed wifi-box onto it since I want snmp to monitor my bandwidth.
    I run my adsl modem in bridge mode and with my linux router I was able to configure both dhcp and a static address (eth0:1) so I could still monitor my adsl modem. Does anybody know if this is possible with the WRT54G?
     
  2. Guyfromhe

    Guyfromhe Network Guru Member

    I just configured a 2nd, 3rd, etc ip on a single interface with mine today... it's the same as any other linux install you just ifconfig if:whatever ip...
    Vlan1 = wan port, vlan0= switch block, eth1=wireless, br0=wireless&wired bridge (you can pull that down if you don't want it) so it does work fine in wifi-box and I also tried it under satori and it worked fine... hope that I didn't misunderstand the question :)
     
  3. marmel

    marmel Network Guru Member

    when I type in "ifdown vlan1" I get the output: "ifdown: /etc/network/interfaces: No such file or directory". Are not all if commands supportet and where are the informations about the network interfaces stored ? :?:
     
  4. Edwin

    Edwin Network Guru Member

    Try: ifconfig vlan1 down
     
  5. blueskies

    blueskies Guest

    removing br0 ?

    You state that you can take down br0 if you want . When i do this i loos all connection to the router ? i would like to have wireless and wired networks to be separated but still able to access the internet .
     
  6. Guyfromhe

    Guyfromhe Network Guru Member

    br0 is the bridge between the lan and wlan and has the ip address for both if's you need to assign an ip to eth1 and the other IF (I believe vlan1) right after the brctl you can use brctl remove bridge or whateve rthe cmd is then ;ifconfig eth1 ip;ifconfig vlan1 ip (you may have to play around I don't remember the vlan # off the top of my head)
    or make a shell script to do it.
     
  7. Guyfromhe

    Guyfromhe Network Guru Member

    actually I had the proper IFs listed above, just use that for the proper ifconfig interfaces :p
    i'll keep and eye on this thread let me know if you have any other prob/questions.
     

Share This Page