Skip to content

Instantly share code, notes, and snippets.

💻
Social Work at GEOLOGIA UNAM

Daniel Jacales heptorsj

💻
Social Work at GEOLOGIA UNAM
Block or report user

Report or block heptorsj

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Tarea3.sql
use Suscripciones
CREATE TABLE CURSO (NumC char(3),NombreC varchar(50),DescC varchar(50) ,Creditos int,Costro int ,Depto varchar(15))
View post.css
.magazine{
margin: auto;
width: 70%;
border: 3px solid black;
padding: 10px;
margin-bottom: 100px;
}
#article{
text-align: justify;
padding: 10px;
@heptorsj
heptorsj / DHCP Server
Created Dec 18, 2018
How to configure a DHCP server
View DHCP Server
ip dhcp excluded-address 192.168.10.254
ip dhcp pool LAN1
network 192.168.1.0 255.255.255.0
default-router 192.168.10.1
dns-server 192.168.11.5
domain-name cisco.com
end
@heptorsj
heptorsj / Rip Configuration
Created Dec 18, 2018
How To Declare Networks for the RIP Protocol
View Rip Configuration
router rip
version 2
network 192.168.1.0
-- You must declare every directed connect network to your device.
View Static Float Route
ip route 0.0.0.0 0.0.0.0 172.16.2 5
ipv6 route ::/0 2001:db8:acad:4::2 5 -- para ipv6
View StaticRoutingConf
-- How To Set A Static Route (IPV4)
ip route 192.168.1.0 255.255.255.0 FO/1 # espeficandao interfaz de salida
ip route 192.168.1.0 255.255.255.0 172.16.2.1 # especificando direccion de siguientee salto
-- How To Set A Static Route (IPV6)
ipv6 route 2001:DB8:ACAD:3::/64 s0/0/0 fe80::2
-- How To Set A Static Default Route ( Used to NAT )
ip route 0.0.0.0 0.0.0.0 172.16.2.1
ipv6 route ::/0 2001:db8:acad:4::2 # para ipv6
@heptorsj
heptorsj / Basic Switch Configuration
Created Dec 13, 2018
A Switch may require to configure an IP address to a vlan
View Basic Switch Configuration
-- To be used for local configuration
enable
conf ter
interface vlan 99
ip address 192.168.1.1 255.255.255.0
no shutdown
end
-- To be used for remote configuration
enable
conf ter
View Basic Router Configuration
enable
conf ter
interface gigabitEthernet0/1
ip address 10.0.0.1 255.255.0.0
description link-to-lan1
no shutdown -- this starts the interface
-- To verify the status of the interfaces we can use the next commands
show ip interface brief
-- THis shows the interface-ip address-ok? -method-satus-protocol
View LoginSecurity
-- This configure the EXEC privlige mode
enable
conf ter
enable secret [password]
exit
-- This add a password for the EXEC user mode
line console 0
password [password]
login
exit
@heptorsj
heptorsj / vlanforcisco
Created Dec 12, 2018
How To Create A VLAN
View vlanforcisco
enable
conf ter
vlan 2
name Oficina
end
interface fa0/1
switchport mode acces
switchport acces vlan
end
You can’t perform that action at this time.