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

12y ago

What else can I help you with?

Related Questions

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.


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.


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.


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.


What does the passive-interface command do?

Passive-interface command is used in all routing protocols to disable sending updates out from a specific interface.


What is 3 differences between software interface and command line interface?

Differentiate between Command line interface and Menus interface and example of each interaction style


What interface is an interface that uses graphics as compared to a command-driven interface?

Graphical User Interface


How do you set the IP address in Linux?

set the IP address with the ifconfig command use the syntax: ifconfig interface address netmask up view your network interfaces with the command ifconfig then for example to set address to 172.12.0.1 on the interface eth0 use: ifconfig eth0 172.12.0.1 netmask 255.255.0.0 up make sure you have root permissions to do this, either be logged in as root or preceed the command with "sudo". you don't have to specify the subnet mask if you don't want to, but it is generally recommended to do so.


Which command or commands will configure a catalyst 2950 switch with the IP address 192.168.10.2?

ALSwitch(config)# interface vlan1 ALSwitch(config-if)# ip address 192.168.10.2 255.255.255.0