LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-13-2013, 10:25 AM   #1
rajesh20r
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 11:00 AM.
 
Old 04-17-2013, 06:56 PM   #2
warez74
LQ Newbie
 
Registered: Apr 2013
Posts: 27

Rep: Reputation: 0
Hi,

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 10.0.31.0/24 gw 10.0.30.3

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

route add -net 10.0.32.0/24 gw 10.0.30.3

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

Also, check out this page on persistent static routes:
http://unixfoo.blogspot.com/2009/05/...-route-in.html


Regards

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


Reply


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 01:26 AM
stuck with pptp routing stuff... firewalkswme Linux - Networking 4 01-21-2009 04:52 AM
routing on suse via proxy hhhy2000 Linux - Networking 4 05-07-2007 08:42 AM
Iím stuck with the routing problem. omisphere Linux - Networking 4 06-14-2006 04:19 PM
Stuck behind Proxy from Hell... Going slowly mad. Exasperated Linux - Networking 0 02-24-2005 05:25 AM


All times are GMT -5. The time now is 05:54 PM.

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