I recently bought an routerstation pro, and i flashed it with a newer owrt
version. Now i face a problem with network configuration. The file
/etc/config/network is:

config interface loopback
        option ifname   lo
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0
config interface wan
        option ifname   eth0
        option proto    dhcp
config interface lan
        option ifname   eth1
        option type     bridge
        option proto    static
        option ipaddr   10.39.213.1
        option netmask  255.255.255.224
        option gateway  10.39.213.2
        option dns      10.39.213.2

.I suppose that eth0 is the poe-wan port, and eth1 is the first port next to
poe. I want to change the wan port to static protocol, and give the other
ports different ip. For example i tried

config interface loopback
        option ifname   lo
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0
config interface wan
        option ifname   eth0
        option proto    static
        option ipaddr   10.39.213.1
        option netmask  255.255.255.224
        option gateway  10.39.213.2
        option dns      10.39.213.2

config interface lan
        option ifname   eth1
        option proto    static
        option ipaddr   10.39.213.249
        option netmask  255.255.255.252
        option gateway  10.39.213.250
        option dns      10.39.213.250

and it doesn't work when i tried to connect my pc to poe port.
Alternatively, when i get back to the previus configuration and i used my pc
as a dhcp server, it doesn't work with the poe port, but with the port next
to it . I am a little confused, when we use eth0 do we meen the wan-poe port
or sth else?




-- 
Greetings, Daemon!
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to