Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

Rep: Reputation: 15

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?

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

Rep: Reputation: 30

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 /

Ur proxy is
Ur gateway is
Ur machine is

Then u add routes like this

route add netmask gw
route add default gw

Check the syntex i mau wrong

It will work



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 > Forums > Linux Forums > Linux - Networking

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