netgraph nge device mac address
freebsd_deamon at gmx.net
freebsd_deamon at gmx.net
Sat Jun 21 05:30:54 PDT 2003
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!
More information about the freebsd-net
mailing list