networking project

Donn donn.ingle at gmail.com
Mon Sep 3 06:52:00 UTC 2007


> Oh, btw, I have assigned the eth1 with a static ip of 192.168.1.1 and 
> the router is 192.168.1.3. (The router has wireless for my laptop to use 
> for my laptop)

I know zip-all about networks except to notice how similar yours is to 
my own (which, ironically is not working - but used to!).

What you could try is to masquerade packets from your eth1 IP. Do this:

1. Enable forwarding, done only once, as root:
echo '1'>/proc/sys/net/ipv4/ip_forward

2. Setup the table:
iptables -t nat -I POSTROUTING -s <your eth1 IP> -j MASQUERADE

Now, test the connection from your laptop. If it works, then put that 
iptables command into /etc/init.d/netshare (I think, I am not on my 
Kubuntu machine, and my experience is with Dapper)

I hope that helps some,
/d




More information about the kubuntu-users mailing list