<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I'll try posting there.<br><br>Is the jail setup by the Warden the same concept as the FBSD jail? I want to be sure I'm describing my system correctly.<br><br>Incidentally, here is some more info:<br><br><span style="font-weight: bold;"># ifconfig </span> <br><br>re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500<br>
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC> <br> ether
00:24:8c:a1:b3:f7 <br> inet6 fe80::224:8cff:fea1:b3f7%re0 prefixlen 64 scopeid 0x1 <br> media: Ethernet autoselect (100baseTX
<full-duplex>) <br> status: active <br>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu
16384 <br> options=3<RXCSUM,TXCSUM> <br> inet 127.0.0.1 netmask
0xff000000 <br> inet6 ::1 prefixlen 128 <br> inet6 fe80::1%lo0 prefixlen 64 scopeid
0x2 <br>pflog0: flags=0<> metric 0 mtu 33152 <br>pfsync0: flags=0<> metric 0 mtu
1460 <br> syncpeer: 224.0.0.240 maxupd: 128 <br>lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500 <br> options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC> <br> ether
00:24:8c:a1:b3:f7 <br> inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255 <br> inet6 fe80::224:8cff:fea1:b3f7%lagg0 prefixlen 64 scopeid 0x5
<br> inet 192.168.1.12 netmask 0xffffffff broadcast 192.168.1.12 <br> media: Ethernet autoselect <br> status:
active <br> laggproto failover
<br> laggport: re0 flags=5<MASTER,ACTIVE> <br>lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 <br>
options=3<RXCSUM,TXCSUM> <br> inet 10.1.1.1 netmask 0xffffff00 <br><br>----------------------------------------------------------------------------------<br><br><span style="font-weight: bold;">#
netstat -rn </span><br> <br>Routing tables <br><br>Internet:<br>Destination Gateway Flags Refs Use Netif Expire<br>default 192.168.1.2 UGS 6 196389 lagg0
<br>10.1.1.1 link#6 UH 0 154 lo1 <br>127.0.0.1 link#2 UH 0 89 lo0 <br>192.168.1.0/24 link#5 U 0 19518 lagg0 <br>192.168.1.10
link#5 UHS 0 0 lo0 <br>192.168.1.12 link#5 UHS 0 8908 lo0 => <br>192.168.1.12/32 link#5 U 0 0 lagg0 <br><br>AppleTalk:<br>Destination Gateway Flags Netif
Expire<br><br>Internet6:<br>Destination Gateway Flags Netif Expire<br>::/96 ::1 UGRS lo0
<br>::1 ::1 UH lo0 <br>::ffff:0.0.0.0/96 ::1 UGRS lo0
<br>fe80::/10 ::1 UGRS lo0 <br>fe80::%re0/64 link#1 U re0 <br>fe80::224:8cff:fea1:b3f7%re0
link#1 UHS lo0 <br>fe80::%lo0/64 link#2 U lo0 <br>fe80::1%lo0 link#2
UHS lo0 <br>fe80::%lagg0/64 link#5 U lagg0 <br>fe80::224:8cff:fea1:b3f7%lagg0 link#5 UHS lo0 <br>ff01:1::/32 fe80::224:8cff:fea1:b3f7%re0
U re0 <br>ff01:2::/32 ::1 U lo0 <br>ff01:5::/32 fe80::224:8cff:fea1:b3f7%lagg0 U lagg0 <br>ff02::/16
::1 UGRS lo0 <br>ff02::%re0/32 fe80::224:8cff:fea1:b3f7%re0 U re0 <br>ff02::%lo0/32 ::1 U lo0
<br>ff02::%lagg0/32 fe80::224:8cff:fea1:b3f7%lagg0 U lagg0 <br><br>--------------------------------------------------------------------------------------------------<br><br><span style="font-weight: bold;"># ifconfig </span> <br> <br>re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
<br> options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC> <br> ether
00:24:8c:a1:b3:f7 <br> inet6 fe80::224:8cff:fea1:b3f7%re0 prefixlen 64 scopeid 0x1 <br> media: Ethernet autoselect (100baseTX
<full-duplex>) <br> status: active <br>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu
16384 <br> options=3<RXCSUM,TXCSUM> <br> inet 127.0.0.1 netmask
0xff000000 <br> inet6 ::1 prefixlen 128 <br> inet6 fe80::1%lo0 prefixlen 64 scopeid
0x2 <br>pflog0: flags=0<> metric 0 mtu 33152 <br>pfsync0: flags=0<> metric 0 mtu
1460 <br> syncpeer: 224.0.0.240 maxupd: 128 <br>lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500 <br> options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC> <br> ether
00:24:8c:a1:b3:f7 <br> inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255 <br> inet6 fe80::224:8cff:fea1:b3f7%lagg0 prefixlen 64 scopeid 0x5
<br> inet 192.168.1.12 netmask 0xffffffff broadcast 192.168.1.12 <br> media: Ethernet autoselect <br> status:
active <br> laggproto failover
<br> laggport: re0 flags=5<MASTER,ACTIVE> <br>lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 <br>
options=3<RXCSUM,TXCSUM> <br> inet 10.1.1.1 netmask 0xffffff00 <br>==================================<br><br>--- On <b>Fri, 5/7/10, Kris Moore <i><kris@pcbsd.org></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Kris Moore <kris@pcbsd.org><br>Subject: Re: [PC-BSD Testing] BIND problem in jail<br>To: testing@lists.pcbsd.org<br>Date: Friday, May 7, 2010, 7:36 AM<br><br><div id="yiv774955764">
On 05/07/2010 14:09, Jeff wrote:
<blockquote type="cite">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="font: inherit;" valign="top">
<div id="yiv2127876149">Well, this has come back to bite me
again.<br>
<br>
I was living in Thailand when it I fixed it, using a Dlink ADSL router
and used DHCP for the PCBSD box. Then I moved back to the US and set
up my old network using a Linksys router and a Linksys wireless bridge
to connect my PCBSD box to the router and the internet.<br>
<br>
I'm using lagg0 for the jail but set up the box with a static IP. So
now the original problem is back - slow server response in the jail and
Drupal cannot talk to the internet for updates and such. Set it up
with DHCP and same problem.<br>
<br>
Oddly enough, when I had it setup with a static IP, Firefox was really
slow accessing the server site, like 10 seconds lag, but Opera was the
normal 1 or 2 seconds. When I changed to DHCP both were slow, taking
nearly 20 seconds to respond - it's all lag time - the page loads very
fast after that.<br>
<br>
I noticed at boot there is a message something to the effect of re0
busy. Also noticed in Webmin, the network interface is reported as:<br>
<br>
<table id="sortableTableNaN" class="ui_table sortable" width="100%">
<thead><tr class="maintitle" bgcolor="#427ad1">
<td width="5"><b><a rel="nofollow" target="_blank" href="http://127.0.0.1:10000/net/list_ifcs.cgi?mode=active#" class="sortheader"><span class="sortarrow"> </span></a></b></td>
<td width="20%"><b><a rel="nofollow" target="_blank" href="http://127.0.0.1:10000/net/list_ifcs.cgi?mode=active#" class="sortheader">Name<span class="sortarrow"> </span></a></b></td>
<td width="20%"><b><a rel="nofollow" target="_blank" href="http://127.0.0.1:10000/net/list_ifcs.cgi?mode=active#" class="sortheader">Type<span class="sortarrow"> </span></a></b></td>
<td width="20%"><b><a rel="nofollow" target="_blank" href="http://127.0.0.1:10000/net/list_ifcs.cgi?mode=active#" class="sortheader">IP
Address<span class="sortarrow"> </span></a></b></td>
<td width="20%"><b><a rel="nofollow" target="_blank" href="http://127.0.0.1:10000/net/list_ifcs.cgi?mode=active#" class="sortheader">Netmask<span class="sortarrow"> </span></a></b></td>
<td><b><a rel="nofollow" target="_blank" href="http://127.0.0.1:10000/net/list_ifcs.cgi?mode=active#" class="sortheader">Status<span class="sortarrow"> </span></a></b></td>
</tr>
</thead> <tbody>
<tr class="mainbody row1">
<td width="5"><br>
</td>
<td width="20%">lagg0</td>
<td width="20%">Unknown</td>
<td width="20%">192.168.1.101</td>
<td width="20%">255.255.255.0</td>
<td>Up</td>
</tr>
<tr class="mainbody row0">
<td width="5"><br>
</td>
<td width="20%"> lagg0:0</td>
<td width="20%">Unknown (Virtual)</td>
<td width="20%">192.168.1.12</td>
<td width="20%">255.255.255.255</td>
<td>Up</td>
</tr>
<tr id="row_d_lo0" class="mainbody row1" bgcolor="#efefef">
<td class="ui_checked_checkbox" width="5"><input class="ui_checkbox" name="d" value="lo0" id="d_lo0" type="checkbox"> </td>
<td width="20%"><a rel="nofollow" target="_blank" href="http://127.0.0.1:10000/net/edit_aifc.cgi?idx=0">lo0</a></td>
<td width="20%"><label for="d_lo0">Loopback</label></td>
<td width="20%"><label for="d_lo0">127.0.0.1</label></td>
<td width="20%"><label for="d_lo0">255.0.0.0</label></td>
<td><label for="d_lo0">Up</label></td>
</tr>
</tbody>
</table>
<br>
192.168.1.12 is the IP for the jail and .101 is the network interface
card on DHCP.<br>
<br>
I have had similar problems with PCBSD going way back and never
resolved them. I just keep fiddling and rebooting and somehow it
magically gets fixed but I never know why. Now however, I can't get it
to work properly no matter what I try.<br>
<br>
What in the world causes this behavior and how do I fix it?<br>
<br>
...Jeff<br>
</div>
</td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
Well, I'm unsure which is causing the failure here. Maybe a good thing
to try is taking the "lagg0" device out of the loop and see if the
problem goes away. You'll need to edit /etc/rc.conf manually, remove
the ifconfig_lagg0 line, and setup ifconfig_re0 to DHCP. Switch your
jail to running on re0 as well, and test, does it work better?<br>
<br>
If that doesn't solve it, then you may be uncovering some other
networking bug :( I would recommend reporting it over to the
freebsd-net mailing lists:<br>
<br>
<a rel="nofollow" class="moz-txt-link-freetext" target="_blank" href="http://lists.freebsd.org/mailman/listinfo/freebsd-net">http://lists.freebsd.org/mailman/listinfo/freebsd-net</a><br>
<br>
Some of the folks over there could probably track it down relatively
quickly :)<br>
<br>
<br>
<pre class="moz-signature">-- <br>Kris Moore<br>PC-BSD Software<br>iXsystems</pre>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>Testing mailing list<br><a ymailto="mailto:Testing@lists.pcbsd.org" href="/mc/compose?to=Testing@lists.pcbsd.org">Testing@lists.pcbsd.org</a><br><a href="http://lists.pcbsd.org/mailman/listinfo/testing" target="_blank">http://lists.pcbsd.org/mailman/listinfo/testing</a><br></div></blockquote></td></tr></table><br>