CCNA笔记

1.rip协议

no cdp run //禁用双工不匹配提示

no ip cef //禁用快速交换 基于目的负载均衡

no ip split-horizon //禁用水平分割 interface模式下 指定则不向接收路由方向传播接收到的路由,避免环路

router rip

net 1.0.0.0 //v1

passive-interface default //被动接口

neighbor 123.1.1.2 //单播邻居

default-information originate //指定当前为默认路由

浮动静态路由/备份双线:只声明快速网络,慢速网络添加静态路由,管理距离130 > 120(rip默认管理距离),掉线自动切换网络

2.单臂路由配置实验

router-on-a-stick
1).create vlan
vlan database
vlan 1 name IT
2).add port to vlan
interface f0/0
switchport mode trunk
switchport trunk encapsulation dot1q
no shutdown
interface f0/1
switchport mode access
switchport access vlan 1
no shutdown
3).show vlan-switch brief
4).route interface ip
interface f0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
interface f0/0.1
encapsulation dot1Q 1(vlan id)
ip address 192.168.2.1 255.255.255.0
no shutdown
5).pc gateway
no ip routing
ip default-gateway 192.168.2.1
interface f0/0
ip address 192.168.2.2 255.255.255.0
no shutdown

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值