[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. 192.168.1.103 from the dsl
router (by running dhclient ep0) and i assign 10.0.132.71 to my wireless
card (and run dhcpd wi0) where ep0 and wi0 are ethernet and wireless
interfaces.

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 10.0.132.0/24 -> 192.168.1.0/24 proxy port ftp ftp/tcp
map ep0 10.0.132.0/24 -> 192.168.1.0/24 portmap tcp/udp 40000:60000
map ep0 10.0.132.0/24 -> 192.168.1.0/24
map wi0 192.168.1.0/24 -> 10.0.132.0/24 proxy port ftp ftp/tcp
map wi0 192.168.1.0/24 -> 10.0.132.0/24 portmap tcp/udp 40000:60000
map wi0 192.168.1.0/24 -> 10.0.132.0/24

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 10.0.132.71 (ip address of wi0) and
nothing else.

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

thanks
madhur

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 10.0.132.0 netmask 255.255.255.0 {
        pool {
#               allow members of "uplink-clients";
                range 10.0.132.1 10.0.132.253;
                option domain-name "cuwireless.org";
                option routers 10.0.132.71;
#               option domain-name-servers 63.146.38.2;
        }
}


-------------- 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