NetBSD Gateway with dynamic IP

daniel veiga <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
Hello,

I have this configuration of my home-network:

Netbsd 3.0
my kernel was net.inet.ip.forwading=1

ex0
ip 192.168.1.1 - its my internal network, this IP i
put manually, connect with xinXP

vr0
ip dynamic (internet link) - I get the IP through the
command: $sudo dhclient

My ipnat.conf is
map ex0 192.168.1.0/24 -> 0/32 portmap tcp/udp
40000:60000
map ex0 192.168.1.0/24 -> 0/32
i tried to put vr0 and does not work to.

to up ipnat.conf, i use this command: sudo
/etc/rc.d/ipnat start

WinXP
ip 192.168.1.3
netmask 255.255.255.0
Gateway 192.168.1.1
DNS - i dont put any value, but i have tried to put
192.168.1.1 and does not works to.

the machines can be ping ---- NetBSD to WinXP and
WinXP to NetBSD

but the link of internet dont work.

Thanks for help

__________________________________________________
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.