jails problem about vnet jail in freebsd15 ?

dear all :
condition : freebsd 15 ..

first test :
1. create a bridge , name bridge55 , no assign IP .
2. add host physical network card em0 to bridge55 , em0 has a IP : 192.168.1.1/24
3. i have used bastille create a vnet jail with bridge55 . and configure vnet jail IP : 192.168.1.2/24
4. note :::::-----------now , i think i can ping em0 .from vnetjail..
but we can not do that ..

second test:
1. create a bridge , name bridge55 , no assign IP .
2. add host physical network card em0 to bridge55 , em0 has a IP : 192.168.1.1/24
3. use bhyve create vm , and add vm's tap to bridge55 . and configure vm tap IP : 192.168.1.3/24
4. now , i can ping em0 from bhyve vm ....

please help me . thanks. i test more time. and read more books. i can't find the reason... thanks.
 
No error messages? I think recently bridge started allowing IPs on bridge only, not on member interfaces... (there is some sysctl for temporary workaround, not recommended in general - it will be gome some day)
 
No error messages? I think recently bridge started allowing IPs on bridge only, not on member interfaces... (there is some sysctl for temporary workaround, not recommended in general - it will be gome some day)
It works on member interfaces for the moment with the default sysctl values. That will/may change for 16. So, that's not the problem here. And to be frank, I don't understand what it is, to put it mildly.
 
dear all :
use bastille create vnet jail222 and touch vm-mylan bridge . use bhyve create a vm333 and touch tap to vm-mylan bridge ..
assign jail222 IP: 192.168.1.222/24 , assign vm333 IP : 192.168.1.333/24 .. vm-mylan bridge don't assign any IP .
add re0 to vm-mylan bridge ... assign re0 IP 192.168.1.1/24 ...
now , we don't change any sysctl configure , all was default ...
vm333 can ping jail 222,
jail222 can ping vm333,
jail222 can ping re0 ,
vm333 can ping re0 ,

but when you power off vm333 . jail222 can not ping re0 ...
i don't know what happened....
 
Back
Top