From owner-freebsd-net@FreeBSD.ORG Sat Jun 21 05:30:54 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62AAE37B401 for ; Sat, 21 Jun 2003 05:30:54 -0700 (PDT) Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by mx1.FreeBSD.org (Postfix) with SMTP id 4865343F75 for ; Sat, 21 Jun 2003 05:30:52 -0700 (PDT) (envelope-from freebsd_deamon@gmx.net) Received: (qmail 6389 invoked by uid 0); 21 Jun 2003 12:30:51 -0000 Date: Sat, 21 Jun 2003 14:30:51 +0200 (MEST) From: freebsd_deamon@gmx.net To: freebsd-net@freebsd.org MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated-Sender: #0018491972@gmx.net X-Authenticated-IP: [141.20.121.49] Message-ID: <13652.1056198651@www27.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Subject: netgraph nge device mac address X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jun 2003 12:30:54 -0000 dear list i yesterday played around with a Prolific PL2301 usb host to host adapter to connect two machines using netgraph after # ngctl mkpeer udbp0: eiface data ether # ifconfig nge0 inet 192.168.1.1 (192.168.1.2 on the other machine) i got (ifconfig) nge0: flags=8843 mtu 1500 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:00:00:00:00:00 and nge0: flags=8843 mtu 1500 inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:00:00:00:00:00 now i wonder how to set the MAC addresses? in man ifconfig i could not find the answer and ... i think they should be set to something unique, right besides ... (this might be interrelated) i cannot ping the other host (if i use "iface data inet" and "ifconfig ng0 10.0.0.1 10.0.0.2" (10.0.0.2 10.0.0.1 on the other machine) i can ping but the connection seems to be instable) TIA Zheyu -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!