802.1q vlan interface with mikrotik

Nowadays, Ussually we use Vlan Tagging 802.1q for many connection to one router. And also most of that we using cisco router combine with cisco catalyst 2950(Layer 2 router).
I thinking how about we use Mikrotik router combine with Layer 2 Switch non cisco to build Vlan tagging 802.1q. so I decided to try new improvement for efisien cost
VLAN is an implementation of the 802.1Q VLAN protocol for MikroTik RouterOS 2.7. It allows you to have multiple Virtual LANs on a single ethernet cable, giving the ability to segregate LANs efficiently. It supports up to 4094 vlan interfaces per ethernet device. Many routers, including Cisco and Linux based, and many Layer 2 switches also support it.
A VLAN is a logical grouping that allows end users to communicate as if they were physically connected to a single isolated LAN, independent of the physical configuration of the network. VLAN support adds a new dimension of security and cost savings permitting the sharing of a physical network while logically maintaining separation among unrelated users.
Tagged Port Members
A port is a tagged member of a specific VLAN when it is a member of more than one VLAN. If a port is a tagged member of one VLAN, then the same port is also an untagged member of another VLAN.
Untagged Port Members
A port is an untagged member of a VLAN if the PVID is equal to the VID of that VLAN. A port can be an untagged member of only one VLAN. An example of this is the Default VLAN configuration where all ports are initially configured to be untagged members of VLAN 1 only. A port can also be an untagged member of one VLAN and be a tagged member of one or more VLANS
How do I setup VLAN Tagging Between Mikrotik PC Router and Layer2 Switch :                 First, We configure 3com switch to define which as port member tagged and untagged.
Menu options: --------------3Com SuperStack 3 Switch 4200-------------
bridge - Administer bridge-wide parameters
gettingStarted - Basic device configuration
logout - Logout of the Command Line Interface
physicalInterface - Administer physical interfaces
protocol - Administer protocols
security - Administer security
system - Administer system-level functions
trafficManagement - Administer traffic management
Type ? for help
-------------------------------------amino, 1 (1)---------------------
Select menu option: bridge vlan
Menu options: --------------3Com SuperStack 3 Switch 4200-------------
create - Create a VLAN
delete - Delete a VLAN
detail - Display detailed information
modify - Modify a VLAN
summary - Display summary information

vlantag

After that we have to configure Vlan Interface on mikrotik router,
Note :
Ether 1  Direct to Router WAN
Ether 2  To Switch 3com

vlaninterface

 

 

Next, you just assign ip address per VLAN. Example Company A want to connect to you and you just plug to port 1 switch 3Com which belong to vlan 02 (see configuration switch 3com above).

ipassign

 

 

 

 

 

 

Next if there’s Company B connect, you just continue to plug to port 2 switch 3Com and assign ip to ether2-vlan03.

php redirect script

You can use a simple PHP script to redirect a user from the page they entered to a different web page. One reason you may want to do this is that the page they are trying to access no longer exists. Using this method, they can be seamlessly transfered to the new page without having to click a link to continue.
To do :

go to web file you want to redirect :
add this source code or change all source with this one for more simple:

<?php header( 'Location: http://www.yoursite.com/new_page.html' ) ?>

You need to replace the URL above with the URL you wish to direct to.

top-10-web-hosting-best-web-hosts-2009

From webhostinggeeks, based on review : Cheap professional web hosting services under $10 a month; all web hosting plans include at least one free domain name registration and 30 day money back guarantee. Review your web host — let other webmasters know the best and the worst!


