Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.1 All packets not matching a specific match in the routing table will be matched using the default route and forwarded to 192.168.1.2 which is the default gateway for R1. Similarly on every computer connected to either of the organization’s...
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.1 All packets not matching a specific match in the routing table will be matched using the default route and forwarded to 192.168.1.2 which is the default gateway for R1. Similarly on every computer connected to either of the organization’s...
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.1 All packets not matching a specific match in the routing table will be matched using the default route and forwarded to 192.168.1.2 which is the default gateway for R1. Similarly on every computer connected to either of ...
SW1(config)#ip default-gateway 192.168.1.254 #设置该交换机的默认网关 SW1(config)#int vlan1 #进入vlan1的端口 SW1(config-if)#ip address 192.168.1.1 255.255.255.0 #配置交换机的管理地址为192.168.1.1子网掩码为255.255.255.0 SW1(config-if)#no shutdown #启动这个vlan1 3、配置R1路由器 Router(co...
make sure PCs and router link is on the same vlan; vlan id does not matter here and does nto have to be same on left to right side. double check IP assigned to interfaces and default gateway IP on PCs corresponding to rotuer interface. U can attach
Router(config-subif)# 子接口模式,用来配置在路由器中创建的逻辑接口。 Router(config-line)# 控置台接口模式,通常用来配置用户模式口令。 Router(config-router)# 路由协议接口模式,在这里配置路由协议,如 RIP、IGRP 等。 2. 登录路由器的必要配置:
SW1(config)#ip default-gateway 192.168.1.254 #设置该交换机的默认网关 SW1(config)#int vlan1 #进入vlan1的端口 SW1(config-if)#ip address 192.168.1.1 255.255.255.0 #配置交换机的管理地址为192.168.1.1子网掩码为255.255.255.0 SW1(config-if)#no shutdown #启动这个vlan1 ...
DHCP_Server(config)#default gateway 192.168.1.254 #配置网关 DHCP_Server(config)#service dhcp #开启DCHP服务 DHCP_Server(config)#ip dhcp pool Cisco_dhcp #创建地址池 DHCP_Server(dhcp-config)#network 172.16.1.0 255.255.255.0 #添加网段 DHCP_Server(dhcp-config)#default-router 172.16.1.254 #指定网关 ...
Router#configure terminalRouter(config)#ip dhcp excluded-addressRouter(config)#ip dhcp poolRouter(dhcp-config)#networkRouter(dhcp-config)#default-routerRouter(dhcp-config)#dns-serverRouter(dhcp-config)#end 启用在Cisco DSL路由器上的logging console...
Router(config)#interfaceGigabitEthernet1 Router(config-if)#no shut Router(config-if)#exit !-- Enable dot1q on the sub-interface one for each VLAN. !-- Configure L3 information on the sub-interface for each gateway. Router(config)#interface gigabitEthernet 1.10Router(config-subif)#encapsulation...