Solved

Two 'Distinct' Ethernet Ports and Default Routers

Posted on 1997-06-09
1
258 Views
Last Modified: 2013-12-23
The box I'm working with has two ethernet interfaces. I want to set up a different network on each 'hme' interface, which should be OK because I can alter their IP addresses etc... Can I set up a different default router for each interface as opposed to setting up a default router using /etc/defaultrouter (which both would use)? I'm working with Solaris 2.4 (5?) on a Sparc platform (and I also do not wish to route between the two interfaces).
0
Comment
Question by:Joe Shevland
1 Comment
 
LVL 1

Accepted Solution

by:
drz earned 100 total points
ID: 1582138
Yes. The easy, quick-hack way is call the route program after the cards are initialized to set up the right routes this way. (Say one of your ethernet cards is on a 10.23.x.x class B, then you'd have all packets going to 10.23.x.x routed to 10.23.62.254 (assuming that is the router). You might also have to specify the right interface with that.)
The "right" way to do it is to persuade in.routed of what should be done.
Careful: in.routed by default assumes it has to route between the two interfaces. You'll have to explicitly tell it not to.

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question