Configuring GRE tunnels on Cisco routers is relatively easy – all it takes is a few simple commands. Here’s an example of a simple configuration:
ROUTER A
interface Ethernet0/1
ip address 10.2.2.1 255.255.255.0
!
interface Serial0/0
ip address 192.168.4.1 255.255.255.0
!
interface Tunnel0
ip address 1.1.1.2 255.255.255.0
tunnel source Serial0/0
tunnel destination 192.168.4.2
ROUTER B
interface FastEthernet0/1
ip address 10.1.1.1 255.255.255.0
!
interface Serial0/0
ip address 192.168.4.2 255.255.255.0
!
interface Tunnel0
ip address 1.1.1.1 255.255.255.0
tunnel [...]
running's tag archives
GRE Tunnels in Cisco Routers
Case Study: Fatal error: Call to undefined function: str_split() on Wordpress Blog
Hi,
Problem Summary:
I have upgraded wordpress version to the latest along with plugins. I have encountered this error message on my blog as well as while trying to login into the admin area of the blog:
Fatal error: Call to undefined function: str_split() in /home/…/htdocs/wp-content/plugins/pods/init.php on line 27
Possible Solution:
- str_split is a PHP 5 function. It seems [...]
WordPress Foundation
Hi,
Wordpress has released their foundation site. You can check it from here:
Wordpress Foundation Site
Site running the 3.0 development version and the nascent theme called 2010.
More Details…
Thanks,
Shane G.
Related posts:
Wordpress 2.8.1 Released! Wordpress 2.8.1 Released! Wordpress 2.8.1 has been released now for…
Wordpress 2.8.3 Released!! The latest version of wordpress, wordpress 2.8.3 is released today….
Wordpress 2.8.2 Released! Wordpress [...]
Web Typography: Font Embedding Services
There are a lot of options out there for using other-than-websafe fonts in your website designs. Dynamic text replacement methods or resorting to very long fontstacks (where most of your visitors won’t see the font you wanted anyway) have long been the standard for using anything other than websafe fonts.
But the @font-face function changes all [...]
Apache配置文件:http.conf配置详解
Apache的配置文件http.conf参数含义详解
Apache的配置由httpd.conf文件配置,因此下面的配置指令都是在httpd.conf文件中修改。
主站点的配置(基本配置)
(1) 基本配置:
ServerRoot “/mnt/software/apache2″ #你的apache软件安装的位置。其它指定的目录如果没有指定绝对路径,则目录是相对于该目录。
PidFile logs/httpd.pid #第一个httpd进程(所有其他进程的父进程)的进程号文件位置。
Listen 80 #服务器监听的端口号。
ServerName www.clusting.com:80 #主站点名称(网站的主机名)。
ServerAdmin admin@clusting.com #管理员的邮件地址。
DocumentRoot “/mnt/web/clusting” #主站点的网页存储位置。
以下是对主站点的目录进行访问控制:
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
在上面这段目录属性配置中,主要有下面的选项:
Options:配置在特定目录使用哪些特性,常用的值和基本含义如下:
ExecCGI: 在该目录下允许执行CGI脚本。
FollowSymLinks: 在该目录下允许文件系统使用符号连接。
Indexes: 当用户访问该目录时,如果用户找不到DirectoryIndex指定的主页文件(例如index.html),则返回该目录下的文件列表给用户。
SymLinksIfOwnerMatch: 当使用符号连接时,只有当符号连接的文件拥有者与实际文件的拥有者相同时才可以访问。
其它可用值和含义请参阅:http://www.clusting.com/Apache/ApacheManual/mod/core.html#options
AllowOverride:允许存在于.htaccess文件中的指令类型(.htaccess文件名是可以改变的,其文件名由AccessFileName指令决定):
None: 当AllowOverride被设置为None时。不搜索该目录下的.htaccess文件(可以减小服务器开销)。
All: 在.htaccess文件中可以使用所有的指令。
其他的可用值及含义(如:Options FileInfo AuthConfig Limit等),请参看: http://www.clusting.com/Apache/ApacheManual/mod/core.html#AllowOverride
Order:控制在访问时Allow和Deny两个访问规则哪个优先:
Allow:允许访问的主机列表(可用域名或子网,例如:Allow from 192.168.0.0/16)。
Deny:拒绝访问的主机列表。
更详细的用法可参看:http://www.clusting.com/Apache/ApacheManual/mod/mod_access.html#order
DirectoryIndex index.html index.htm index.php #主页文件的设置(本例将主页文件设置为:index.html,index.htm和index.php)
(2) 服务器的优化 (MPM: Multi-Processing Modules)
apache2主要的优势就是对多处理器的支持更好,在编译时同过使用–with-mpm选项来决定apache2的工作模式。如果知道当前的apache2使用什么工作机制,可以通过httpd -l命令列出apache的所有模块,就可以知道其工作方式:
prefork:如果httpd -l列出prefork.c,则需要对下面的段进行配置:
StartServers 5 #启动apache时启动的httpd进程个数。
MinSpareServers 5 #服务器保持的最小空闲进程数。
MaxSpareServers 10 #服务器保持的最大空闲进程数。
MaxClients 150 #最大并发连接数。
MaxRequestsPerChild 1000 #每个子进程被请求服务多少次后被kill掉。0表示不限制,推荐设置为1000。
在该工作模式下,服务器启动后起动5个httpd进程(加父进程共6个,通过ps -ax|grep httpd命令可以看到)。当有用户连接时,apache会使用一个空闲进程为该连接服务,同时父进程会fork一个子进程。直到内存中的空闲进程达到 MaxSpareServers。该模式是为了兼容一些旧版本的程序。我缺省编译时的选项。
worker:如果httpd -l列出worker.c,则需要对下面的段进行配置:
StartServers [...]
In The Company of Royalty
Last week we previewed F01.01 by Veerle Pieters (which is coming along nicely btw) and today we’ve got a new design by another female design supremo – Sarah Parmenter. And obviously we don’t need to tell you that both of these are in support of the We Love Boobs campaign we’re running in October.
If you [...]
TLE System Administration Training Now Available!
You asked; we listened! We here at Inovis are pleased to announce that System Administration Training is now available to all TLE customers, and is fully customizable to your needs and solution. Whether you’re looking to get your new EDI Administrators up and running, provide a light refresher to your current Administrators, or even train [...]
How to Build a Top Sliding Login Panel
Many times, I get requests from my clients who want to implement a Sliding Login Panel at the top of their WordPress blogs. With jQuery and the WordPress default login code, its very easy to build. Here is what it will look like :-
DEMO SLIDING LOGIN PANEL
The above demo is only HTML code and will [...]
13 Terrific Tools For Twitter Lovers
As we all know Twitter is a rapidly growing micro-blogging service in these days. No doubt, It’s a great fun to share information or talk with your friends and the powerful way to spread the word as much as possible. For this reason, there are too many free twitter tools available that are offering you [...]
Custom Fields Hacks For WordPress
In our previous articles on WordPress hacks, we discussed the incredible flexibility of WordPress, which is one of the biggest reasons for its popularity among bloggers worldwide. Custom fields in particular, which let users create variables and add custom values to them, are one of the reasons for WordPress’ flexibility.
In this article, we’ve compiled a [...]
Join Our List
-
Loading...
Categories
Recent Posts
Search
Popular Keywords
- also blog blue business centered column commercial creative demo design download features free from have here joomla like magazine more options page post posts professional purchase ready site some style tags template templates that theme themes there this three which widget will with wordpress your
Archives
- Jailbroken or not, Google Voice is available on your iPhone
- Commercial Wordpress Themes:28144
- Commercial Joomla 1.5 Template :28139
- Commercial Magento Theme :Cool-blue
- Tired Of Photoshop’s Complexity? Try These Free And Easy Apps For Your Photos
- Starting Out Organized: Website Content Planning The Right Way
- Starting Out Organized: Website Content Planning The Right Way
- Starting Out Organized: Website Content Planning The Right Way
- Starting Out Organized: Website Content Planning The Right Way
- High Speed Photography : Frozen in Time
- » 20 Them… in Christmas Wordpress Template
- Paul in Modularity Theme
- 10 Temi Nataliz… in Christmas Wordpress Template
- Alex in Outlook Express DBX File Size Limit…
- Medical SEO Guy… in Barclays 2 Column Right Sidebar Wid…
- 42 Wordpress Th… in Christmas Wordpress Template
- ooopinionsss in New Page Menu Function & St…
- kiwi freelancer… in New Premium WordPress Plugin: Intro…
- 40+ Themes Word… in Christmas Wordpress Template
- Justin Wright in New Revolution Photo and Blog Theme…
- Christmas Wordpress Template (5)
- 60+ Tools To Enhance Your Flickr Experience (3)
- Roundup of best WooContest submissions (2)
- 10 Useful New WordPress Plugins for October 16, 2008 (2)
- Fhi-zin 2 Column Grey Layout Right Sidebar Widget Ready SEO Friendly Theme (2)
- 7 Ingredients Of Good Corporate Design (1)
- Commercial Joomla 1.5 Template : 21501 (1)
- 50 Excellent AJAX Tutorials (1)
- Desktop Wallpaper Calendar: November 2008 (1)
- How to remove footer encryption? (1)