Enable DHCP Relay on a Cisco router

mai 20th, 2009 by Alexandre VIOT No comments »
We have seen (here) that a Cisco router can act as a DHCP server on a small network. However, DHCP is a problem when trying to install a DHCP service on a dedicated server which is not on the same subnet as  clients.

In this article, we study how to activate the DHCP relay on the router to forward requests from clients located on a different network.

To better understand the problem, we will quickly  review the functioning of DHCP protocol.

Implement a HTTP tunnel on a Linux server

mai 15th, 2009 by Alexandre VIOT 2 comments »

In this article, we will learn how to set up a HTTP tunnel between a PC and a Linux server with the SSH protocol to secure our transactions through a firewall or another.

Before to begin any technical part, I will try to explain the operation of Port Forwarding and why implement it.

To understand this concept, I refresh your memories on the communication of computer:

To exchange informations, computers need an IP address and a port number. The port number is important because it’s thanks to it that the communication exists. Client and server have to communicate on the same port number.

Now, we decrypt the Port Forwarding. The Port Forwarding consist of redirect informations sent on a port number of a computer to a different port number on another computer.

» Read more: Implement a HTTP tunnel on a Linux server

How to set up a DHCP server on Cisco routers

avril 21st, 2009 by Alexandre VIOT 3 comments »

For this first article, we will see how to set up a DHCP service on Cisco routers.

DHCP Service (Dynamic Host Configuration Protocol)  allows users to obtain IP configuration automatically.

The DHCP  service is often coupled with DNS service on a dedicated server. However, it is possible to activate it on a router for a small network.

An configuration has an IP address, its subnet mask and others options. Forty of them are configurable such as the default gateway, DNS servers, domain name and WINS server.

A client has a configuration during a specified time, we call it: the lease.

Note : DHCP uses broadcast to communicate,  which means that the client’s request can’t cross a router (except explicit command).

» Read more: How to set up a DHCP server on Cisco routers