Lab 1 1 Simple Network Hardware Lab - CameronProvost/Tech-Journal GitHub Wiki

Lab 1-1 Simple Network Hardware Lab

Physical Connections

The first step in this lab is the physical connection between the systems being used. The two switches were connected to the router via ethernet cables. Also connected to the switches the work stations were connected via ethernet cables. The final physical connection needed was from one workstation to the router via a usb console cable.

Configuring the Router

The system that is connected to the router via the console cable then uses putty to connect to the router's interface. This connection requires the COM port being used for the connection in our case it is USB0. Once USB0 is assigned as the COM port and the serial option is selected on putty the connection to the router should be successful. Once connected the router runs through a startup process and boot configuration. Bypass the manual startup process and enter into the router’s terminal. The first configuration step is to assign addresses to the appropriate interfaces. Enter configuration mode by entering “enable” followed by configure terminal. To access the interface use “interface fa0/0”. Then for this interface assign the default gateway address, “ip address 192.168.1.1 255.255.255.0”. Do the same for fa0/1 however use the proper address, “ip address 192.168.3.1 255.255.255.0” Once this is completed the addresses are configured for their proper interfaces on the router. The next step is to set the ip routes to connect communication within the router. To do this use the command “ip route 192.168.1.1 255.255.255.0 192.168.3.1” and “ip route 192.168.3.1 255.255.255.0 192.168.1.1”

Configuring the Kali Workstations

The final step is configuring the address of the Kali systems to match the subnets of the router interfaces. To do this you must edit the network configuration files of the system using “sudo vim etc/network/interfaces” Add the following to the file,

auto eth0 iface eth0 inet static address 192.168.3.2 netmask 255.255.255.0 gateway 192.168.3.1

For the other Kali system, change the address to 192.168.1.2 and the gateway to 192.168.1.1. Then reset the network to process the changes using “sudo service networking restart” From here if all works correctly the two systems should be able to ping each other.

Troubleshooting

In our case however the pings were not successful due to an internal routing error. After the above configuration we were able to ping our own default gateways and the gateway of the next network. However, pings to the workstation of the other network were unsuccessful. We tried a fresh router configuration as well as editing some of the interface settings, but were unsuccessful in resolving the issue.

IMG_3236

The image above shows I am able to ping the gateways of both networks, but unable to ping the workstation on the other network.

IMG_3237

The image above shows the internal routing within the router is not set properly which is preventing the workstations from successfully pining each other.