Posts

Showing posts from February, 2010

don't mess with Network/Sys Admin

Image

simple HSRP - inter vlan routing with external router (subinterface)

Image
This lab use 2 Cisco 2600 series router and 1 Cisco 3560 switch. in this lab i just use 1 vlan, it didn't work when i have multiple vlan. will work around to solve this problem. primary gateway is on R1, everytime R1 fail, R2 will take over the gateway. configure sub interface for fa 0/1 on R1  interface FastEthernet0/1  no ip address  duplex auto  speed auto ! interface FastEthernet0/1.1  description MG VLAN  encapsulation dot1Q 1 native //follow the vlan number, in this case HSRP for vlan 1  ip address 172.16.1.2 255.255.255.0  standby 1 ip 172.16.1.9 //choose a group number, must be same with the other side  standby 1 priority 150 //default value is 100, higher number got the priority to be primary configure sub interface for fa 0/0 on R2  interface FastEthernet0/0  no ip address  duplex auto  speed auto ! interface FastEthernet0/0.1  encapsulation dot1Q 1 native  ip address 172.16.1.3 255.2...

Cisco Router password recovery

Image
please note that this routine may not work on some Cisco models ---- reboot the router by power off and on the device when it started to boot, press break key while holding the control key this will bring you to the rommon mode, once in, type confeg 1st option will prompted  'do you wish to change the configuration? y/n  [n]:' answer with ' y ' after that press 'n' for all the option except this line 'enable  "ignore system config info"? y/n  [n]:' , type ' y' then type reset after reboot, you will notice from the show version that your register now is set to 0x2142, this is config bypass mode if you want to keep previous startup config , copy startup to running config then change the password if you want a fresh start, just simply erase starup config by overwrite running into startup config last !! don't forget to change register to normal mode again, type config-register 0x2102 , copy run star a...

Inter VLAN routing with CEF - GNS3

Image
Place your GNS3 router as below, i use Cisco 3640 with additional slot NM-16ESW to act as a layer 3 switch for the layer 2 switch, set the properties as below port 11 access port for vlan 100 port 12 access port for vlan 200 port 13 trunk, dot1q encapsulation create vlan 100 and 200 on router Router>en Router#vlan da Router(vlan)#vla 100 repeat the same to create vlan 200 enable inter vlan routing Router(config)#ip routing Router(config)# configure the vlan interface(routed interface for that vlan), vlan 1 is for management interface Vlan1  ip address 172.16.1.1 255.255.255.0 ! interface Vlan100  ip address 192.168.100.1 255.255.255.0 ! interface Vlan200  ip address 192.168.200.1 255.255.255.0 configure trunking *always remember to no shutdown on interface, by default, like router, the interface is shutdown, unlike switch. Once the interface is up, trunk will work then the int vlan will be up Router(config)#int fa 0/1 Router(co...

GNS3 - install and configure VPCS to use with Linux (ubuntu)

Image
1.download from here  VPCS 2.extract and look for vpcs (vpcs.exe is for windows) 3.open terminal - issue command  chmod +x vpcs 4.issue command gedit startup.vpc to configure the ip address, mask and gateway for VPCS.    add same line like picture below    put # for the rest of the line 5.now start VPCS use command  ./vpcs (start)    use show to see all the configured ip address 6.open gns3 -> edit -> symbol manager 7.choose pc symbol from ' available symbol ' to ' customized nodes '     on name = anyname ie, pc1     on type = cloud     click ok 8.drag n drop pc1 n pc2 in GNS3     double click on pc1     click on ' C0 '     go to tab ' NIO UDP '     hold.... 7.go back to step 4     now check n remember the LPORT n RPOR 8.resume step (7)     on local port ...

Inter-VLAN routing with External Router

Image
in this GNS3 lab, i'll use router C3640 with additional module NM-16ESW to act as S1 and S2 VLAN can only configured in vlan database mode (command : vlan database ) at priviledge-level set VTP domain S2#vlan database S2(vlan)#vtp domain lab Domain name already set to lab . S2(vlan)#vtp client //for S1 set this to client create VLAN  S1#vlan database S1(vlan)#vlan 100 name HR //repeat this step to create vlan 200 for Branch VLAN 100 modified:     Name: HR use show vlan-switch to display vlan information ----------------------------------------------------------------------------------------------------------- ISP Conf ----------------------------------------------------------------------------------------------------------- Current configuration : 772 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname ISP ! boot-start-marker boot-end-marker ! ! no aaa new-model mem...