On Mon, Feb 13, 2017 at 12:09:38PM +0000, C. L. Martinez wrote: > Hi all, > > Why when a bhyve guest shutdowns or reboot tap interfaces goes down and lost > IP assigned address?. I need to use same tap interface for several guests and > assign an IP to this tap interface to act as a router for these guests. > > How can I do a "persistent tap" interface?? > > Thanks. > I > -- > Greetings, > C. L. Martinez
Here is wht I do in my /etc/rc.local file /sbin/ifconfig tap8 inet 204.209.81.52 netmask 0xffffff00 /sbin/ifconfig tap0 inet 204.209.81.53 netmask 0xffffff00 /sbin/ifconfig tap1 inet 204.209.81.54 netmask 0xffffff00 /sbin/ifconfig tap7 inet 204.209.81.55 netmask 0xffffff00 /sbin/ifconfig tap2 inet 204.209.81.56 netmask 0xffffff00 /sbin/ifconfig tap4 inet 204.209.81.57 netmask 0xffffff00 /sbin/ifconfig tap3 inet 204.209.81.58 netmask 0xffffff00 /sbin/ifconfig tap6 inet 204.209.81.59 netmask 0xffffff00 /sbin/ifconfig bridge0 alias 204.209.81.60 netmask 0xffffff00 /sbin/ifconfig tap5 inet 204.209.81.61 netmask 0xffffff00 /sbin/ifconfig tap9 inet 204.209.81.62 netmask 0xffffff00 /sbin/ifconfig tap10 inet 204.209.81.63 netmask 0xffffff00 /sbin/ifconfig tap11 inet 204.209.81.64 netmask 0xffffff00 /sbin/ifconfig tap12 inet 204.209.81.65 netmask 0xffffff00 /sbin/ifconfig tap13 inet 204.209.81.66 netmask 0xffffff00 /sbin/ifconfig tap14 inet 204.209.81.67 netmask 0xffffff00 /sbin/ifconfig tap15 inet 204.209.81.68 netmask 0xffffff00 You can do something similar in /etc/rc.conf > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "freebsd-virtualization-unsubscr...@freebsd.org" -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising! http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism God is dead! Yahweh lives! Jesus his only begotten Son is the Risen Saviour!! _______________________________________________ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"