配置NAT和静态路由
SW1:
interface Vlanif200ip address 192.168.200.1 255.255.255.252
#R1;
int g0/0/0
ipadd192.168.200.2 30
interface GigabitEthernet0/0/1ip address 200.1.1.1 255.255.255.252
ISP:
interface GigabitEthernet0/0/0ip address 200.1.1.2 255.255.255.252
interface GigabitEthernet0/0/1ip address 7.7.7.1 255.255.255.0R1:
ip route-static 0.0.0.0 0200.1.1.2
ip route-static 192.168.0.0 16192.168.200.1acl 2000
rule permit source192.168.0.0 0.0.255.255
interface GigabitEthernet0/0/1 nat outbound 2000nat server protocol tcp global current-interface www inside 192.168.100.2 wwwSW1:
ip route-static 0.0.0.0 0192.168.200.2
ip route-static 192.168.0.0 16 NULL 0#黑洞路由
无线配置
AC:AP上线
vlan 240ipadd192.168.240.2 24
interface GigabitEthernet0/0/1port link-type accessport default vlan 240capwap source interface Vlanif 240#配置中心AP与RU建立CAPWAP隧道的源接口
dis ap unauthorized record #查看未授权的AP
ap-confirm mac 00e0-fc47-0a00
#ap-confirm授权模式基于MAC基于SN基于allAP业务:
#先做安全模版
wlan
security-profile name A #模版名字A
security wpa-wpa2 psk pass-phrase 12345678 aes
#定义用户上线输入的密码,配置WPA/WPA2的预共享密钥认证和加密。
q security-profile name B
security wpa-wpa2 psk pass-phrase 87654321 aes
q#配置SSID模版也是在wlan里面做
ssid-profile name A
ssid Huawei
ssid-profile name B
ssid Guest
#配置VAP模版,把SSID模版和安全模板关联起来,也是在wlan里面做
vap-profile name A
security-profile A
ssid-profile A
# forward-mode 直转发模式默认直接转发不用配置
service-vlan vlan-id 30#用于配置VAP的业务VLAN。vap-profile name B
service-vlan vlan-id 40ssid-profile Bsecurity-profile B
#设置AP组ap-group name G
vap-profile A wlan 1 radio all #设置信号频率
vap-profile B wlan 2 radio all
#把AP加入到AP组
ap-id 0ap-group G
ap-id 1ap-group G
Swift 介绍
Swift 是一门用于开发 iOS、macOS、watchOS 和 tvOS 应用的新编程语言。它以安全、快速和互动的特点而著称。Swift 提供了代码预览(playgrounds)功能,使程序员可以在不编译和运行应用程序的情况下,实时运行 Swift 代码…
第7章 ζ函数和素数定理
Bernhard Riemann, whose extraordinary intuitive powers
we have already mentioned, has especially renovated
our knowledge of the distribution of prime numbers,
also one of the most mysterious questions in
mathematics. He has tau…