LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-30-2001, 03:03 PM   #1
gboutwel
Member
 
Registered: May 2001
Location: Norton, KS
Distribution: Mandrake, Xandros, and Debian 3.0 (Woody) as a proxy
Posts: 103

Rep: Reputation: 15
Question


Having trouble getting apt-get, dselect, etc... to work.
As near as I can tell it's because the internet proxy for our system is on another LAN than my local LAN. IE

<proxy> is on local LAN A <x.x.a.x>
<my router/gateway> is on local LAN b <x.x.b.1>
<my machine> is on local LAN b <x.x.b.69>

What I need is an way to add an static route to LAN A early enough (ie boot or /etc/init.d/networking) that I can use x.x.a.x as a default/network gateway. How can I go about doing that, or is there another solution to my problem?

Thanks,
 
Old 05-31-2001, 04:37 AM   #2
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Hi..


It is very simple



Put a static route for ur laocal lan IP pointing to ur Local gateway

for others u put a default gateway pointing to ur proxy




For example ur locl network IP is say 172.16.0.0 /255.255.0.0

Ur proxy is 172.16.50.1
Ur gateway is 172.16.60.1
Ur machine is 172.16.60.100


Then u add routes like this


route add 172.16.0.0 netmask 255.255.0.0 gw 172.16.60.1
route add default gw 172.16.50.1

Check the syntex i mau wrong

It will work
siddiqu.T


 
  


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
Also Lost in Networking Okie2003 Linux - Networking 19 05-30-2006 10:43 AM
lost the web in debian howarddevore Debian 3 07-06-2005 07:58 AM
Lost in Networking ToothlessRebel Linux - Networking 10 11-15-2004 06:55 AM
I installed debian, and now I'm little lost... eQualizer Debian 3 03-17-2004 01:12 PM
Lost....Debian mairul Linux - Newbie 3 02-15-2004 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:45 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