devilhas.blogg.se

Router on a stick config example
Router on a stick config example












router on a stick config example
  1. #ROUTER ON A STICK CONFIG EXAMPLE HOW TO#
  2. #ROUTER ON A STICK CONFIG EXAMPLE PATCH#
  3. #ROUTER ON A STICK CONFIG EXAMPLE PASSWORD#

You can learn more about access to the device using the SSH protocol in this article.

#ROUTER ON A STICK CONFIG EXAMPLE PASSWORD#

For authorization, enter the login name and password set earlier. Then, using a special program supporting the SSH protocol, you can remotely enter the router console from any working station of the local network. Username admin privilege 15 secret 0 *****Įnable authorization through the device local base (the user you have created a line before). Set a user name with administrator rights and the password (*****) Generate the rsa keys required for connection.

#ROUTER ON A STICK CONFIG EXAMPLE HOW TO#

Let’s see how to configure the secure connection.Įnable the SSH version 2 protocol and set any domain name. You can access the router console not only using a console cable, but also remotely using the Telnet (data is transferred unsecure) and SSH (secure connection).

router on a stick config example

Configuration of the remote router access Then, check the availability of this router interface using the ping command from the command line. The IP address is assigned to the Vlan X virtual interface, which is linked with the Fastethernet Y physical interface.Ĭonnect the Fa 0 router interface to the switch with the working stations of the local network or directly with the administrator’s working station. Ip address => interface Vlan X => interface Fastethernet Y This could help for better understanding: To configure the internal interface of the local network, enter the Vlan 1 configuration mode, set an IP address and link it with one of the router’s physical interfaces ( Fa 0).Ĭhoose a physical router interface and link it with the virtual Vlan.

  • Let’s reserve addresses from 192.168.0.2 to 192.168.0.4 for emergency technological needs.
  • The max available address in this network is 192.168.0.254.
  • I recommend starting the range of internal network addresses (users, printers, servers, etc.) with 192.168.0.5.
  • Internal router address acting as an Internet gateway for all network hosts, 192.168.0.1.
  • The local network will have the following addresses: Success rate is 100 percent (5/5), round-trip min/avg/max = 2/4/10 msĪfter making sure that the provider’s gateway is available, we should configure the internal interface. Sending 5, 100-byte ICMP Echos to 200.150.100.1, timeout is 2 seconds: Then, the adjacent address – a provider’s gateway Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Sending 5, 100-byte ICMP Echos to 200.150.100.2, timeout is 2 seconds:

    #ROUTER ON A STICK CONFIG EXAMPLE PATCH#

    Then, connect this router interface to the port of the provider’s equipment using a direct patch cord and check its availability with the ping command. Let’s configure the external interface: set an IP address and a network mask and enable it using the no shut command The internal interface will be configured for the local network 192.168.0.0 /24įor example, the ISP has provided us with the following addresses: It will have the IP address and network mask provided by the ISP. The external interface will be used for connecting to the Internet. We should configure two interfaces: external and internal ones. Use the hostname «device name» command to set a router name. The current router configuration will have only default technological lines, and you can start the main configuration. Would you like to enter the initial configuration dialog? : Use ctrl-c to abort configuration dialog at any prompt.ĭefault settings are in square brackets ''.

    router on a stick config example

    Type “ no” and move to next step.Īt any point you may enter a question mark '?' for help. The router will reboot within 3 minutes and initial configuration dialog will appear. To do that, connect via a special console cable to the router console port, enter the command line and do the following:Įnter the privileged mode(#), you may need to enter a login name/password for that. The first thing to do when configuring a new router is to completely clear the startup configuration. Task: provide access for LAN computers to the Internet

  • a switch for creating an office local network.
  • several PCs in the office local network.
  • an Internet connection with a static address.
  • They may differ only in configuration of interfaces, i.e. Commands for configuration of other routers (1841, 2800, 3825…) will be the same. Let’s see how to connect an office to the Internet using a Cisco router.














    Router on a stick config example