Hi,
I'm setting up a server. It has a main IPV4-adress, set up with its Netmask and defaultroute.
I do have a subnet with a different gateway (the main IPV4-address by the way), which I want to use to set an network alias to an IPV4-Adress in it's range.
For what I've read, i have to use the Forwarding Information Base (FIB), enabling it in loader conf.
Something in rc.conf like:
ifconfig_em0="inet 213.239.197.36 netmask 255.255.255.224"
defaultrouter="213.239.197.33"
ifconfig_em0_alias0="inet 88.198.91.234 netmask 255.255.255.248 fib1"
defaultrouter_fib1="213.239.197.36"
Is this the way to go or am I on the wrong track?
Any help appreciated,
Regards Hanns
I'm setting up a server. It has a main IPV4-adress, set up with its Netmask and defaultroute.
I do have a subnet with a different gateway (the main IPV4-address by the way), which I want to use to set an network alias to an IPV4-Adress in it's range.
For what I've read, i have to use the Forwarding Information Base (FIB), enabling it in loader conf.
Something in rc.conf like:
ifconfig_em0="inet 213.239.197.36 netmask 255.255.255.224"
defaultrouter="213.239.197.33"
ifconfig_em0_alias0="inet 88.198.91.234 netmask 255.255.255.248 fib1"
defaultrouter_fib1="213.239.197.36"
Is this the way to go or am I on the wrong track?
Any help appreciated,
Regards Hanns