1、DHCP en conf t service dhcp ip dhcp pool dhcptest network 192.168.1.0 /24 default-router 192.168.1.1 dns-server 202.106.0.20 lease 7 exit int f1/0 no switchp...
DHCP中继配置
1、SW1配置 en vlan data vtp domain 2014 vlan 2 vlan 3 vlan 10 exit config t ip routing int vlan 2 ip add 192.168.2.1 255.255.255.0 ip helper 192.168.10.254 ...
DHCP配置
1、SW1配置 en vlan data vtp domain 2014 vlan 2 vlan 3 exit config t ip routing service dhcp ip dhcp pool vlan2 network 192.168.2.0 255.255.255.0 default-route ...
VRRP配置
1、SW1配置 en vlan data vtp domain 2014 vtp server vlan 2 vlan 3 exit conf t int f1/1 switch mode trunk int f1/15 switch mode trunk int f1/0...
HSRP配置
1、SW1配置 en vlan data vtp domain 2014 //设置vtp域为2014 vtp server //vtp模式为服务器模式 vlan 2 vlan 3 exit conf t ip routing int f1/1 switch mo...
TRUNK(中继)
SW1配置 vlan data vl 2 vl 3 exit config t int range f1/0 - 15 no sh int f1/1 switchport access vlan 2 int f1/2 sw ac vl 3 int f1/0 switchport mode trunk...
三层交换配置
1、SW1配置 en vlan database vlan 2 vlan 3 exit config t ip routing int f1/0 swit mode trunk int f1/1 no switch ip add 10.1.1.1 255.255.255.252 no sh int ...
以太网通道
1、SW1配置 en vlan database vlan 2 name ceshi1 vlan 3 name ceshi2 exit config terminal int range f1/13 - 15 switchport mode trunk channel 1 mode on ...
单臂路由配置
R1配置 Router(config)#interface f0/0 Router(config-if)#no shut Router(config-if)#interface f0/0.1 Router(config-subif)#encapsulation dot1q 2 //子接口封装VLAN Rout...
Open VPN搭建
OpenVPN是一个开放源码的基于SSL的VPN系统,同时支持TCP/UDP,支持从NAT设备后的连接。OpenVPN开发站点在 www.openvpn.net。 环境:centos 6.6 PC:172.20.20.10 openvpn server:eth0 172.20.2...