I'm not sure if this is the best place to ask, but here goes:

 

I have a situation where I have the following two interfaces:

bge0 192.168.1.2 (network 192.168.1.0/24)

bge1 192.168.2.2 (network 192.168.2.0/24)

 

and both networks can reach the other via a router (i.e. if only bge0 were
up, 192.168.2.0/24 could be reached by routing through 192.168.1.1).

 

How would I configure the system so that by default, outgoing traffic
defaults to using the bge0 IP, even packets destined for 192.168.2.0/24?  I
only want bge1 to be used for incoming traffic and associated replies.  I've
tried using ipfilter to block outgoing traffic on bge1, but that just means
packets destined for 192.168.2.0/24 try to leave and result in a situation
where that address appears to be down.  I suspect there is some modification
I should be making to the routing table, but I'm not sure what.

 

On a similar strain, but separate question: how would one prioritize
interfaces?  (i.e. use bge0 preferentially for outgoing traffic over, say,
bge2)

 

Thanks,

William Yang 

_______________________________________________
sysadmin-discuss mailing list
sysadmin-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to