Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-13-2013, 11:25 AM   #1
LQ Newbie
Registered: Apr 2013
Posts: 2

Rep: Reputation: Disabled
Stuck on Proxy Routing....?

Hello friends,

I am completely new to this forum and I need some help badly.

here is the problem

I have a running network with squid(RHEL.5)

Exactly like this:-Diagram

In this network, form any of my VLan Machine
I can ping Proxy's LAN port
Proxy's WAN Port
Firewalls LAN port
Outsider's Gateway

1. What are the routes which I have to add to the RHEL Server when I Change the ip series?

2. How these routes can be added ( i mean sample syntax)?

3. How is this network framework scnario ( Good, Bad, Worst)?

Last edited by rajesh20r; 04-13-2013 at 12:00 PM.
Old 04-17-2013, 07:56 PM   #2
LQ Newbie
Registered: Apr 2013
Posts: 27

Rep: Reputation: 0

For the current network setup you can add simple static routes like this (works for CentOS and Ubuntu, should be working for RHEL too):

route add -net gw

For the, say new VLAN (subnet) which would be (/24 is netmask and cover all the addresses from the route command would be:

route add -net gw

The "gw" address should be nearest gateway address along the path to the VLAN (, and it's usually on the same subnet as host.

Also, check out this page on persistent static routes:


Last edited by warez74; 04-17-2013 at 07:59 PM. Reason: forgot something


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
transparent proxy with routing soumalya Linux - Server 1 06-15-2011 02:26 AM
stuck with pptp routing stuff... firewalkswme Linux - Networking 4 01-21-2009 05:52 AM
routing on suse via proxy hhhy2000 Linux - Networking 4 05-07-2007 09:42 AM
Iím stuck with the routing problem. omisphere Linux - Networking 4 06-14-2006 05:19 PM
Stuck behind Proxy from Hell... Going slowly mad. Exasperated Linux - Networking 0 02-24-2005 06:25 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration