On Thu, May 07, 2015 at 07:11:52PM -0500, Paul Elliott wrote:
>
>
> I have read
> http://wiki.openwrt.org/doc/recipes/dumbap
> which tells how to turn your router into an access point.
>
> I understand that dhcp needs to be turned off because
> there can be only on dhcp server.
>
> But how do I make my access point accept it's IP
> from the external dhcp?
>
> This does not seem to be documented here.
Hello Paul,
I guess depending on the router there are different ways. Some have only
eth0, some have eth0 and eth1.
I have one of the latter variety and bridged both eth0 and eth1 under
"lan". /etc/config/network that is used:
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix '1234:1234:1234::/48'
config interface 'lan'
option ifname 'eth0 eth1'
option force_link '1'
option type 'bridge'
option proto 'dhcp'
# option ipaddr '192.168.1.50'
# option netmask '255.255.255.0'
# option gateway '192.168.1.1'
# option dns '192.168.1.1'
# option ip6assign '60'
option mtu '1492'
#config interface 'wan'
# option ifname 'eth0'
# option proto 'dhcp'
config interface 'lan6'
option ifname '@lan'
option proto 'dhcpv6'
option reqprefix no
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 2 3 4 5'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '1 6'
Kind regards,
Sebastian
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users