Cisco net动态地址池转换

 时间:2024-10-12 10:04:29

1、建立网络拓扑图

Cisco net动态地址池转换

3、对交换机S0、S1进行相同配置Switch>enSwitch#confConfiguring from terminal, memory, or network [terminal]?Enter configuration commands, one per line. End with CNTL/Z.Switch(config)#vlan 10Switch(config-vlan)#exitSwitch(config)#vlan 20Switch(config-vlan)#exitSwitch(config)#int f0/1Switch(config-if)#switch access vlan 10Switch(config-if)#exitSwitch(config)#int f0/2Switch(config-if)#switch access vlan 20Switch(config-if)#exitSwitch(config)#int f0/24Switch(config-if)#switch mode tSwitch(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to upSwitch(config-if)#

Cisco net动态地址池转换Cisco net动态地址池转换Cisco net动态地址池转换

7、对于服务器进行配置

Cisco net动态地址池转换

8、对交换机进行配置Switch>enSwitch#confConfiguring from terminal, memory, or network [terminal]?Enter configuration commands, one per line. End with CNTL/Z.Switch(config)#vlan 40Switch(config-vlan)#exitSwitch(config)#vlan 50Switch(config-vlan)#exitSwitch(config)#int f0/1Switch(config-if)#switch access vlan 40Switch(config-if)#exitSwitch(config)#int f0/2Switch(config-if)#switch access vlan 50Switch(config)#int f0/24Switch(config-if)#switch mode t

9、对路由器进行配置Router>enRouter拭貉强跳#confConfiguring from terminal, memory, or network [termin锾攒揉敫al]?Enter configuration commands, one per line. End with CNTL/Z.Router(config)#int f0/1Router(config-if)#no ip addressRouter(config-if)#no shutRouter(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upRouter(config-if)#exitRouter(config)#int f0/1.10Router(config-subif)#%LINK-5-CHANGED: Interface FastEthernet0/1.10, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.10, changed state to upRouter(config-subif)#encRouter(config-subif)#encapsulation dot1q 40Router(config-subif)#ip address 192.168.6.1 255.255.255.0% Configuring IP routing on a LAN subinterface is only allowed if thatsubinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,or ISL vLAN.Router(config-subif)#exitRouter(config)#int f0/1.20Router(config-subif)#%LINK-5-CHANGED: Interface FastEthernet0/1.20, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.20, changed state to upRouter(config-subif)#encapsulation dot1q 50Router(config-subif)#ip address 192.168.7.1 255.255.255.0% Configuring IP routing on a LAN subinterface is only allowed if thatsubinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,or ISL vLAN.Router(config-subif)#exitRouter(config-subif)#endRouter#%SYS-5-CONFIG_I: Configured from console by consoleRouter#Router>enRouter#confConfiguring from terminal, memory, or network [terminal]?Enter configuration commands, one per line. End with CNTL/Z.Router(config)#int f0/1Router(config-if)#no ip addressRouter(config-if)#no shutRouter(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upRouter(config-if)#exitRouter(config)#int f0/1.10Router(config-subif)#%LINK-5-CHANGED: Interface FastEthernet0/1.10, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.10, changed state to upRouter(config-subif)#ip address 192.168.6.1 255.255.255.0% Configuring IP routing on a LAN subinterface is only allowed if thatsubinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,or ISL vLAN.Router(config-subif)#encRouter(config-subif)#encapsulation dot1q 40Router(config-subif)#exitRouter(config)#int f0/1.20Router(config-subif)#%LINK-5-CHANGED: Interface FastEthernet0/1.20, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1.20, changed state to upRouter(config-subif)#ip address 192.168.7.1 255.255.255.0% Configuring IP routing on a LAN subinterface is only allowed if thatsubinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,or ISL vLAN.Router(config-subif)#encapsulation dot1q 50Router(config-subif)#exitRouter#confConfiguring from terminal, memory, or network [terminal]?Enter configuration commands, one per line. End with CNTL/Z.Router(config)#int f0/0Router(config-if)#ip address 192.168.5.2 255.255.255.0Router(config-if)#no shutRouter(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to upRouter(config-if)#exitRouter(config)#ip route 192.168.1.0 255.255.255.0 192.168.5.1Router(config)#ip route 192.168.2.0 255.255.255.0 192.168.5.1Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.5.1Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.5.1Router(config)#ip route 192.168.8.0 255.255.255.0 192.168.5.1Router(config)#ip route 192.168.9.0 255.255.255.0 192.168.5.1以上路由表可用默认路由代替Router(config)#ip route 0.0.0.0 0.0.0.0 f0/0 {192.168.5.1 }Router(config)#endRouter#Router>Router>enRouter#Router#confConfiguring from terminal, memory, or network [terminal]?Enter configuration commands, one per line. End with CNTL/Z.Router(config)#access-list 101 permit tcp 192.168.1.0 0.0.0.255 host 192.168.6.10 eq wwwRouter(config)#access-list 101 permit tcp 192.168.1.0 0.0.0.255 host 192.168.7.10 eq wwwRouter(config)#access-list 101 deny ip 192.168.1.0 0.0.0.255 host 192.168.6.10Router(config)#access-list 101 deny ip 192.168.1.0 0.0.0.255 host 192.168.7.10Router(config)#access-list 101 permit tcp 192.168.2.0 0.0.0.255 host 192.168.7.10 eq wwwRouter(config)#access-list 101 deny tcp 192.168.2.0 0.0.0.255 host 192.168.6.10 eq wwwRouter(config)#access-list 101 deny ip 192.168.2.0 0.0.0.255 host 192.168.7.10Router(config)#access-list 101 deny ip 192.168.2.0 0.0.0.255 host 192.168.6.10Router(config)#int f0/0Router(config-if)#ip access-group 101 inRouter(config-if)#exit

Cisco net动态地址池转换Cisco net动态地址池转换Cisco net动态地址池转换Cisco net动态地址池转换Cisco net动态地址池转换

13、对最上面一台路由器Router>enRouter#confConfiguring from terminal, memory, or network [terminal]?Enter configuration commands, one per line. End with CNTL/Z.Router(config)#int f0/0Router(config-if)#ip address 192.168.8.200 255.255.255.0Router(config-if)#no shutRouter(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#exitRouter(config)#int f0/1Router(config-if)#ip address 192.168.9.1 255.255.255.0Router(config-if)#no shutRouter(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upRouter(config-if)#exitRouter(config)#ip route 0.0.0.0 0.0.0.0 f0/0Router(config)#

Cisco net动态地址池转换Cisco net动态地址池转换Cisco net动态地址池转换
  • Animate如何制作文字内容出现效果
  • 怎样调整DreamWeaver软件中的字体大小
  • Dreamweaver加热点链接后怎么消除点击边框?
  • Dreamweaver怎么关闭打开只读文件时的警告?
  • stroke设置渐变色
  • 热门搜索
    麻油是什么 折戟沉沙是什么意思 我们背对背拥抱是什么歌 酸奶什么时候喝好 酝酿是什么意思 pm是什么意思的缩写 家禽养殖网 暖手宝里面的液体是什么 黄油是什么味道 鼠目寸光是什么意思