Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2003 14:30:51 +0200 (MEST)
From:      freebsd_deamon@gmx.net
To:        freebsd-net@freebsd.org
Subject:   netgraph nge device mac address
Message-ID:  <13652.1056198651@www27.gmx.net>

next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13652.1056198651>