Subject: PPP half bridge
To: netbsd-users@netbsd.org <netbsd-users@netbsd.org>
From: None <sigsegv@rambler.ru>
List: netbsd-users
Date: 08/18/2004 05:43:21
Greetings, I am using Zoom X3 ADSL modem, which has an option for 
enabling PPP half bridge. The ADSL modem has two network interfaces WAN 
which is connected to the phone line and LAN interface connected to my 
NetBSD router/firewall. As I understand what PPP half bridge does is 
makes the ADSL modem to assign its WAN IP address and any DHCP options 
to my router/firewall. This is what I need, I will be running http 
server, mail server and DNS server and need direct access to this 
machine from the Internet. I tested this with Win2K and it works as it 
should i.e. I can connect to the Internet through the modem, however 
when running NetBSD-2.0 dhclient gets all the options from the ADSL 
modem and sets up IP address to the WAN IP address, but then I am not 
able to connect to the Internet, also the following message gets logged:

netbsd: arplookup: unable to enter address for x.x.x.x on vr0 (host is 
not on local network)
netbsd: arpresolve: can't allocate llinfo on vr0 for y.y.y.y

where x.x.x.x is ADSL modem's LAN IP address, like 10.0.0.2
and y.y.y.y is the WAN IP address

What do I need to do to have WAN IP address on my NetBSD machine and be 
connected to the Internet through the ADSL modem? Do I need to set up 
some sort of bridge device on NetBSD? Any info is much appreciated.


PS. I left /etc/dhclient.conf empty, so defaults should apply