How to put vnet0 in separate bridge ?

strelok

Dabbler
Joined
Jan 28, 2015
Messages
36
Hi,

I'm trying to make configuration , where uses separate bridge for jails.

I have two ports in my server: bge0 and bge1
bge1 is primary port in net 192.168.88.0
bge0 is second port without ip address but connected to net 10.10.10.0

If I installing plugin it comes to default bridge0 with vnet0.1 interface, for example and use net 192.168.88.0
What I need is that plugin installation uses bge1 interface and net 10.10.10.0

I creating separate bridge - > Network -> Interfaces -> Add new bridge with name bridge1
I added bge0 to bridge1. Below output of ifconfig after this.

But I can't create any plugin installation using bridge1. Every time, when I try install plugins I got error: "Jail: test has a missing configuration, please check that the dataset is mounted." But it's not about mounting dataset.

So, how I should correctly create plugin that installation comes to separate bridge1 ?



bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: bge0-dmz
options=c019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
ether a0:1d:48:c7:b9:b8
hwaddr a0:1d:48:c7:b9:b8
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
bge1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: bge1-lan
options=c019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
ether a0:1d:48:c7:b9:b9
hwaddr a0:1d:48:c7:b9:b9
inet 192.168.88.2 netmask 0xffffff00 broadcast 192.168.88.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: lo
bridge1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: bridge-dmz
ether 02:68:9e:2d:30:01
nd6 options=9<PERFORMNUD,IFDISABLED>
groups: bridge
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: bge0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 2000000
root@freenas[~]#
 
Top