Skip to content

HOWTO: add alias ip or vlan interface on FreeBSD ( ifconfig create.. )

March 4, 2012

—create alias interface and assign ip —

vodka# ifconfig bge1 alias YOUR_IP2 netmask ( can be in different subnet – no problemo )

ifconfig_bge1=”inet YOUR_IP1 netmask″
ifconfig_bge1_alias0=”inet YOUR_IP2 netmask″


— create vlan interface and assign ip —

root@monitoring:~ # ifconfig vlan3 create
root@monitoring:~ # ifconfig vlan3 netmask vlan 3 vlandev em0

ifconfig_vlan3=”inet netmask vlan 3 vlandev em0″


From → FreeBSD, Networking

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: