You are not logged in.

#1 2011-06-10 20:50:18

Painless
Member
Registered: 2006-02-06
Posts: 235

multiple logical interfaces

Now that net-tools is being deprecated, is there an "official" way to add extra logical interfaces, either to the new rc.conf or using netcfg?  The only way I can think of in netcfg is use something like:

POST_UP="/sbin/ip addr add 192.168.8.80/24 brd 192.168.8.255 dev eth0 label eth0:0 ; /sbin/ip addr add 192.168.8.81/24 brd 192.168.8.255 dev eth0 label eth0:1"

I've not tested it yet ...

Offline

Board footer

Powered by FluxBB