Solved One NIC, Two IPs, Two Gateways

I've one NIC: vtnet0 and two IPs: 1.2.3.4/24 and 5.6.7.8/24 wich need to be bound to vtnet0 as there is no other NIC and I can not create one, with two default gateways: 1.2.3.1 and 5.6.7.1. The system is NO router, there is no "LAN", it is a server on the internet located at a hoster.

How do I have to configure in rc.conf? A working config would be nice. I've read many things about fibs etc. but found nothing that really helped any where for doing it in rc.conf or in combination with rc.local. Please help :)

TIA
 
Back
Top