Allied Telesis AT-iMG634 - R2 Guía de usuario Pagina 318

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 998
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 317
IP TCP/IP command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-16
the interface can communicate more efficiently with a particular destination by using a
different router, then it will learn this fact from an Internet Control Message Protocol
(ICMP) redirect message.
Options The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example Example 1 routes through a gateway.
--> ip add route route1 192.168.103.3 255.255.255.0 gateway 192.168.102.3
Example 2 is a default route.
--> ip add route default 0.0.0.0 0.0.0.0 interface ip1
See also ip list interfaces
ip add defaultroute gateway
ip add defaultroute interface
4.1.8.2.7 IP ADD ROUTE DISABLED
Syntax IP ADD ROUTE <name> <dest_ip> <netmask> {[GATEWAY
<gateway_ip>]|[INTERFACE <interface>]} DISABLED
Description This command creates a static route to a destination network address via a gateway
device or an existing interface. It also allows you to create a default route.
Option Description Default Value
name An arbitrary name that identifies the route. It can be
made up of one or more letters or a combination of
letters and digits, but it cannot start with a digit. To
create a default static route to a destination address,
type default as the route name. You can only create
one route called default.
N/A
dest_ip The IP address of the destination network displayed in
the following format: 192.168.102.3
N/A
netmask The destination netmask address (format:
255.255.255.0)
N/A
gateway_ip The IP address of the gateway that this route will use,
displayed in the following format: 192.168.102.3
N/A
interface The existing interface that this route will use. To dis-
play interface names, use the IP LIST INTERFACES
command.
N/A
Vista de pagina 317
1 2 ... 313 314 315 316 317 318 319 320 321 322 323 ... 997 998

Comentarios a estos manuales

Sin comentarios