ipmasq with a windows and linux system

This is a discussion on ipmasq with a windows and linux system within the Linux Networking forums, part of the Linux Forums category; I can't for the life of me get ipmasq working so my windows box can see the internet. I ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-10-2004
shane
 
Posts: n/a
Default ipmasq with a windows and linux system

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
Reply With Quote
  #2 (permalink)  
Old 02-10-2004
shane
 
Posts: n/a
Default Re: ipmasq with a windows and linux system

On advice I setup a dhcp server and am using dnsmasq now.

The windows systems gets it's ip successfully but still no luck getting it
to see the internet

Shane
Reply With Quote
  #3 (permalink)  
Old 02-10-2004
shane
 
Posts: n/a
Default Re: ipmasq with a windows and linux system

It appears that the DNS stuff is working cause when I ping random internet
addresses from windows it successfully resolves to an IP but then it fails
to send packets.

ideas?

Shane
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0