Networking Forums

Networking Forums > Computer Networking > Linux Networking > ipmasq with a windows and linux system

Reply
Thread Tools Display Modes

ipmasq with a windows and linux system

 
 
shane
Guest
Posts: n/a

 
      02-10-2004, 12:12 PM
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
 
 
 
 
shane
Guest
Posts: n/a

 
      02-10-2004, 01:40 PM
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
 
shane
Guest
Posts: n/a

 
      02-10-2004, 01:48 PM
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
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compile IPMASQ coop Linux Networking 1 04-21-2005 02:17 PM
IPMasq doesn't work Chris Smowton Linux Networking 2 04-12-2004 11:52 AM
IPMASQ router challenge Sam D. Linux Networking 2 10-02-2003 06:04 AM
Linux system conneting to Windows server -- is a CAL required??? Alex Linux Networking 2 09-11-2003 08:27 PM
Windows 2000 system can't "see" Windows 98 system on network Rich Radtke Windows Networking 1 09-07-2003 05:32 PM



1 2 3 4 5 6 7 8 9 10 11