Rank Web Hosting Provider Features Bonus Features Hosting Review
1 Inmotion web hosting rating - 5 stars
Business Web Hosting Space: Unlimited
Traffic: Unlimited
Price: $8.95 Free Domain Name,
Choice of Data Centers,
Top Technical Support Inmotion Review
Host Rating: 98%
Rate and Review a Host Review Inmotion
2 JustHost web hosting rating - 5 stars
Editor's Choice Hosting Space: Unlimited
Traffic: Unlimited
Price: $4.95 Free Domain Forever,
Host Unlimited Domains,
$75 Marketing Bonus JustHost Review
Host Rating: 97%
Rate and Review a Host Review JustHost
3 WebHostingPad web hosting rating - 5 stars
Cheap Reliable Hosting Space: Unlimited
Traffic: Unlimited
Price: $3.96 Free Domain Forever,
Host Unlimited Domains,
$100 Marketing Bonus WebHostingPad Review
Host Rating: 97%
Rate and Review a Host Review WebHostingPad
4 Bluehost web hosting rating - 4.5 stars
Unlimited Web Hosting Space: Unlimited
Traffic: Unlimited
Price: $4.95 Free Domain Forever,
Host Unlimited Domains,
$75 Marketing Bonus Bluehost Review
Host Rating: 96%
Rate and Review a Host Review Bluehost
5 FatCow web hosting rating - 4.5 stars
Cheap Business Hosting Space: Unlimited
Traffic: Unlimited
Price: $4.83 Free Domain Forever,
Host Unlimited Domains,
$75 Marketing Bonus FatCow Review
Host Rating: 96%
Rate and Review a Host Review FatCow
6 Hostmonster web hosting rating - 4.5 stars
Cheap Unix Hosting Space: Unlimited
Traffic: Unlimited
Price: $4.95 Free Domain Forever,
Host Unlimited Domains,
$75 Marketing Bonus Hostmonster Review
Host Rating: 96%
Rate and Review a Host Review Hostmonster
7 Globat web hosting rating - 4 stars
Cheap Web Hosting Space: Unlimited
Traffic: Unlimited
Price: $4.44 Free Domain Name,
Host Unlimited Domains,
$55 Marketing Bonus Globat Review
Host Rating: 95%
Rate and Review a Host Review Globat
8 Lunarpages web hosting rating - 3.5 stars
Cheap Shared Hosting Space: Unlimited
Traffic: Unlimited
Price: $4.95 Free Domain Forever,
Host Unlimited Domains,
Free $775 in Software Lunarpages Review
Host Rating: 94%
Rate and Review a Host Review Lunarpages
9 GoDaddy web hosting rating - 3.5 stars
Largest Web Hosting Space: Unlimited
Traffic: Unlimited
Price: $12.74 Free Domain Name,
Host Unlimited Domains,
Free SSL Certificate GoDaddy Review
Host Rating: 93%
Rate and Review a Host Review GoDaddy
10 Yahoo web hosting rating - 3.5 stars
Reliable Web Hosting Space: Unlimited
Traffic: Unlimited
Price: $8.96 Free Domain Name,
$100 Yahoo Credit,
$50 Google Credit Yahoo Review
Host Rating: 93%
Rate and Review a Host Review Yahoo

ip policy based routing

Cisco routers running Cisco IOS supports pased based IP Routing which can route packets based on a set IP Policy exiting an Interface.
Policy based routing in Cisco ROuters can be performed by using "route-map" and then applying as a policy to the interface of the IP Packets.
The route-map has a list of "match" and "set" commands where match defines the criteria under which the policy routing is performed (say, match a destination IP or a standard or Extended ACL) and set defines the actions to perform when match criteris met (say, set next hop).
In this example, I change the routing to a particular network only from a particular subnet which is defined in a standard ACL. This ACL is then matched in a route-map and applied as an IP policy for routing change for the change in routing behaviour.

route-map

 

 

 

 

 

 

 

Create Standard ACL
From the global configuration mode, create an ACL to permit source network 10.1.1.0/24
ciscorouter# conf term
ciscorouter(config)# access-list 10 permit 10.1.1.0 0.0.0.255
That creates a new ACL "10" with a permit for 10.1.1.0/24 network.
Create Route-Map
Define a route-map with "match" conditions and "set" actions.
ciscorouter(config)# route-map SetNextHop permit 10
ciscorouter(config-route-map)# match ip address 10
ciscorouter(config-route-map)# set ip next-hop 192.168.0.1
ciscorouter(config-route-map)# exit
That creates a route-map called "SetNextHop" and matches the ACL 10 where the source network for which the route-map should be actioned. I've set the action to be taken when the source network matches to set the next hop router as 192.168.0.1
Apply Policy Route-map to interface
This route-map is now applied to the interface (fa0/0)
ciscorouter(config)# interface fa0/0
ciscorouter(config-if)# ip policy route-map SetNextHop
Test for yourself. For source network 10.1.1.0/24, the nexthop IP is set as 192.168.0.1 (Router B) where every other source networks are router as specified by the static/dynamic routes (in our example through Router A)

debian installation failed with sata disk

Yesterday i was try to install debian with my new server. it was Intel Core 2 with SATA hardisk. but it’s failed. really confused because my disc is running well. after searching for this problem, i found answer from debian website.

this is answer from bugs.debian.org :
Try booting with 'linux26' since the default is 2.4 kernel, which does not like sata in general. 2.6 has better sata support, although if the machine is very new it may still not be supported.
Sarge was released in the summer last year, so any hardware made by about the begining of 2005 is supported in general (there are exceptions of course). Anything that only came out in the second half of 2005 is almost certainly unsupported. That is true of all distributions in general. Hardware newer than the release of the distribution almost never works right.

OSPF cisco with ospf mikrotik

This is how to to implement dynamic routing OSPF with mikrotik combine with OSPF with Cisco router.
1. we have to configure in cisco router with OSPF routing.
#conf t
(config)#router ospf 200
(config-router)#redistribute static subnets
(config-router)#network 203.78.224.0 0.0.0.255 area 0
(config-router)# network 203.78.226.0 0.0.0.255 area 0
(config-router)# network 203.78.227.0 0.0.0.255 area 0
(config-router)# network 203.78.228.0 0.0.0.255 area 0
(config-router)# network 203.78.229.0 0.0.0.255 area 0
(config-router)# network 203.78.230.0 0.0.0.255 area 0
2. configure in mikrotik router
set OSPF setting interface: ospfsetting

 

 

 

 

