Web Development Network Setup with NVI 
The goal of the tutorial is to allow NATed and Internet hosts to use a public IP to access the NATed development server, fixing DNS issues.

Click the link to see tutorial.
http://www.angelcool.net/tutorials/cisc ... rk_NVI.pdf

[ view entry ] ( 1438 views )   |  print article
Multiple NAT translations with NVI (NAT Virtual Interface) 
NVI removes the inside & outside terminology. With NVI multiple interfaces can participate in the translation. Before you cannot have translation with two INSIDE interfaces, NVI fixes that. http://www.cisco.com/en/US/docs/ios/12_ ... natvi.html



Basic configuration(no VRF enable):

int fa 0
  ip nat enable
int fa 1
  ip nat enable
int serial 0
  ip nat enable

ip nat source list 50 interface serial 0 overload //translate fa 0 & fa 1 lans out serial 0
ip nat source list 125 interface fa 0 overload //translate fa 1's lan out fa 0
ip nat source static tcp 172.168.50.10 80 interface serial 0 80 //translate web server out serial 0


[ view entry ] ( 1882 views )   |  print article
Router IOS Firewall: Allow only internal hosts to initiate a TCP session. 
InternalHosts<--e1(Router)e0-->RemoteNetworks

access-list 100 permit tcp any any gt 1023 established

interface e0
ip access-group 100 in


"UDP packets don't establish a connection, they're literally fire and forget! A simple permit udp host xx.xx.xx.xx host xx.xx.xx.xx eq xx should be all that's required."

-------------------------------------------------------------
See Cisco document id 26448


Also see:

Reflexive ACLs
ip inspect command.



[ view entry ] ( 1552 views )   |  print article
T1 Crossover Connection 
Connecting two routers back to back using their T1-DSU/CSU ports.

Cards and pin layout:







[ view entry ] ( 1587 views )   |  print article
About my blog. 
Welcome to my blog.

I needed a place to put all helpful little things, to be available at all times; specially when I have something in my mind and know I know it, so I created this blog ...to share. I added a tutorial section, it helps me remember how to do things (if I start updating it,jk).

Enjoy!. Angel


[ view entry ] ( 45084 views )   |  print article
JavaScript OR when assigning value to variable 
<script type="text/javascript">

x=false || 'test';
alert(x);//outputs 'test';

</script>



[ view entry ] ( 1451 views )   |  print article
Amazon Wishlists 
If you found something helpful in this site and want to return the favor,

http://www.amazon.com/gp/registry/wishl ... av_lists_1

but if you really love me...

http://www.amazon.com/registry/wishlist ... _go_o_T1-2

;)



[ view entry ] ( 1860 views )   |  print article
GET & POST in PHP and ASP.NET 
PHP
$_GET
$_POST

ASP.NET
Request.QueryString
Request.Form





[ view entry ] ( 1391 views )   |  print article
Regular Expressions Notes 
. matches any one character
[] character class, matches one character; gr[ae]y matches gray or grey
[^] matches any character not listed.

[1-6] is the same as [123456], which matches any number from 1 to six
[^0-9a-fA-F] is the same as [^0123456abcdefABCDEF], wich matches any character NOT hexadecimal

^ matches start of line
$ matches end of line
\b marches word boundaries

| logic OR, matches either expression it separates, second|2nd matches second or 2nd
() expression grouping, gr(a|e)y matches gray or grey

? matches one optional, Angela? matches Angel and Angela
* matches any amount OK, a*
+ matches at least one, a+

{0,1} the same as ?, a{0,1} the a is optional
{0,10} minimum zero, maximum ten; a{0,10}
{5,8} minumum five, maximum eight.



// Greedy quantifiers
String match = find("A.*c", "AbcAbc"); // AbcAbc
match = find("A.+", "AbcAbc"); // AbcAbc

// Nongreedy quantifiers
match = find("A.*?c", "AbcAbc"); // Abc
match = find("A.+?", "AbcAbc"); // Abc

// Look arounds
//positive lookahead: match Cent only if followed by OS
Cent(?=OS)

// negative lookahead: match Cent only if not followed by OS
Cent(?!OS)

// postive lookbehind: match OS only if preceded by Cent
(?<=Cent)OS

// negative lookbehind: match OS only if not preceded by Cent
(?<!Cent)OS


----------------------------------------------------------------------------------
See:
http://www.pcre.org/pcre.txt
http://www.php.net/manual/en/intro.pcre.php

[ view entry ] ( 1695 views )   |  print article
CCNA Review Notes (exam 640-802) 
Click on related link to view notes.

Topics:
VLAN & Trunking
STP
ACLs
RIP
EIGRP
OSPF
WAN
VPN
IPv6

[ view entry ] ( 1444 views )   |  print article  |  related link

<<First <Back | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | Next> Last>>


2024 By Angel Cool