How to install PPTP Server on Cent OS

Step-1 Forward GRE protocol and TCP port 1723 through your firewall

Step-2 Add the Poptop Yum Repository

rpm -Uhv http://poptop.sourceforge.net/yum/stable/rhel5/pptp-release-current.noarch.rpm

Step-3 Configure iptables

Create iptables_set.sh, chmod +x iptables_set.sh, and run the script.

Note: The following will work but you may wish to change the source address from 10.10.9.0/24 to the network range of your choosing based on your network.

#!/bin/bash
/sbin/iptables -F
/sbin/iptables -P INPUT DROP
/sbin/iptables -P OUTPUT ACCEPT
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
/sbin/iptables -A FORWARD -i ppp+ -o eth0 -j ACCEPT
/sbin/iptables -A FORWARD -i eth0 -o ppp+ -j ACCEPT
/sbin/iptables -A INPUT -i eth0 -p tcp –dport 1723 -j ACCEPT
/sbin/iptables -A INPUT -i eth0 -p gre -j ACCEPT
/sbin/iptables -A INPUT -p icmp -j ACCEPT
/sbin/iptables -A INPUT -i lo -j ACCEPT
/sbin/iptables -A INPUT -m state –state ESTABLISHED,RELATED -j ACCEPT
/sbin/service iptables save
/sbin/iptables -L -v

Step-4 Configure Routing

Edit /etc/sysctl.conf

net.ipv4.ip_forward = 1

Step-5 Make the changes active

sysctl -p

Step-6 Install PPTP Server

yum install ppp pptpd

Step-7 Configure the service to start on boot

chkconfig –levels 345 pptpd on
Step-7 Configure Client Network Options change IP address according to your requirement

Modify /etc/pptpd.conf

localip 10.10.11.1
remoteip 10.10.11.5-100

Modify /etc/ppp/options.pptpd
ms-dns 208.67.222.222
ms-dns 208.67.220.220

Step-8 Configure Client Access

You will need to customize the client name, secret (password), and you can either allow all IP address or limit as necessary.

Edit /etc/ppp/chap-secrets.

# Secrets for authentication using CHAP
# client          server          secret                           IP addresses
test-user       *                   test-password               *

Step-9 Start the Server

Start the pptpd service

service pptpd start

Step-10 Configure the Client

source link

Posted in Uncategorized | Leave a comment

How Do I Find Out My Kernel Version?

How Do I Find Out My Kernel Version?

$ uname -mrs
$ uname -a

output
Linux 2.6.18-194.el5 i686

Posted in Linux | Tagged | Leave a comment

How To Find Out My Linux Distribution Name and Version

$ cat /etc/*-release

output

CentOS release 5.9 (Final)

$ lsb_release -a

output

LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 5.9 (Final)
Release: 5.9
Codename: Final

Posted in Linux | Leave a comment

how to save terminal session without stop on Cisco

if you want to save configuration with #sh run  of Cisco device through telnet without stop.

below are the command

PSTN Router# terminal length 0

 

Posted in Uncategorized | Leave a comment

How to add a new VLAN on Cisco Nexus 1000 vSwitch on VMware with Cisco UCS

How to add a new VLAN on Cisco Nexus 1000 vSwitch on VMware with Cisco UCS

Example :- I have a new VLAN requirement to be added in my VMware environment

Step-1

Add VLAN on Cisco UCS (configure in LAN option on cisco UCS)

Step-2

Allow VLAN on the  Server NIC  (Configure on server profile)

Step 3

Create Vlan on Nexus1000V switch which you want to make available on Virtual Machines for example VLAN 21 for new application.

>conf  t

>vlan 21

>name newapp

Step-4

Add a Port profile for vethernet

port-profile type vethernet 21_Newapp

> vmware port-group

> switchport mode access

>switchport access vlan 21

>no shutdown

>state enabled

Step-5

Add a port profile Ethernet for uplink which is having the original server.

>port-profile type ethernet VM-uplink-10G

>vmware port-group

>switchport mode trunk

>switchport trunk allowed vlan 2,21

>channel-group auto mode on mac-pinning

>no shutdown

>state enabled

step-6

Assign the VM NIC to 21_newapp VLAN and check the connectivity.

Posted in VMware | Tagged | Leave a comment

Dell Servers Warranty Information

Dell Servers Warranty Information

http://support.dell.com/support/topics/global.aspx/support/warranty/warranty_information?c=us&l=en&s=gen&DoNotRedirect=y

Click here 

Posted in Uncategorized | Tagged | Leave a comment

VMware Hardware Compatibility Guide

VMware Hardware Compatibility Guide

http://www.vmware.com/resources/compatibility/search.php

Posted in Uncategorized | Tagged | Leave a comment

How to update drivers on VMWARE ESXI 5

How to update drivers on VMWARE ESXI 5

Download the Driver for the device vib file and copy to the ESX datastore

ssh your ESXhost

go to the directory where you have copied the driver vib file
type the following command

#esxcli software vib install -v your driver file path/driverfile.vib  –no-sig-check
For Example you have copied your vib file on your datastore on Driver folder

#esxcli software vib install -v /vmfs/volumes/—your datastore path—/Driver/net-enic-2.1.2.22-1OEM.500.0.0.441683.x86_64.vib  –no-sig-check

Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: Cisco_bootbank_net-enic_2.1.2.22-1OEM.500.0.0.441683
VIBs Removed: VMware_bootbank_net-enic_1.4.2.15a-1vmw.500.0.0.469512
VIBs Skipped:

Posted in VMware | Tagged | Leave a comment

Virtual Machine Configuration Requirements for vMotion

Virtual Machine Configuration Requirements for vMotion

A number of specific virtual machine configurations can prevent migration of a virtual machine with vMotion. The following virtual machine configurations can prevent migration with vMotion:

You cannot use migration with vMotion to migrate virtual machines that use raw disks for clustering.

If virtual CPU performance counters are enabled, you can migrate virtual machines only to hosts that have compatible CPU performance counters.

You cannot use migration with vMotion to migrate a virtual machine that uses a virtual device backed by a device that is not accessible on the destination host. (For example, you cannot migrate a virtual machine with a CD drive backed by the physical CD drive on the source host.) Disconnect these devices before migrating the virtual machine.

Virtual machines with USB passthrough devices can be migrated with vMotion as long as the devices are enabled for vMotion.

You cannot use migration with vMotion to migrate a virtual machine that uses a virtual device backed by a device on the client computer. Disconnect these devices before migrating the virtual machine.

Posted in VMware | Tagged | Leave a comment

VMware Certified Advanced Professional 5 – Datacenter Administration exam tests certification

VMware Certified Advanced Professional 5 – Datacenter Administration exam tests certification

VCAP5-DCA Exam testing center exam code: VDCA510

The VMware Certified Advanced Professional 5 – Datacenter Administration exam tests certification candidates on their skills and abilities installing, configuring and administering large and/or more complex virtualized environments.

Exam Blueprint Version 2.3 22 February 2013

Download Link:- click here     Lab test demo Click here

 

Posted in VMware | Tagged | Leave a comment