answersLogoWhite

0

Use the syntax:

route add xxx.xxx.xxx.xxx mask xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx

meaning:

route add (destination address) mask (subnet mask) (gateway)

For example, if you are on the 192.168.1.0 network with a gateway of 192.168.1.1 that is configured to access the 10.10.10.0/24 network, your statement would look like this:

route add 10.10.10.0 mask 255.255.255.0 192.168.1.1

Note: you need to add the "-p" switch to the statement in order for the route to stay after reboot. (route -p add 10.10.10.0 mask 255.255.255.0 192.168.1.1)

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Which command when issued in the interface configuration mode of a router enables the interface to acquire an IPv4 address automatically from an ISP when that link to the ISP is enabled?

In the interface configuration mode of a router, the command ip address dhcp enables the interface to acquire an IPv4 address automatically from an ISP via DHCP when the link to the ISP is enabled. This command instructs the router to request an IP address and other configuration information from a DHCP server. After issuing this command, ensure that the interface is also enabled with the no shutdown command.


What is cli in computer networking?

CLI stands for Command line interface. It is where we configure our routers or switches.


What windows networking utility can tell you what your IP address is?

From a command prompt, you can use the command "ipconfig" to display your ip address.


Which piece of information is available from examining the output of the command show ip interface brief?

From the output of the "show ip interface brief" command, you can see the IP address, interface status (up or down), protocol status (up or down), and the method for obtaining the address (manual or dynamic) for each interface on the device.


What is an address that uniquely identifies the location of each computer or device connected to the Internet?

In networking every system has a associated address to be identified in the network. The address associated with the system in network is called IP address . you can get your unique address by using PING command in command prompt or can check it online as well.


What hardware and software needed to test the Ping command?

To test the Ping command, you need a computer or device with a network interface (such as Ethernet or Wi-Fi) to connect to a network. The essential software is the operating system's command-line interface, such as Command Prompt on Windows or Terminal on macOS/Linux, which includes the Ping utility. Additionally, ensure that you have network connectivity and the target IP address or hostname you wish to ping. No special hardware beyond standard networking equipment is required.


What command enable the management interface?

To enable the management interface on most network devices, you typically use the command interface management followed by ip address <IP_ADDRESS> <SUBNET_MASK> to assign an IP address, and then no shutdown to activate the interface. Specific commands may vary depending on the device and operating system, so always refer to the device's documentation for precise syntax.


When a Cisco router is being moved from an IPv4 network to a complete IPv6 environment which series of commands would correctly enable IPv6 forwarding and interface addressing?

To enable IPv6 forwarding and configure interface addressing on a Cisco router moving to an IPv6 environment, you would first enter global configuration mode and enable IPv6 routing with the command ipv6 unicast-routing. Next, you would access the specific interface using interface <interface-name> and assign an IPv6 address with the command ipv6 address <ipv6-address>/<prefix-length>. Finally, use the command no shutdown to activate the interface.


Which file contain the mac address for ipv6 on Linux machine?

On a Linux machine, the MAC address for an interface can be found in the /sys/class/net/<interface>/address file, where <interface> is the name of the network interface (like eth0 or wlan0). Additionally, the MAC address can also be viewed using the ip link show <interface> command. For IPv6 specifically, while the MAC address itself doesn't change, it can be used to generate the Interface Identifier in the IPv6 address format.


How do you release and renew your ip address in Linux computer?

Below are two different methods of how this can be done at the command line. ifconfig eth0 downRunning the above command would take the eth0 interface (the first network card) down. Which is the same as releasing the IP address from that network card.ifconfig eth0 upAfter the interface is taken down, typing in the above command would bring that interface back up.ordhclient eth0Renews the IP address assigned to it by DHCP.


Displays the IP address of the host and other configuration information?

There are commands in command line interface for this . To know the ip address of host you can use Ipconfig command . Ipconfig command will also gives your other details as well.


Write the command that will allow to configure the networking card using a command line utility?

In Linux, you can configure a network card (it;s IP address, and if it is turned on or off) with the 'ifconfig' command.