Re: ng_iface problems with VIMAGE

2010-12-11 Thread William Phillips
Hello: Thanks for the quick reply. I generally use what you mention below to build the network at layer 2 then move all the interfaces into the various jails. Everything works fine with ng_hub or ng_bridge and ng_eiface but I decided to try a point-to-point connection which use to work in the

Re: ng_iface problems with VIMAGE

2010-12-11 Thread Julian Elischer
On 12/11/10 4:49 PM, William Phillips wrote: Hello: The following script creates a point-to-point link between jails. I will admit that I don't remember ever actually connecting two ng_iface nodes directly to each other. Having said htat there the epair(4) driver which is specifically desig

ng_iface problems with VIMAGE

2010-12-11 Thread William Phillips
Hello: The following script creates a point-to-point link between jails. #!/bin/sh # script to create two vnet jails and connect them via ng_iface interfaces # create two vnet jails jail -c vnet name=node0 host.hostname=node0 path=/ persist jexec node0 ifconfig lo0 localhost jail -c vnet name=