O'Reilly logo

ScreenOS Cookbook by Sunil Wadhwa, Joe Kelly, Ken Draper, David Delcourt, Vik Davar, Stefan Brunner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.7. Configure Bridge Groups for Wired and Wireless Networks

Problem

You want to configure Bridge Groups for wired/wireless networks to share IP addresses and make the networks seamless.

Solution

Configure the zone that will contain the wired and wireless network and assign bgroup0 to the zone. Also, assign the wired interface and wireless interface to the bgroup0 interface:

	set zone name Corp
	set interface "bgroup0" zone "Corp"
	set interface bgroup0 port ethernet0/6
	set interface bgroup0 port wireless0/0

Then, configure the IP address for the bgroup0 interface and enable DHCP for automatic IP address allocations:

	set interface bgroup0 ip 10.10.10.1/24
	set interface bgroup0 dhcp server service
	set interface bgroup0 dhcp server enable
	set interface bgroup0 dhcp server option gateway 10.10.10.1
	set interface bgroup0 dhcp server option netmask 255.255.255.0
	set interface bgroup0 dhcp server ip 10.10.10.100 to 10.10.10.130

Configure the SSID for the wireless network, and bind the wireless interface to the SSID. Then, activate the wireless configuration:

	set ssid name Secured
	set ssid Secured client-isolation
	set ssid Secured authentication wpa-auto-psk passphrase Secret
	   encryption auto
	set ssid Secured interface wireless0

	exec wlan reactivate

Finally, configure the security policy to allow traffic across zones:

	set policy from corp to untrust any any any nat src permit

Discussion

You can use Bridge Groups to combine wired and wireless interfaces at the Layer 2 level and make the network seamless. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required