Article 5AN3P Create Virt. NIC in FreeBSD

Create Virt. NIC in FreeBSD

by
Basher52
from LinuxQuestions.org on (#5AN3P)
I'm new to BSD and have a problem creating a virtual NIC. Trying out OPNSense and that uses FreeBSD so...
The M/B only has one NIC on this miniATX but I need two and no there's no room or PCI outlet so...
There is a PCIe but I ain't got one of those.

Have tried the thing I used in CentOS, Quote:
ifconfig eth0:0 123.123.22.22
(think it was like that) but that won't work.

Searched a lot but nothing I find seems to work.
Have seen something they call alias but as far as I've seen that is only on the same network but has to be different NetMask or an error shows up as they say.

Anyone knows this?
Another thing, if I can use this Virt-NIC on a different network, is that less secure then to use 2 separate NICs as for a firewall thingy?
If so I need to get a NIC for PCIe or change M/B but I'm trying to get the quickest thing available for now.

//B52latest?d=yIl2AUoC8zA latest?i=_HfQSqR3MMw:CyF9TzEx_3g:F7zBnMy latest?i=_HfQSqR3MMw:CyF9TzEx_3g:V_sGLiP latest?d=qj6IDK7rITs latest?i=_HfQSqR3MMw:CyF9TzEx_3g:gIN9vFw_HfQSqR3MMw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments