Adding First IP in - FreeBSD KVM

1) Add the lines below in your /etc/rc.conf. Change Your-VPS-Main-IP-Addresswith the main IP of your VPS.

ifconfig_em0="inet Your-VPS-Main-IP-Address netmask broadcast Your-VPS-Main-IP-Address"
static_routes="net1 net2"
route_net1="-net Your-VPS-Main-IP-Address"

2) Add Nameserver in /etc/resolv.conf


3) Enable network.

ifup em0
  • 0 Users Found This Useful
Was this answer helpful?