LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-14-2006, 04:32 PM   #1
livewire98801
Member
 
Registered: Jun 2004
Location: Seattle, WA
Distribution: Fedora 3/5, Mdk 10, FlavorOfTheWeek
Posts: 77

Rep: Reputation: 15
Question Routing and multiple adapters


This is actually a Windows question, but this forum has some of the most capable routing ppl on the web. I'm trying to set up my computer at work to communicate with my Linux box at home.

We have a NT Domain set up at work with a proxy connection to the internet. This connection doesn't allow FTP upload, nonstandard HTTP ports, or SSH. This effectively blocks my access to my home network, which has a lot of my tools hosted on it.

Solution came to mind in that we have a DSL connection. There are drops for it in my office building, so I just patched an unused Ethernet port into that switch, and bam, I can get to my home machine. But only when I disable the Domain connection.

So, as of right now, I have to disable the domain connection and change my browser connection settings every time I want to switch to the DSL connection. If I enable both, I can't get traffic to pass over the DSL NIC.

Normally, I would just rip the gateway out of the Domain NIC's network stack (I have static IPs for everything), and set the metric to the low setting for that connection. The problem with that is that the Domain network has several subnets attached to it (10.0.5.0 - 10.0.200.0). The DSL connection is going through a residential router, with a Nortel switch in my office. That IP range is 192.168.100.0 for our example.

What I want to do is have any traffic destined to any 10.xxx address to go out through the domain NIC (10.20.28.205) and through that gateway (10.20.28.254), and any other traffic to go out through the DSL connection (192.168.100.95/192.168.100.1). I'll set DNS up on this machine so that it uses the internal DNS on both adapters to prevent conflict.

PLEASE, any suggestions would be appreciated.
 
Old 06-15-2006, 09:34 AM   #2
pronoy
Member
 
Registered: Mar 2005
Location: india
Distribution: FC4, Debian Etch
Posts: 67

Rep: Reputation: Disabled
Have you tried setting:
default route to DSL connection
and 10.x.x.x to 10.20.28.205 ?
 
Old 06-15-2006, 10:41 AM   #3
livewire98801
Member
 
Registered: Jun 2004
Location: Seattle, WA
Distribution: Fedora 3/5, Mdk 10, FlavorOfTheWeek
Posts: 77

Original Poster
Rep: Reputation: 15
No. . . and I'm not sure how to do that in WinXP, any suggestions?

I could do it under Linux all day long, lol, but no idea where to start in Winblows. I'll check it out, but if anyone has any timesaving suggestions, it would be much appreciated.
 
Old 06-15-2006, 11:55 AM   #4
livewire98801
Member
 
Registered: Jun 2004
Location: Seattle, WA
Distribution: Fedora 3/5, Mdk 10, FlavorOfTheWeek
Posts: 77

Original Poster
Rep: Reputation: 15
Eureka! Magic is in the Route command, apparently. Guess this isn't too different than doing it in Linux, you just don't manually edit the routing table config file.

Code:
route add 10.0.0.0 mask 255.0.0.0 10.20.28.254 if 0x60002
Ran again after testing with the -p flag set, and she works! Thanks Pronoy for getting me moving in the right direction.
 
  


Reply



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
Multiple IP addresses + Routing? Termina Linux - Networking 1 03-11-2006 07:45 PM
How to use multiple wifi adapters? SHull Linux - Wireless Networking 0 10-18-2005 12:13 PM
SuSe 9.0 and multiple network adapters(possible routing issue) exabrial Linux - Networking 3 03-21-2004 05:18 PM
Routing multiple subnets to multiple wans raven1000x Linux - Networking 1 03-10-2004 02:29 AM
Multiple Network Adapters... markstevens Linux - Networking 1 06-16-2003 03:56 PM

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

All times are GMT -5. The time now is 08:38 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
Open Source Consulting | Domain Registration