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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

/etc/defaultrouter question

Status
Not open for further replies.

dandan123

Technical User
Sep 9, 2005
505
US
I'm setting up a bunch of V240/V440s. They all have two network cards, one is on the production network and the other on the backup network. The backup network is used to back up the servers.

/etc/hosts

hostabc 10.183.200.40
hostabc_bkup 192.168.210.40

Is this the correct way to set up the /etc/defaultrouter file ?

/etc/defaultrouter

10.83.200.1
192.168.210.1


Thanks.

Dan
 

I would not do it that way. Multiple defaultrouter entries can be used for "backup" links, but do you really want that net 10 traffic to go to net 192? And will it actually route correctly? Most likely, not. So it isn't a candidate for
the multi default route. (if you CAN use it, then my argument can be discarded)

Since the net 10 is the MAIN outgoing interface, the default route 10.83.200.1 entry is what you want.

If you only talk to things on 192.168.210 (depending on how you defined netmasks), then you don't need to do anything because it doesn't need to contact a default router. But if your backup network to get to the rest of the 192 net is 192.168.210.1, I would simply add a static route command in /etc/rc3.d to be run at startup.

gene
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top