Wednesday, April 25, 2012

Use CentOS Linux for Routing, Proxy, NAT, DHCP - Part 9



In part 9, I show how to manually configure a single network interface into multiple subinterfaces in order to support VLANs and Trunking. The network VLAN interfaces are configured in CentOS Linux with ip addresses, gateway address, and DNS. The configurations are saved the so they can be automatically loaded on restart.

In this series of tutorials we convert a CentOS server to a transparent proxy that can handle routing, network address translation (NAT), DHCP, and DNS.

Subscribe! and for more information about Linux visit me at http://danscourses.com

source

8 comments:

  1. You are awesome! Greetings from Poland :D

    ReplyDelete
  2. Thanks for the great series!!

    Following your instructions, I still had issues with eth1 obtaining an address as well as the default gateway being recognized. For anyone who may need it, I was able to resolve the issue by adding the below to /etc/sysconfig/network. I also cp the ifcfg-eth1 and ifcfg-eth1 to /etc/sysconfig/network/devices after backing up the default one.

    Added to network file:
    GATEWAY="Your Default Gateway address"
    GATEWAYDEV=eth0

    ReplyDelete
  3. Thank you so much dan! This has been an accomplishment and a half! THANK YOU!

    ReplyDelete
  4. Thank you so much teacher ...this serie was exactly what i looking for

    Anas from MOROCCO :)

    ReplyDelete
  5. Superb..... Thanks from Bangladesh

    ReplyDelete