Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.