Category: CentOS Tutorials

  • InterVLAN Routing using CentOS with 1 Interface

    Scenario: Router: CentOS Server with 1 network card. Clients: 2 WindowsXP in VLAN10,1 Ubuntu and 1 CentOS in VLAN20. Switch: Cisco 2960 Cisco 2960 Switch Configuration: interface FastEthernet0/1 description CONNECTED TO CentOS ROUTER switchport mode trunk ! ! ! interface FastEthernet0/5 description WINXP-1 switchport access vlan 10 switchport mode access ! interface FastEthernet0/6 description WINXP-2 […]

  • InterVLAN Routing using Ubuntu with 1 Interface

    Scenario: Router: Ubuntu Server with 1 network card. Clients: 2 WindowsXP in VLAN10,1 Ubuntu and 1 CentOS in VLAN20. Switch: Cisco 2960 Cisco 2960 Switch Configuration: interface FastEthernet0/1 description CONNECTED TO UBUNTU ROUTER switchport mode trunk ! ! ! interface FastEthernet0/5 description WINXP-1 switchport access vlan 10 switchport mode access ! interface FastEthernet0/6 description WINXP-2 […]

  • How to Setup a DHCP Server on CentOS 6.2

    In this scenario, we have a CentOS server with two network cards, but it will only listen the dhcp request on one card (eth1). Here is the configuration of eth1 interface: cat /etc/sysconfig/network-scripts/ifcfg-eth1 CentOS as DHCP Server: To install dhcp server, enter the following command at a terminal prompt: sudo yum -y install dhcp To […]

  • RIP routing between Ubuntu and CentOS using Quagga

    Topology:   Scenario: Routers: 1 Ubuntu Linux with 2 nics, 1 Centos Linux with 2 nics. Clients: 2 Windows 7 with 1 nic. IP Details All the Routers in this scenario have a default password of “zebra“. UbuntuRouter: eth0: 172.16.10.1/24 eth1: 10.10.10.1/24 CentOSRouter: eth0: 172.16.10.2/24 eth1: 192.168.10.1/24 Clients: Dektop: 192.168.10.50/24 Laptop: 10.10.10.50/24 UbuntuRouter Configuration: Restart […]

  • How to install VNC server on CentOS 6

    VNC is a protocol that is used to share the desktop with other users/computers over the network/Internet.In order to share a desktop, VNC server must be install and configure on the computer and VNC client must be run on the computer that will access the shared desktop. When we install the minimal copy of CentOS […]