Mapping epair0a to jails

Status
Not open for further replies.

RoadHazard

Explorer
Joined
Nov 29, 2015
Messages
83
Correct me if I'm wrong, but each jail has its own virtual network connection, which will appear as epair0a, epair1a, etc. when examining the Reporting/Network tab. In my case, I have ten jails and ten epair(n)a connections.

I'm curious: What's the easiest way to tell which connection maps to which jail? I can't find it in any of the jails' properties. I could try shutting off the jails one by one to see which connections suddenly drop to 0 MB/sec, but that seems pretty low-tech.
 

RoadHazard

Explorer
Joined
Nov 29, 2015
Messages
83
ifconfig shows me MAC addresses, but not IP, which would help me match up epair(x) ports to jails.
 
D

dlavigne

Guest
Hmm, that's inconvenient. Let us know if you find a solution.
 

pernils

Explorer
Joined
Aug 31, 2015
Messages
87
Any progress on this ? ...

Having arp moved messages ..

arp: 192.168.100.2 moved from 02:28:ab:00:xx:xx to d0:50:99:64:xx:xx on epair4b
arp: 192.168.100.2 moved from 02:28:ab:00:xx:xx to d0:50:99:64:xx:xx on epair4b

and so on ...

192.168.100.2 is the freenas box

So under Reporting -> Network there exists NO epair4b

In terminal

ifconfig

.. reveal that

MAC 02:28:ab:00:xx:xx belongs to epair4a

and this d0:50:99:64:xx:xx is that MAC addrress on igb0 which is the nic the freenas physical is connected to the LAN

Summary

Code:
ibg0        d0:50:99:64:xx:xx        192.168.100.2 (main nic to freenas)
epair4a     02:28:ab:00:xx:xx        could not be seen
epair4b     no where to be found   


As you can see the arp is moved from epair4a to a new nic which doesn't exists (epair4b) with a MAC address belonging to a another physical nic.

And ifconfig don't reveal which ip address epair4a have so I can't deter m which jail it belongs to.

Even if I go into jails in GUI and -> Edit Jail -> Advanced Mode I can't see it's mac address. Some jails have and some doesn't have MAC address.

Another thing is that I have 5 jails but 9 epairXX's and none of thoose is showing it's ip by ifconfig

Nothing is making sense.
 
Last edited:
Status
Not open for further replies.
Top