Skip to content
Nosce Te Ipsum
  • Home
  • About me
  • My COETAIL Blogs
    • Course 1
    • Course 2
    • Course 3
    • Course 4
  • Testimonials
    • Professional
    • Personal
Site Search

Routing traffic via ClearOS when in VLAN environment

  • August 23, 2010
  • by Muhammad
Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Pin on Pinterest
Pinterest
Share on Reddit
Reddit
Email this to someone
email
Share on StumbleUpon
StumbleUpon
Digg this
Digg

edited the text from ClearOS documentation

Static routes on a ClearOS system are associated with a particular network interface. The route is then enabled/disabled when the particular network interface is enabled/disabled. Here is a simple scenario:

*
A ClearOS LAN interface – eth1 – is configured with a 192.168.1.x network.
*
192.168.1.x is actually in a large VLAN environment with its gateway set to 192.168.1.1

In order for the ClearOS gateway to be aware of other VLANs e.g. 192.168.2.x, a static route must be configured. In this example, /etc/sysconfig/network-scripts/route-ethx is created with the following, where x is the eth number of your NIC.

192.168.2.0/24 via 192.168.1.1

After adding this static route, the route can be activated by re-enabling the ClearOS LAN interface:

/sbin/ifup eth1

If you are logged on to ClearOS console remotely you can issue the following command:

ifdown ethx && ifup ethx
Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Pin on Pinterest
Pinterest
Share on Reddit
Reddit
Email this to someone
email
Share on StumbleUpon
StumbleUpon
Digg this
Digg
Nice Chinese Dict. for handhelds
LDAP integration for Gallery
Jimmy
clarkconnect clearos routing VLAN

Related articles

Raspberry PI as temperature and…
Dynamic DNS client setup for…
Install Nginx, MySQL and PHP…
Autostart a terminal app on…
Attaching an external storage with…
Setting up L2TP/IPSEC server using…
(c) Raspberry Pi
Starting with Raspberry Pi
Using GeoIP database to identify…
Designing Technology Infrastructure for Transformational…
The sad state of human…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Follow Me!

Follow Me On TwitterFollow Me On LinkedInFollow Me On PinterestFollow Me On About.meFollow Me On Wordpress
October 2026
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Oct    

Categories

Licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Theme by Colorlib Powered by WordPress
  • Home
  • About me
  • My COETAIL Blogs
  • Testimonials