<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 05/07/2010 14:09, Jeff wrote:
<blockquote cite="mid:877882.82035.qm@web62503.mail.re1.yahoo.com"
type="cite">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;"
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 moz-do-not-send="true"
href="http://127.0.0.1:10000/net/list_ifcs.cgi?mode=active#"
class="sortheader" onclick="ts_resortTable(this, 0);return false;"><span
class="sortarrow"> </span></a></b></td>
<td width="20%"><b><a moz-do-not-send="true"
href="http://127.0.0.1:10000/net/list_ifcs.cgi?mode=active#"
class="sortheader" onclick="ts_resortTable(this, 1);return false;">Name<span
class="sortarrow"> </span></a></b></td>
<td width="20%"><b><a moz-do-not-send="true"
href="http://127.0.0.1:10000/net/list_ifcs.cgi?mode=active#"
class="sortheader" onclick="ts_resortTable(this, 2);return false;">Type<span
class="sortarrow"> </span></a></b></td>
<td width="20%"><b><a moz-do-not-send="true"
href="http://127.0.0.1:10000/net/list_ifcs.cgi?mode=active#"
class="sortheader" onclick="ts_resortTable(this, 3);return false;">IP
Address<span class="sortarrow"> </span></a></b></td>
<td width="20%"><b><a moz-do-not-send="true"
href="http://127.0.0.1:10000/net/list_ifcs.cgi?mode=active#"
class="sortheader" onclick="ts_resortTable(this, 4);return false;">Netmask<span
class="sortarrow"> </span></a></b></td>
<td><b><a moz-do-not-send="true"
href="http://127.0.0.1:10000/net/list_ifcs.cgi?mode=active#"
class="sortheader" onclick="ts_resortTable(this, 5);return false;">Status<span
class="sortarrow"> </span></a></b></td>
</tr>
</thead> <tbody>
<tr class="mainbody row1"
onmouseover="this.className='mainhigh'"
onmouseout="this.className='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"
onmouseover="this.className='mainhigh'"
onmouseout="this.className='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"
onmouseover="this.className =
document.getElementById('d_lo0').checked ? 'mainhighsel' : 'mainhigh'"
onmouseout="this.className = document.getElementById('d_lo0').checked ?
'mainsel' : 'mainbody row1'"
bgcolor="#efefef">
<td class="ui_checked_checkbox" width="5"><input
class="ui_checkbox" name="d" value="lo0" id="d_lo0"
onclick="document.getElementById('row_d_lo0').className = this.checked ?
'mainhighsel' : 'mainhigh';"
type="checkbox"> </td>
<td width="20%"><a moz-do-not-send="true"
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 class="moz-txt-link-freetext" 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" cols="72">--
Kris Moore
PC-BSD Software
iXsystems</pre>
</body>
</html>