[Cu-wireless] Wirless Router Issue

Madhur Nigam nigam at students.uiuc.edu
Wed Jul 30 12:21:08 CDT 2003

I am having trouble in setting up my wireless network router. I have this
old computer without a harddrive and a bootable cd rom running netbsd that i
cannot change. I have two nic on this computer. first the ethernet is
connected to my dsl router and the other is a wirless nic.

Now my ethernet card gets its ip address i.e. from the dsl
router (by running dhclient ep0) and i assign to my wireless
card (and run dhcpd wi0) where ep0 and wi0 are ethernet and wireless

since i cannot change the rc.conf, i have to start ipfilter and ipnat
services manually. my ipf.conf looks like this
pass in from any to any
pass out from any to any
and my ipnat .conf looks like this
map ep0 -> proxy port ftp ftp/tcp
map ep0 -> portmap tcp/udp 40000:60000
map ep0 ->
map wi0 -> proxy port ftp ftp/tcp
map wi0 -> portmap tcp/udp 40000:60000
map wi0 ->

then i have ipforwarding in sysctl = 1. Now i first run
# ipf -Fa -f ipf.conf
and then run
# ipnat -f ipnat.conf

my wirless interface wi0 is able to assign ip addresses as i am running
dhcpd server. i know this as my wireless laptop shows the connection.
however the router itself does not forward the packets at all and as a
result my laptop is only able to ping (ip address of wi0) and
nothing else.

what am i doing wrong????? any help would be great.


ps my dhcpd.conf looks like this

ddns-update-style none;

option cuw-config-urls code 200 = text;

class "pod-clients" {
        match if option user-class = "cuw-pod-host";

class "uplink-clients" {
        match if option user-class = "cuw-uplink-host";

subnet netmask {
        pool {
#               allow members of "uplink-clients";
                option domain-name "cuwireless.org";
                option routers;
#               option domain-name-servers;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cu.groogroo.com/mailman/archive/cu-wireless/attachments/20030730/a0ebea44/attachment.html

More information about the CU-Wireless mailing list