Thursday, September 20, 2012

INE Lab 1 Section 1.6


1.6  Disabling DTP Negotiation 
•  Disable Dynamic Trunking Protocol on the trunk links of SW1. 
•  Verify that trunking is still occurring between SW1 & SW2, SW1 & SW3, 
and SW1 & SW4 without the use of DTP. 

Still very confusing about the DTP mode. Google search and found the DTP relationship table. Below is the mode that able to form the Trunking Mode.



switchport mode access -  This command puts the interface (access port) into permanent nontrunking mode.  The interface will generate DTP frames, negotiating with the neighboring interface to convert the link into a nontrunk link. The interface becomes a nontrunk interface even if the neighboring interface does not agree to the change.

switchport mode dynamic desirable  - This command makes the interface actively attempt to convert the link to a trunk link. The interface becomes a trunk interface if the neighboring interface is set to trunk, desirable, or auto mode. This is the default mode for all Ethernet interfaces.  If the neighboring interface is set to the access or non-negotiate mode, the link will become a non-trunking link.


switchport mode dynamic auto – This command makes the interface willing to convert the link to a trunk link if  the neighboring interface is set to trunk or desirable mode.  Otherwise, the link will become a non-trunking link.

switchport mode trunk – This command puts the interface into permanent trunking mode and negotiates to
convert the link into a trunk link. The interface becomes a trunk interface even if the neighboring interface does not agree to the change.

switchport nonegotiate – Prevents the interface from generating DTP frames. You can use this command only when the interface switchport mode is access or trunk. You must manually configure the neighboring interface as a trunk interface to establish a trunk link, otherwise the link will be a non-trunking link.

Monday, September 10, 2012

INE Lab Physical Setup (part 1)

After getting 4 x Cisco 3550 switches, I am going to setup my lab using Ubuntu + GNS3.
I am following INE workbook. All the equipment are placed in the office's server room to enjoy 24 hrs air condition environment.

The equipment list as below.

1. i5 Computer with Ubuntu 12.0.4 installed. Cost around $500.
2. 12 x USB NIC Card (AX88772A Chip set). Each cost $5.
3. 2 x USB to serial converter. Each cost $2
4. 2 x 7 Ports USB Hub 2.0. Each cost $5. (one spoil :sad )

Equipment on the way: 2 x USB to RS232 converter.

As I am not familiar with Linux, it is difficult for me to do configuration.

The 1st problem I faced is the broken USB hub. Then since I am using USB-NIC solution, the Ubuntu cannot detect all the USB-NIC card. I plugged in one by one to make all the USB-NIC are in working condition.

Now I found out I cannot identify the corresponding USB-NIC to the mapping in Ubuntu.
I did some google and the solution as below.

* To see the USB logging in Ubuntu, issue "dmesg"













* To view the USB equipments list, issue "lsusb"













* To check the network connection, issue "ifconfig"









We can give the logical name to each of the USB-NIC. I am going to name them USB1, USB2.
To do this, follow the below steps.

1. sudo gedit
2. Open 70-persistent-net.rules which under /etc/udev/rules.d/
3. Change the key "Names = " USB1"













Few useful link:
https://alteeve.ca/w/Changing_the_ethX_to_Ethernet_Device_Mapping_in_EL6_and_Fedora_12+
https://help.ubuntu.com/10.04/serverguide/network-configuration.html