Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2006 09:01:41 -0700 (PDT)
From:      Purushotham Nayak <nayak_purushotham@yahoo.com>
To:        freebsd-net@freebsd.org
Subject:   ethernet bridge and dhcpd
Message-ID:  <20060801160141.73380.qmail@web56101.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi All,

I have a routerboard with two ethernet ports (sis0 and sis1). I've been trying top setup a bridge and also run the dhcpd server on it. I've setup sis0 with an IP address and sis1 is just marked up in rc.conf. The bridge seems to work because if I statically assign an IP address to a laptop and connect it to sis1 I can ping the routers IP which is what is assigned to sis0. But the laptop cannot get an IP using DHCP. tcpdumping on sis0 doesn't show me the DHCPREQUEST from the laptop that's coming in through sis1 (but it doesn't show me any traffic during ping request either but that's not broadcast so I guess that's expected).

Here's my rc.conf

-------------------------------------------------------------------------------------
inetd_enable="YES"
ifconfig_sis0="inet 10.1.1.1 netmask 255.255.255.0"
ifconfig_sis1="up"
ifconfig_ath0="down"

gateway_enable="YES"

dhcpd_enable="YES"
dhcpd_flags="-q"
dhcpd_conf=/usr/local/etc/dhcpd.conf"
-----------------------------------------------------------------------

And here is my dhcpd.conf

-------------------------------------------------------------------------
ddns-update-style ad-hoc;
default-lease-time 600;
max-lease-time 7200;

subnet 10.1.1.0 netmask 255.255.255.0 {
    range 10.1.1.64 10.1.1.250;
    option routers 10.1.1.1;
}
-------------------------------------------------------------------

Can anyone please let me know if there is something I'm doing wrong.

nayak
 		
---------------------------------
Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail Beta.



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