Ciao a tutti,

I am a real newbye and I need help to set up a TP-Link TL-WR841N/ND v7
with OpenWrt Attitude Adjustment 12.09-rc1.

I followed the wiki page to connect the router to adsl modem via eth1 (in
bridge mode?) and the link works but I cannot understand the way to
setup the default route.

In my /etc/config/network I have:


                config interface 'lan'
        option ifname 'eth0'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ipaddr '192.168.0.1'

config interface 'wan'
        option ifname 'eth1'
        option _orig_ifname 'eth1'
        option _orig_bridge 'false'
        option proto 'dhcp'
        option mtu '1492'

config alias 'modem'
        option interface 'wan'
        option proto 'static'
        option netmask '255.255.255.0'
        option layer '1'
        option ifname 'eth1'
        option ipaddr '192.168.1.1'

I can set up the default route in the root shell via the route add
default gw command but I cannot understand how set this route via the
configuration to have it working at startup.

Thanks for all help.

-- 
leandro
Se ti fa venire fame continua
se ti fa venire sonno smetti

Attachment: pgp1GWYM89z2_.pgp
Description: PGP signature

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

Reply via email to