Wednesday, May 13, 2020

How to create index. html with different color

Basic HTML Page 



I have created the below very Basic  html text to test the F5 load balancer lab. basically i had three servers in the backed sever pool Red, Green and Blue. i have used below the index.html pages to replicate the web server.


############## Used for Red server ####################
<html>
<body style="background-color:Tomato;">

<h1 style="background-color:Tomato;"> RED Server</h1>
<p style="background-color:Tomato;"> This is server RED</h1>


############## Used for Blue server ####################
<html>
<body style="background-color:Blue;">

<h1 style="background-color:Blue;"> BLUE SERVER</h1>
<p style="background-color:Blue;"> This is server Blue</h1>


############## Used for Green server ####################
<html>
<body style="background-color:Green;">

<h1 style="background-color:Green;"> Green Server</h1>
<p style="background-color:Green;"> This is server Green</h1>



Cisco Basic Command Line

SW2(config)#do sh int trunk

Port        Mode             Encapsulation  Status        Native vlan
Gi0/2       on               802.1q         trunking      1
Gi0/3       on               802.1q         trunking      1
Gi1/0       on               802.1q         trunking      1
Gi1/3       on               802.1q         trunking      1

Port        Vlans allowed on trunk
Gi0/2       1-4094
Gi0/3       1-4094
Gi1/0       1-4094
Gi1/3       1-4094

Port        Vlans allowed and active in management domain
Gi0/2       1,10,20,30,40,50
Gi0/3       1,10,20,30,40,50
Gi1/0       1,10,20,30,40,50
Gi1/3       1,10,20,30,40,50

Port        Vlans in spanning tree forwarding state and not pruned
Gi0/2       1,10,20,30,40,50
Gi0/3       none
Gi1/0       1,10,20,30,40,50
       
Port        Vlans in spanning tree forwarding state and not pruned
Gi1/3       1,10,20,30,40,50

#########################################
SW1(config-if)#do sh cdp ne
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
SW2              Gig 0/1           166             R S I            Gig 0/1
SW2              Gig 0/3           137             R S I            Gig 0/3
SW3              Gig 0/2           155             R S I            Gig 0/2

Total cdp entries displayed : 3

###############################################
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
passive interface fa/0 (default)
show ip ospf interface


























GNS3 2.2.8 VM Connection issue on Win10

GNS3 2.2.8 VM Connection issue

I have downloaded the Gns3 2.2.8 and installed on my laptop. earlier version GNS3 was working fine but just to test new Gns3 2.2.8 with web gui i have installed it. but when i fired up the gns3. Gns3 interface started well and its automatically trigger the vm inside the vmware workstation but it didn't turn  up in GNs3 application console Server Summary.


In the serve summary VM is showing red sometimes Gray.


But in the Gns VM was be up and running.



Ping was working as expected.


When i checked the default port in Gns3 Console- Edit- Preferences - default TCP port was 3080.



Changes the default port to 3080 > 80 and apply and ok Gns3 vm rebooted 


And Finally Server Back online in the server console in GNS.


So in summary, sometimes your firewall or HIPS  block the Gns3 Default Communication TCP port 3080.But changing the port to TCP 80 which is Generic one. works well.

Thanks...