Solved

Two 'Distinct' Ethernet Ports and Default Routers

Posted on 1997-06-09
1
253 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now