3.Add interface ospf:

ospf interface

 

 

 

 

 

 

 

Add OSPF areas

ospfarea

 

 

 

 

 

 

 

Add OSPF network

ospfnetwork

 

 

 

 

 

 

 

Now, see log in cisco and mikrotik:
#sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
203.78.236.227 1 FULL/BDR 00:00:37 203.78.227.21 FastEthernet1/1
203.78.227.34 1 FULL/BDR 00:00:36 203.78.227.34 FastEthernet1/0.5
[user@mikrotik] /routing ospf neighbor> pr
0 router-id=203.78.236.241 address=203.78.227.33 interface=ether1
priority=1 dr-address=203.78.227.33 backup-dr-address=203.78.227.34
state="Full" state-changes=5 ls-retransmits=0 ls-requests=0 db-summaries=0
adjacency=2w6d1h3m58s

publish your blog using windows live writer pinging

One of the less obvious features available in Windows Live Writer is the ability to automatically ping (send a signal) to popular blog aggregators every time you publish something to your blog.  This feature actively pings the servers of the blog aggregators you specify and to indicate when there is new material.

To use this feature in Writer click on Ping Servers in the Options dialog (navigation: Tools | Options | Ping Servers). Then add the names of the servers you want to ping.

1. go to tools –> accounts –> ping servers

windows livewriter

 

 

 

 

 

 

 

Some names of some popular search engines you could choose are:
http://rpc.technorati.com/rpc/ping
http://blogsearch.google.com/ping/RPC2
http://ping.feedburner.com
http://rpc.icerocket.com:10080
http://services.newsgator.com/ngws/xmlrpcping.aspx
http://api.feedster.com/ping.php

You can also use a pinging service like Ping-o-Matic (this service will automatically ping a number of popular sites for you). Just put the following in the list of ping servers:

http://rpc.pingomatic.com

How to remove windows genuine advantage notification

Disclaimer: This article is for informational and educational purpose only, as most information is found on various part of Internet. Readers should contacts Microsoft if their licensed or OEM software cannot be validated or purchase genuine software. 

wga-notification1

 

 

 

wga-notification2

 

 

This is simple way to remove notification of windows genuine.

  1. Lauch Windows Task Manager.
  2. End wgatray.exe process in Task Manager.
  3. Restart Windows XP in Safe Mode.
  4. Delete WgaTray.exe from c:\Windows\System32.
  5. Delete WgaTray.exe from c:\Windows\System32\dllcache.
  6. Lauch RegEdit.
  7. Browse to the following location:
     HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
     Windows NT\CurrentVersion\Winlogon\Notify
  8. Delete the folder ‘WgaLogon’ and all its contents
  9. Reboot Windows XP.

HOW to create Equal bandiwdth sharing among users

This example shows how to equally share 10Mibps download and 2Mibps upload among active users in the network 192.168.0.0/24. If Host A is downloading 2 Mibps, Host B gets 8 Mibps and vice versa. There might be situations when both hosts want to use maximum bandwidth (10 Mibps), then they will receive 5 Mibps each, the same goes for upload. This setup is also valid for more than 2 users.

 

queue-1

Interface public = 10.10.58.1
Interface local = 192.168.1.1/24

 

 

 

 

 

1. create ip NAT

ip firewall nat add chain=srcnat src-address=192.168.0.0/24
to-addresses=10.10.58.1 to-ports=0-65535

 

2. mark all traffic, coming from local network 192.168.0.0/24 with a mark users:

ip firewall nat add chain=srcnat src-address=192.168.0.0/24
to-addresses=10.10.58.1 to-ports=0-65535
/ip firewall mangle add chain=forward src-address=192.168.0.0/24 \
action=mark-connection new-connection-mark=users-con
/ip firewall mangle add connection-mark=users-con action=mark-packet \
new-packet-mark=users chain=forward

 

3.Now we will add 2 new PCQ types. The first, called pcq-download will group all traffic by destination address. As we will attach this queue type to the Local interface, it will create a dynamic queue for each destination address (user) which is downloading to the network 192.168.0.0/24. The second type, called pcq-upload will group the traffic by source address. We will attach this queue to the Public interface so it will make one dynamic queue for each user who is uploading to Internet from the local network 192.168.0.0/24.

queue type add name=pcq-download kind=pcq pcq-classifier=dst-address
queue type add name=pcq-upload kind=pcq pcq-classifier=src-address

 

4. make a queue tree for download&upload traffic:

queue tree add name=Upload parent=Public max-limit=2048000
queue tree add parent=Upload queue=pcq-upload packet-mark=users
queue tree add parent=Local queue=pcq-download packet-mark=users
queue tree add parent=Public queue=pcq-upload packet-mark=users

 

Reference:  www.mikrotik.com

Followers