Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2013 02:48:31 +0000
From:      "Teske, Devin" <Devin.Teske@fisglobal.com>
To:        Joe <fbsd8@a1poweruser.com>
Cc:        Devin Teske <dteske@freebsd.org>, "<freebsd-questions@freebsd.org>" <freebsd-questions@freebsd.org>
Subject:   Re: netgraph network setup for jail(8) vnet jails.
Message-ID:  <13CA24D6AB415D428143D44749F57D7201F50BEC@ltcfiswmsgmb26>
In-Reply-To: <5198221D.5040601@a1poweruser.com>
References:  <5197A06A.9080401@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201F5076A@ltcfiswmsgmb26> <5198221D.5040601@a1poweruser.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

On May 18, 2013, at 5:51 PM, Joe wrote:

Teske, Devin wrote:
Sorry for top-post, but just wanted to add a quick note:
The output of "ngctl dot" would be very helpful to others in debugging your=
 setup.


graph netgraph {
edge [ weight =3D 1.0 ];
node [ shape =3D record, fontsize =3D 12 ] {
"1" [ label =3D "{rl0:|{ether|[1]:}}" ];
"5" [ label =3D "{bridge0:|{bridge|[5]:}}" ];
"9" [ label =3D "{ngeth0:|{eiface|[9]:}}" ];
"e" [ label =3D "{ngctl2355:|{socket|[e]:}}" ];
};
subgraph cluster_disconnected {
bgcolor =3D pink;
"e";
};
node [ shape =3D octagon, fontsize =3D 10 ] {
"1.upper" [ label =3D "upper" ];
"1.lower" [ label =3D "lower" ];
};
{
edge [ weight =3D 2.0, style =3D bold ];
"1" -- "1.upper";
"1" -- "1.lower";
};
node [ shape =3D octagon, fontsize =3D 10 ] {
"5.link2" [ label =3D "link2" ];
"5.link1" [ label =3D "link1" ];
"5.link0" [ label =3D "link0" ];
};
{
edge [ weight =3D 2.0, style =3D bold ];
"5" -- "5.link2";
"5" -- "5.link1";
"5" -- "5.link0";
};
"5.link1" -- "1.upper";
"5.link0" -- "1.lower";
node [ shape =3D octagon, fontsize =3D 10 ] {
"9.ether" [ label =3D "ether" ];
};
{
edge [ weight =3D 2.0, style =3D bold ];
"9" -- "9.ether";
};
"9.ether" -- "5.link2";
};


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 perhap=
s?)

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 th=
ing)
--
Devin

_____________
The information contained in this message is proprietary and/or confidentia=
l. If you are not the intended recipient, please: (i) delete the message an=
d all copies; (ii) do not disclose, distribute or use the message in any ma=
nner; and (iii) notify the sender immediately. In addition, please be aware=
 that any message addressed to our domain is subject to archiving and revie=
w by persons other than the intended recipient. Thank you.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?13CA24D6AB415D428143D44749F57D7201F50BEC>