- 论坛徽章:
- 0
|
在cisci-3550中
ip route 0.0.0.0 0.0.0.0 200.1.1.2 和ip default-gateway 200.1.1.2的区别 ,他们用于的环境有什么不同
以下是我在cisco网站上截取的,但是看不明白,请指点一下(cisco3550-emi)
http://www.cisco.com/en/US/tech/tk389/tk815/technologies_configuration_example09186a008019e74e.shtml
From the diagram in the Task section, note that the IP address of the default router is 200.1.1.2. If the switch receives a packet for a network not in the routing table, it forwards it to the default gateway for further processing. From the switch, verify that you can ping the default router.
Note: The ip default-gateway command is used to specify the default gateway when routing is not enabled. However, in this case, routing is enabled (from step 1). Therefore, the ip default-gateway command is unnecessary |
|