Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 2009 15:21:17 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   tap dhcp
Message-ID:  <6201873e0909281321s51e3d485i1074954d43b657d6@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Am I doing something wrong here?

kldload if_tap if_bridge
sysctl net.link.tap.user_open=1
ifconfig tap0 create
ifconfig bridge create
ifconfig bridge0 addm tap0 addm em0

it# dhclient tap0
DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on tap0 to 255.255.255.255 port 67 interval 18
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Although dhclient em0 works as expected.

FreeBSD it.digitecinc.net 8.0-BETA4 FreeBSD 8.0-BETA4 #2: Mon Sep  7
11:26:25 CDT 2009
vandemorea@it.digitecinc.net:/usr/obj/usr/src/sys/GENERIC
i386

Repost from questions@ several days ago.

Thanks,

-- 
Adam Vande More



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