netgraph network setup for jail(8) vnet jails.

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Fri May 24 05:14:32 UTC 2013


On Thu, 23 May 2013 09:42-0400, Joe wrote:

> Teske, Devin wrote:
> > snip............... 
> > I rendered your output by saving it in a file ("joe.dot") and then running:
> > 
> > dot -Tsvg -o joe.svg < joe.dot
> > 
> > I then uploaded "joe.svg" to my website:
> > 
> > http://druidbsd.sf.net/download/joe.svg
> > 
> > Compare your output to any of the following:
> > 
> > http://druidbsd.sf.net/download/warden0.jbsd.svg
> > http://druidbsd.sourceforge.net/download/folsom.svg
> > 
> > It looks like everything is connected properly.
> > 
> > A couple thoughts off the top of my head:
> > 
> > a. Did you enable promiscuous mode on rl0 via ngctl? (in your script
> > perhaps?)
> > 
> > b. Have you tried giving ngeth0 a new MAC address? (I do this through ngctl
> > too, but I imagine ifconfig from within the jail could achieve the same
> > thing)
> > --
> > Devin
> 
> Yes I enabled promiscuous mode and setautosrc 0 on rl0 via ngctl.
> I can find no documentation on why this is done. Can you point me to some?
> 
> Yes I gave the jail a unique MAC address.
> 
> I tried to generate my own network map, but having problem.
> 
> ngctl dot > file.dot works.

> dot -Tsvg -o file.svg < file.dot
> gives me "command dot not found".

Please install graphics/graphviz, either from ports or from packages.

> Tried ngctl dot -Tsvg -o file.svg < file.dot
> and -T is illegal option.
> What am I doing wrong?
> 
> Thanks for your help
> Joe

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+


More information about the freebsd-questions mailing list