Hi all

I have a Linksys WRT54 at home and installed open-wrt with kamikaze.

I received several static IP addresses from my ISP.
Because I'll be running several different Web Servers I need to forward the external IP to the computer and they have to communicate with this external IP (not the one from the router).
And additional I'll want to have an internal network on 2 ports of the router.

When dialing with pppoe the router receives a static IP. e.g. 80.80.80.80
The ISP has given me 8 additional IPs. e.g. 79.79.79.1 - 79.79.79.8


My system looks like this:

      --------------------
      | pppoe modem |
      --------------------
                 |
      --------------------
      | Linksys router |  80.80.80.80 (internal 192.168.1.1)
      --------------------                                                                                                ------------------
          |                                                                                                |---------------| Web Server 1 | 79.79.79.1
          |                                                -----------------------                  |                   -------------------
          |------------------------------------| 2 3 : external IPs | ------------|
          |                                                -----------------------                  |                   ----------------------------------------------
          |                                                                                                |--------------| Server 2 with several virtual servers | 79.79.79.2, 79.79.79.3, 79.79.79.4, etc.
        -----------------------------                                                                                 ----------------------------------------------
        |  0 1 : NAT with DHCP | 192.168.1.100 - 192.168.1.200
       -----------------------------

my configuration looks like this:

root@OpenWrt:~# cat /etc/config/network

config 'switch' 'eth0'
    option 'vlan1' '4 5*'
    option 'vlan0' '0 1 5*'
    option 'vlan2' '2 3 5*'

config 'interface' 'loopback'
    option 'ifname' 'lo'
    option 'proto' 'static'
    option 'ipaddr' '127.0.0.1'
    option 'netmask' '255.0.0.0'

config 'interface' 'lan'
    option 'type' 'bridge'
    option 'proto' 'static'
    option 'ipaddr' '192.168.1.1'
    option 'netmask' '255.255.255.0'
    option 'macaddr' ''
    option 'ip6addr' ''
    option 'gateway' ''
    option 'ip6gw' ''
    option 'ifname' 'br-lan eth0.0'

config 'interface' 'wan'
    option 'ifname' 'eth0.1'
    option 'proto' 'pppoe'
    option 'username' 'username'
    option 'password' 'password'
    option 'macaddr' ''
    option 'vpi' ''
    option 'vci' ''
    option 'mtu' '1492'
    option 'keepalive' '5'
    option 'defaultroute' '1'
    option 'ppp_redial' 'persist'
    option 'ipaddr' '80.80.80.80'
    option 'ip6addr' ''
    option 'netmask' ''
    option 'gateway' '200.200.200.200'
    option 'ip6gw' ''

config 'interface' 'wan2'
        option 'ifname'   'eth0.2:0'
        option 'proto'    'static'
        option 'ipaddr'   '79.79.79.1'
        option 'netmask'  '255.255.255.0'

But when restarting the network I get the message:

root@OpenWrt:~# /etc/init.d/network restart
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCSIFADDR: No such device
ifconfig: SIOCSIFFLAGS: Cannot assign requested address

How is it possible to connect the internal PCs to the external IP addresses on the WAN?

Many thanks!