综合实验(五)
  1D6o7E39IQo1 2023年11月02日 31 0
本地云桥接之交换机配置
[SW3]int e0/0/1
[SW3-Ethernet0/0/1]port link-type access 
[SW3-Ethernet0/0/1]port default vlan 10
本地云桥接之云配置

综合实验(五)_dhcp-alloc

测试效果

综合实验(五)_云桥接_02

访问服务器策略配置
[SW1]acl 3000
[SW1-acl-adv-3000]rule 5 permit ip source 192.169.10.0 0.0.0.255 destination 192
.168.200.3 0
[SW1-acl-adv-3000]rule 10 deny ip source any destination 192.168.200.3 0
[SW1-acl-adv-3000]display this
#
acl number 3000
 rule 5 permit ip source 192.168.10.0 0.0.0.255 destination 192.168.200.3 0
 rule 10 deny ip destination 192.168.200.3 0
#
return
[SW1-acl-adv-3000]
[SW1]int Eth-Trunk 2
[SW1-Eth-Trunk2]traffic-filter outbound acl 3000
[SW1-Eth-Trunk2]display this
#
interface Eth-Trunk2
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
 stp instance 0 cost 10000
 traffic-filter outbound acl 3000
#
return
[SW1-Eth-Trunk2]
路由器模拟PC自动获取IP
[pc]int e0/0/0
[pc-Ethernet0/0/0]quit
[pc]dhcp enable 
[pc]int e0/0/0
[pc-Ethernet0/0/0]ip ?
  address             Address
  apply               Apply security policy
  binding             Enable binding of an interface with a VPN instance
  forward-broadcast   Specify IP directed broadcast information
  netstream           Netstream feature
  policy-based-route  Enable policy based routing on the interface
  relay               DHCP relay
  topology            The name of topology
  verify              IP verify
[pc-Ethernet0/0/0]ip address ?
  X.X.X.X      IP address
  bootp-alloc  IP address allocated by BOOTP
  dhcp-alloc   IP address allocated by DHCP
  unnumbered   Share an address with another interface

[pc-Ethernet0/0/0]ip address dhcp	
[pc-Ethernet0/0/0]ip address dhcp-alloc ?
  <cr>  

[pc-Ethernet0/0/0]ip address dhcp-alloc 
[pc-Ethernet0/0/0]display this 
#
interface Ethernet0/0/0
 ip address dhcp-alloc
#
return
[pc-Ethernet0/0/0]quit
[pc]display ip interface br
*down: administratively down
!down: FIB overload down
^down: standby
(l): loopback
(s): spoofing
(d): Dampening Suppressed
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 9
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 9

Interface                         IP Address/Mask      Physical   Protocol  
Ethernet0/0/0                     192.168.10.252/24    up         up        
Ethernet0/0/1                     unassigned           down       down      
GigabitEthernet0/0/0              unassigned           down       down      
GigabitEthernet0/0/1              unassigned           down       down      
GigabitEthernet0/0/2              unassigned           down       down      
GigabitEthernet0/0/3              unassigned           down       down      
NULL0                             unassigned           up         up(s)     
Serial0/0/0                       unassigned           down       down      
Serial0/0/1                       unassigned           down       down      
Serial0/0/2                       unassigned           down       down      
Serial0/0/3                       unassigned           down       down      
[pc]


【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月08日 0

暂无评论

推荐阅读
  eo9lmrKcoG9P   2023年12月10日   16   0   0 客户端HCIPDHCPC/S服务器
  1D6o7E39IQo1   2023年11月02日   32   0   0 DHCP云桥接dhcp-alloc
  1D6o7E39IQo1   2023年11月02日   32   0   0 NATDHCProuter-staticACL
1D6o7E39IQo1
作者其他文章 更多

2023-11-13

2023-11-13

2023-11-13

2023-11-13

2023-11-13

2023-11-13

2023-11-13

2023-11-13