From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sBbCJoADBV+GGAAA0tVLHw (envelope-from ) for ; Tue, 07 Jul 2020 23:21:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EOChIoADBV83BQAAB5/wlQ (envelope-from ) for ; Tue, 07 Jul 2020 23:21:36 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 14FE3940656 for ; Tue, 7 Jul 2020 23:21:36 +0000 (UTC) Received: from localhost ([::1]:57248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jswu6-00051L-31 for larch@yhetil.org; Tue, 07 Jul 2020 19:21:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jswty-000519-Eh for help-guix@gnu.org; Tue, 07 Jul 2020 19:21:26 -0400 Received: from dustycloud.org ([50.116.34.160]:35238) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jswtx-0002er-1B; Tue, 07 Jul 2020 19:21:26 -0400 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 4734026617; Tue, 7 Jul 2020 19:21:23 -0400 (EDT) References: <87blkrgphk.fsf@dustycloud.org> <87h7ujayft.fsf@gnu.org> <875zazgjte.fsf@dustycloud.org> User-agent: mu4e 1.4.9; emacs 26.3 From: Christopher Lemmer Webber Subject: Re: Port forwarding and `guix system vm` In-reply-to: <875zazgjte.fsf@dustycloud.org> Date: Tue, 07 Jul 2020 19:21:22 -0400 Message-ID: <87imeygbd9.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=50.116.34.160; envelope-from=cwebber@dustycloud.org; helo=dustycloud.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/07 18:21:21 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, MISSING_HEADERS=1.021, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_NOVOWEL=0.5 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 0.99 X-TUID: gnE1UouEpIHZ Christopher Lemmer Webber writes: > Jan Nieuwenhuizen writes: > >> In our chat on IRC I mentioned that adding this "-nic user,virtio-net-pci bit", >> I mentioned that this gives me two eth devices: >> >> --8<---------------cut here---------------start------------->8--- >> eth0 Link encap:Ethernet HWaddr 52:54:00:12:34:56 >> inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> RX packets:3 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:1314 TX bytes:1286 >> >> eth1 Link encap:Ethernet HWaddr 52:54:00:12:34:57 >> inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> RX packets:11 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:17 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:1784 TX bytes:1706 >> >> lo Link encap:Local Loopback >> inet addr:127.0.0.1 Bcast:0.0.0.0 Mask:255.0.0.0 >> UP LOOPBACK RUNNING MTU:65536 Metric:1 >> RX packets:0 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:0 TX bytes:0 >> --8<---------------cut here---------------end--------------->8--- > > I'm also seeing a duplicate network device as above. (Not sure if it's > causing problems or not.) > >> I noticed this yesterday while struggled similarly, and found that >> removing this bit from run-sh; like so: >> >> --8<---------------cut here---------------start------------->8--- >> sed 's,-nic user[^ ]* ,,' /gnu/store/j8fqc160diq82da7913gpdlcjca45rhz-run-vm.sh > run-vm.sh >> --8<---------------cut here---------------end--------------->8--- >> >> and running "run-vm.sh, will create only eth0. I blamed this second >> eth1 device for my ssh'ing troubles...but I cannot reproduce that >> today...dunno! >> >> Greetings, >> Janneke > > It does seem like having two network devices bound to the same address > would be ripe for a heisenbug though, right? So maybe... See bug#42252 for a continued discussion fo this issue.