Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing two gateways in Solaris and Linux

Status
Not open for further replies.

fireant

Technical User
Aug 12, 2001
28
PH
Is it possible to install two gateways in Solaris and Linux?

If so, how would I go about it for both systems?

Thanks.
Louie C.
 
Hi there,
solaris:
I suppose you mean a default router ?
if packet is for xxxxx then use router xxxx ?

/etc/defaultrouter for your normal router.
and then I use the add route command with destination & host & netmask if necessary.

 
You could also install a self learning product like DefaultRouter(.com), which adapts to the flow and always allows you to use active/active links.
 
But how do you switch from one route to another in case one of them fails? Louie C.
 
Hi Louie,

Thats normally a router thing i think,
Our router here sits at 172.31.11.1 but also at 172.31.11.2,
Whenever the 11.1 goes off-line the 11.2 takes over,
Atleast, thats what the network guy told me...haven't had the case yet it going down..
*hold wood*

Maybe ask in the router forum ?
 
wouldn't you need to enable the server to use routing protocols like ospf?
 
Hi There,

No, since that is configured on the router itself. Atleast here.
Your machine send a packet to A) either a host that is directly connected to it's interface, and thus will use it's macadress, or B)a host behind the router, and therefore the router will choose which route once it has received the packet, using whatever protocol activated on the router.

If you do a ping to a host on your local subnet, it's macadress will appear in the arp table, you can view it with #arp -a

But when you ping a host outside your subnet, thus going via the router it's macadress will not appear in the arp table, since the packet is fired off to the router, which takes it from there.

Igaduma

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top