Re: [OpenWrt-Devel] Question regarding UCI with IPv4 and IPv6 on lan-bridge

2015-03-18 Thread Christian Mehlis

Thanks Steven!

It's working.

Do you or should I add some text in the wiki?

I think this @ notation is not present on
http://wiki.openwrt.org/doc/uci/network.

Best
Christian

Am 18.03.2015 um 16:11 schrieb Steven Barth:

Try

config interface 'lan'
 option type 'bridge'
 option ifname 'eth0.1 bat0'
 option proto 'dhcp'

config interface lan6
 option ifname @lan
 option proto dhcpv6
#option reqprefix no (uncomment if you don't need an IPv6 delegated
prefix)


Cheers,

Steven




___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Question regarding UCI with IPv4 and IPv6 on lan-bridge

2015-03-18 Thread Christian Mehlis

Hi,

I want to use a router as a client in my dual stack lan. I'm using ICMP 
router announcements.
Additionally I want to use mesh at the same time, so I'm using a bridge 
on the lan interface.


Is there any way to express that I want dynamic IPv4 and IPv6 on a bridge?

##
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1 bat0'
option proto 'dhcp'

IPv4 assigned
no IPv6 assigned
##
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1 bat0'
option proto 'dhcpv6'

no IPv4 assigned
IPv6 assigned.
##
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1 bat0'
option proto 'dhcp'

config interface 'wan6'
option ifname 'eth0.1'
option proto 'dhcpv6'

the bridge has IPv4 assigned but no IPv6
eth0.1 has no IP at all
##

Best
Christian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Question regarding UCI with IPv4 and IPv6 on lan-bridge

2015-03-18 Thread Steven Barth

Try

config interface 'lan'
option type 'bridge'
option ifname 'eth0.1 bat0'
option proto 'dhcp'

config interface lan6
option ifname @lan
option proto dhcpv6
#   option reqprefix no (uncomment if you don't need an IPv6 delegated 
prefix)


Cheers,

Steven

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel