I can't for the life of me get ipmasq working so my windows box can see
the internet.
I have a debian kernel 2.6.0 which has two nics one connected to the
windows box and the other to the internet. I am using a cross linked cable
for the windows->linux connection. I can ping the windows box and the
windows box can ping the linux box so I know the connection is there.
specs:
linux- from the /etc/network/interfaces
auto lo eth0 eth1
iface lo inet loopback
iface eth0 inet dhcp
hostname simple
iface eth1 inet static
address 192.168.0.3
netmask 255.255.255.0
broadcast 192.168.255.255
gateway 192.168.0.1
I don't even know if I need the gateway thing but I've tried everything.
windows:
I don't know what to set to what exactly.
It has a static ip:
192.168.0.2
netmask:
255.255.255.0
I'm not sure what to set the DNS for the hostname or the domain name. I'm
not sure what to set the gateway to.
When I use dpkg-reconfigure etherconf it has me enter in a hostname and a
domain name. So I tried just using this domain name for windows. If I
don't enter anything into DNS for the windows box then explorer gives me a
DNS error.
I figured I would just set the DNS and the GATEWAY to the IP of the debian
box so: 192.168.0.3 and then ipmasq would know what to do, but this
doesn't work.
Any ideas what I'm doing wrong?
Also when I run:
netstat -M it says
netstat: no support for `ip_masquerade' on this system.
I don't know if that matters.
Thanks in advance for your help
Also my internet connection is through a broadband connection at my
school. I'm pretty sure there network using NAT. Would this mess me up at
all? Or if I get ipmasq up and running then to the school network
everything will look like it's coming from the linux box? I thought maybe
MAC addresses being different my mess something up. I really don't know.
I'm just piecing together everything I learned in computer networking last
semester
Shane