Cisco routers usually support two types of default gateways, the in-built one and another external one. The in-built default gateway is built into the CCNA or CCDA-based software and used as mentioned in the earlier part of this article. The external one is configured using the same configuration tools used for in-house configuration. In simple terms, an external default gateway acts as a reverse lookup IP address. On the contrary, an in-house default gateway serves only as a source of IP addresses for internal use.
Now let’s see how we can configure the in-house default gateway and use it to access different IP addresses on the internal network. On the CCNA or CCDA-based lab workstations, there are two ways to access the internal network: either by using the local area network or the wide area network. The login window displays the IP address of the main dial up user. We want to change the IP of this user in order to connect to the internal network.
Let’s start from the default gateway address. To access this IP, we have to find router ip address with the help of the show ip packet. There are two types of searches you can perform on this packet. These are passive and active. With passive search, you search for the IP address not with the intention of looking for its origination point but just for the information on the next hop along which is the destination of this packet.
Cisco router default gateway
You can carry out the same procedure for this. Then come to the second type of search. This is the active search where you specify the name of the user. Then enter the IP of the user you want to connect to the external network. If the result has a match, it means that you have found the router IP address of the user specified by you. But if there is no match, you need to select any other option.
With the help of the above methods, you will find router IP of your default and bind it to an IP of the internal network. However, this is not the best method for you to bind a non-exchange port like the FTP port or telnet port. You can do the same for the other ports. The reason is that, if there is any conflict among the IPs of these ports, the default gateway might not get the IP for the binding process.
Another possible way to find router IP address with the help of show command prompt is by use of the show commands at startup option. Here, you have to click on the arrow on the start page of the console. Then type the following command: let#show ip route | default | interface | router} You will get details about all the default routes from this menu. Again, you have to check the details with the help of show command prompt. You will find the IP of the default gateway as the first number in the IP addresses table. Now you can either select the static or dynamic interface depending upon the difference.
If you need to access the router through the command Prompt Window, then, you can login as “root” user. Type the following command to do the same: hostname (configure) #inetadpt-show ip | default gateway | router | interface | default} For accessing your Cisco router through the login window, you need to enter the following command: hostname (configure) #inetadpt-enable socket auto discovery After typing this command, you will see the icon on the system tray. This icon indicates the presence of a TCP/IP service that supports the default gateway as well as other required interfaces. This type of connection enables you to connect to the internet using the web browser. For connecting to the Cisco VPN, you need to configure the necessary firewall to enable filtering and forwarding of the traffic on the default gateway. You can also set up a secondary DNS server and enable forwarding of the host name within the private network of the VPN client.