Question

route a port to a specific nic

Asked by: neldo736

route a port to a specific nic

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2007-11-20 at 19:30:00ID22974591
Tags

route

Topics

Microsoft Operating Systems

,

Windows 2003 Server

,

Microsoft Server

Participating Experts
4
Points
500
Comments
10

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Solaris- adding a route for a specific port on a multi-port …
    I have a SPAC box running Solaris 2.6 as a firewall/router that has a 4 port NIC card. I want to add a route to it to route packets through a software router. The SPAC is ethernet and the software router bridges our tokenring and ethernet network together. My question is w...
  2. routing
    Hello! I've question which i like to know the answer. I have win2k pro on my computer which serves as a "server" in my internet cafe. It has to NICs where one of the is connected through an Adsl modem to the internet the other one is connected through a switch to...
  3. route to a certain NIC
    I have RedHat 8.0 installed on a machine that has three NICs for MRTG monitoring of three different VLANS in my network. I need to know how to route addresses so they use a certina NIC. What I doing is a bandwith chart by downloading a file and timeing it. I display this...
  4. Adding a static route between two NICS on one box
    Hello there, this is my first post to this site. I have a Windows 2000 Server box with two NICs that I currently have acting as a router using the RRAS service. I want to get rid of the RRAS service and just use a routing table instead, I know this is possible, i'm just not ...
  5. routing
    I have a router 192.168.1.1 with static routes 10.1.10.6 to goto 192.168.1.5 .......... lets say computer 192.168.1.2 makes a request for 10.1.10.6 obviosly it first goes to the gateway 192.168.1.1 then gets forwarded to 192.168.1.5..... lets say it is fo...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: JjcampNRPosted on 2007-11-20 at 19:51:42ID: 20325384

Perhaps you could elaborate a bit?  If this is something you want to set from the switch side, perhaps it should be posted in the networking section...but I'm happy to help here.  So you want to set one port on a switch to only work with one NIC?  If that's the case, and the switch is configurable, you can set an ACL on that port to only allow the MAC of that one NIC to access it.  If you need help doing this let me know what type of switch you're using (Brand and model) and I'll get you the config.

 

by: eng_khalid101Posted on 2007-11-20 at 22:16:41ID: 20325854

what is the type of your router??

 

by: neldo736Posted on 2007-11-21 at 04:30:57ID: 20327035

I am using a hotbrick 401vpn x2 router for the companies main router we have terminal services for employee remote access.  Also have an Exchange 2003 email server and the routing is handled by the same router.  We have a primary and backup domain controller.

We also have a second DSL internet connection with a static ip address and a second router of the same type.

On the DC there is a second NIC which I would like to connect to the second router which would be connected to the DSL modem.

The reason for donung this is because we do off site data backup over a FTP connection.  Over the weekend there is a huge amount of data sent out and when users login to terminal services response times are slow.

So if I could connect the second router and modem and route port 21 to say go this this specific NIC with bi-directional communications and still maintain a firewall with the router.  DHCp is hanled by the DC and DNS.  The software that does the ftp backup is on the DC.

I hope this helps.

 

by: DarylxPosted on 2007-11-21 at 05:16:21ID: 20327279

You could add a static route to the server that sends all traffic destined for a particular IP address or subnet out of the second interface using the Route Add command.

For example, just say the second router IP is 10.10.10.20 and the IP address of the offsite backup is 100.100.100.1, you could use the following command.

route add -p 100.100.100.1 mask 255.255.255.255 10.10.10.20

This would send all traffic destined for 100.100.100.1 out through the second router.

 

by: neldo736Posted on 2007-11-21 at 05:41:24ID: 20327491

Yes that is great but I do not want all trafic to go to the offsite backup server.  I only want dort 21 to go to the second NIC.  The backup software determines the offsie location for examle:ftp.servername.com

There for I need to tell the DC that only traffic on port 21 needs to go through the second NIC.

Thanks for your response.  Any other suggestions.

 

by: DarylxPosted on 2007-11-21 at 05:48:59ID: 20327568

It wouldn't send ALL traffic to the offsite backup server.  It would only send traffic that you want to go to the offsite backup server out through the second NIC.

 

by: JjcampNRPosted on 2007-11-22 at 19:25:52ID: 20337212

The problem with the route statement above is that it doesn't specify that only the second NIC should be used for that traffic.  If that route is valid from both NICs, then both will be used for sending the FTP traffic.

What you want to do is make sure both routers are on different networks, and there's not route between them.  Put one of your NICs on each of your networks so this way only ONE of your NICs will have a valid route to that backup DSL modem for your FTP traffic.  So for instance, if your main network router is on a 192.168.0.x /24 network, put the backup DSL router on a 192.168.1.x /24 network and you should be all set.

 

by: infotraderPosted on 2007-11-26 at 16:30:47ID: 20354474

OK... Before we get ahead of ourselves, haven't anyone of you read that it is bad mojo to have a DUAL-HOMED Domain Controller??!!  There are tons of article saying why this is a bad idea, but people still do it anyway, so if you absolutely need to do that, here's one of the many links for you: http://www.pcreview.co.uk/forums/thread-1450941.php

NOW, assuming that you still would like to go ahead and do this, there are a couple of ways you can do this:

1.  There are actually router/switches that can do this.  It is kind of expensive, but you can actually get a router that would allow you to do this.  They are sometimes problematic and, quite frankly, is too much cost/effort for what you want to do.
2.  I agree with Darylx...  Just specify one IP address and add a static route to the FTP site you are trying to access.  True that it will send ALL TRAFFIC going to that SPECIFIC IP ADDRESS through the second router, but I think it is actually the most cost-effective solution.

Also, FORGET ABOUT THE SEPARATE NETWORK SUBNET!!!  For starters, I don't think there is a need to have two NIC in the first place.  You can have multiple Gateway as long as they are pre-defined on the route statement.  For example, I have two routers, 192.168.1.1 and 192.168.1.2.  You can have a route statement that says: route add -p 100.100.100.100 mask 255.255.255.255 192.168.1.2 metric 1

Assuming that your "Default Gateway" is 192.168.1.1, The above statement would make sure that ONLY data going to 100.100.100.100 will go out through the second router.  Additionally, if you add "IF 1" (or "IF 2") statement at the end, it would also identify which interface the above route is going to.

My solution?  remove the second NIC if you don't need it.  Add a permanent route statement to the computer so outbound data to the service provider will only go through that one IP, and you are done.  No hassle, and no potential problems!!

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...