OpenBSD Routing Problem

Posted by Ozkan SENOVA on Server Fault See other posts from Server Fault or by Ozkan SENOVA
Published on 2011-03-04T14:15:19Z Indexed on 2011/03/04 15:26 UTC
Read the original article Hit count: 245

Filed under:
|

I am running OpenBSD on a network appliance hardware. It has 5 NICs.

I want to give different IP's in same subnet to 3 nics. Eg:

em0: 192.168.1.5 em1: 192.168.1.90 em2: 192.168.1.56

I make the necessary configuration with ifconfig, all interfaces works as expected when all the ethernet ports are plugged in to switch. But there is something wrong in routing. If I connect to 192.16.1.5 via any service(http, smtp etc.), traffic goes over link#3. If I unpug the cable from em2 I can't reach any IP's binded on device. Is there any way to route traffic over different links in this IP configuration?

© Server Fault or respective owner

Related posts about routing

Related posts about openbsd