SUMMARY: routing question - more info

2007-12-25 2:19:00

Many thanks to Charles for this answer!

just doing:

ifconfig hme0 165.251.xxx.22 deprecated

did not work....what i ended up doing was change the hostname.hme0 file to:

165.251.xxx.22 netmask 255.255.255.128 deprecated up addif hostfloat up

and thanks to everyone else for the suggestions! Some of the route stuff
worked as well, but this option seems a bit more straight forward.

-B

-----Original Message-----
From: codeprof-bounces at codeprof.com
[mailto:codeprof-bounces at codeprof.com]On Behalf Of Brian
Sent: Tuesday, November 04, 2003 11:36 PM
To: codeprof at codeprof.com
Subject: RE: routing question - more info

Due to overwhelming response that there was not enough info...here is round
2:

I would like to force all outbound to the virtual interface (hme0:1). This
interface floats between servers using cluster server. The reason I need to
do this is because of firewall issues...i know you can specify a route to
one (or many) specific hosts...and that works, but there are WAY too many
hosts and they change often

The IP info:

(static) hme0: 165.251.xxx.22
(float) hme0:1 165.251.xxx.21
Netmask: 255.255.255.128
Gateway: 165.251.xxx.126 (default route)

Currently all of the traffic is going out of hme0, and I need it all to go
out of hme0:1

Things I have tried so far:

1. ifconfig hme0 165.251.xxx.22 deprecated
2. ifconfig hme0 metric 1
3. Set the mask of hme0 to 255.255.255.255
3. An endless amount of route stuff...all seemed to get me nowhere

Thanks all

-----Original Message-----
From: codeprof-bounces at codeprof.com
[mailto:codeprof-bounces at codeprof.com] On Behalf Of Brian
Sent: Tuesday, November 04, 2003 6:06 PM
To: codeprof at codeprof.com
Subject: routing question

All,

My head is spinning, and i need some help with this...here it is:

I have a virtual IP and the regular IP (hme0 and hme0:1). How do i force
all outbound traffic over the virtual IP?

note...these are on the same mask 255.255.255.128

solaris 8.

thanks!
-B
_______________________________________________
codeprof mailing list
codeprof at codeprof.com
http://www.codeprof.com/execute/ask/?codeinfoid=26764
_______________________________________________
codeprof mailing list
codeprof at codeprof.com
http://www.codeprof.com/execute/ask/?codeinfoid=26764

Comments

Got something to say?

You must be logged in to post a comment.