Solved

Two 'Distinct' Ethernet Ports and Default Routers

Posted on 1997-06-09
1
268 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses
Course of the Month7 days, 22 hours left to enroll

617 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