What is the utility of the bridge

To configure an AP-WLAN bridged with the Ethernet i need just to create an interface lan (WITHOUT option 'bridge') and an interface wan. what it makes "the bridge" really is these lines in the firewall

config forwarding
        option src              lan
        option dest             wan


config interface 'lan'
        option proto 'static'
        option ipaddr ''
        option netmask ''
        option ip6assign '60'

config interface 'wan'
        option ifname 'eth0'
        option proto 'dhcp'


config wifi-iface
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'OpenWrtAP'
	option encryption 'psk2'
	option key 'OpenWrtAP123'

What is the utility of the "option type bridge" in the interface 'lan'?

bridged interfaces work like one network. hence devices on the wired-lan and wifi will be able to "see" each other (think windows-filesharing, apple-tv, chromecast ...).

without the bridge, there will be two distinct networks with different adress ranges and you have to setup firewall rules for passing traffic.


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.