二层交换机远程网管
来源:百度文库 编辑:神马文学网 时间:2024/04/27 19:02:32
有同学问到了二层交换机远程网管,先说三层的吧,三层的有IP地址,随便找个IP地址就能进去,但是规划良好的网络都是有单独的网管IP的。单独的VLAN用来做网管。
这也就是二层交换机远程网管的方法。设置一个单独的VLAN,作为管理VLAN,默认是VLAN1,可以随便改的。如图所示是一个简单的企业小网。
VLAN 10 IP地址段192.168.10.0/24
VLAN 20 IP地址段192.168.20.0/24
VLAN 30 IP地址段192.168.30.0/24【管理VLAN】
在二层交换机上设置VLAN 30接口IP地址,并设置网关即可。
测试结果
PC>ping 192.168.30.3
Pinging 192.168.30.3 with 32 bytes of data:
Request timed out.
Request timed out.
Reply from 192.168.30.3: bytes=32 time=94ms TTL=254
Reply from 192.168.30.3: bytes=32 time=94ms TTL=254
Ping statistics for 192.168.30.3:
Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli-seconds:
Minimum = 94ms, Maximum = 94ms, Average = 94ms
PC>telent 192.168.30.2
Invalid Command.
PC>telnet 192.168.30.2
Trying 192.168.30.2 …Open
User Access Verification
Password:
测试成功!
关键代码:
interface Vlan30
ip address 192.168.30.2 255.255.255.0
!
ip default-gateway 192.168.30.1
如果二层交换机不设置网关,那就先telnet 192.168.30.1 在telnet 192.168.30.2
这也就是二层交换机远程网管的方法。设置一个单独的VLAN,作为管理VLAN,默认是VLAN1,可以随便改的。如图所示是一个简单的企业小网。
VLAN 10 IP地址段192.168.10.0/24
VLAN 20 IP地址段192.168.20.0/24
VLAN 30 IP地址段192.168.30.0/24【管理VLAN】
在二层交换机上设置VLAN 30接口IP地址,并设置网关即可。
测试结果
PC>ping 192.168.30.3
Pinging 192.168.30.3 with 32 bytes of data:
Request timed out.
Request timed out.
Reply from 192.168.30.3: bytes=32 time=94ms TTL=254
Reply from 192.168.30.3: bytes=32 time=94ms TTL=254
Ping statistics for 192.168.30.3:
Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli-seconds:
Minimum = 94ms, Maximum = 94ms, Average = 94ms
PC>telent 192.168.30.2
Invalid Command.
PC>telnet 192.168.30.2
Trying 192.168.30.2 …Open
User Access Verification
Password:
测试成功!
关键代码:
interface Vlan30
ip address 192.168.30.2 255.255.255.0
!
ip default-gateway 192.168.30.1
如果二层交换机不设置网关,那就先telnet 192.168.30.1 在telnet 192.168.30.2
二层交换机远程网管
二层交换机工作原理
交换机的看法——如何选择二层交换机
二层交换机之间的跨网段访问 - 路由交换 - IXPUB技术社区
网管进阶必读:交换机使用答疑解惑
如何修改路由器和交换机的密码---- 网管技巧
网管需选用的5款远程控制软件
网管需选用的5款远程控制软件
利用第三层交换机实现多子网的划分
交换机
交换机
交换机
网管技巧:如何修改路由器和交换机的密码 赛迪网技术社区
金牌网管实战篇:Cisco/H3C交换机配置与管理(下) - 网络性能管理 - TT网络
业务层设计之二(ServiceLocator)
业务层设计之二(ServiceLocator)
webgis 发布简单图层之二
一定要用好调整层(二)——用调整层解决实际问题
我现买金浪kn-s1005d交换机,如何配置二台电脑同时上网
二层的EtherChannel和三层的EtherChannel
佛说天道二十八层天的境界
交换机专业术语
2950交换机
思科交换机