Bug in VIMAGE - does it work on iocage?

12 views
Skip to first unread message

Farhan Khan

unread,
Feb 4, 2019, 12:07:33 AM2/4/19
to iocage
Hi all,

I'm on day 5 of not getting VIMAGE working. In short, the base jail does not seem to respond or receive any frames.

I am doing this:
sudo iocage create -n jail1 vnet=on boot=on -r 12.0-RELEASE ip4_addr="10.10.0.2/24" defaultrouter="10.10.0.1"
The base system's vtnet0 is set to 10.10.0.1/24. I also added a bridge0, as per the documentation. I have setup bridge0 with vtnet0.

From here, the jail should be able to ping 10.10.0.1, but it cannot. It never receives any frames. Other times, I get inconsistent results with jails not being created.
I have tried this on four different environments with similar results. I am on iocage 1.0 on FreeBSD 12.0-RELEASE-p2.

Any help would be greatly appreciated. Thanks!
Farhan

Brandon Schneider

unread,
Feb 4, 2019, 12:08:59 AM2/4/19
to Farhan Khan, iocage
Add vnet0| to your ip4_addr. 

--
You received this message because you are subscribed to the Google Groups "iocage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iocage+un...@googlegroups.com.
To post to this group, send email to ioc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iocage/bed943ae-b842-4bde-b268-b39896239b6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
-Brandon

Farhan Khan

unread,
Feb 4, 2019, 12:19:24 AM2/4/19
to iocage
I was a little short, pardon my frustration. I tried multiple vnet and non-vnet networking attempts here, all failed.

Brandon Schneider

unread,
Feb 4, 2019, 12:29:12 AM2/4/19
to Farhan Khan, iocage
So looking at your forum post it seems your rc.conf is lacking a defaultrouter and IP (not iocage but host) and that’s not allowing a hop to occur. On phone since it’s late at night, but if that doesn’t solve it feel free to open an iocage issue and we can work  through things there. 

No current VNET bugs I’m aware of, so this should be something simple. If you haven’t yet, make sure you read iocage.readthedocs.io. Also make sure to upgrade to 1.1, that brought some networking goodies. 

--
You received this message because you are subscribed to the Google Groups "iocage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iocage+un...@googlegroups.com.
To post to this group, send email to ioc...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
-Brandon
Reply all
Reply to author
Forward
0 new messages