Subject: Re: ethertap/dummy (for mol) in 2.4.x ?
From: Derrik Pates (dpates@andromeda.dsdk12.net)
Date: Wed Feb 07 2001 - 07:00:02 MST
On Wed, 7 Feb 2001, R Shapiro wrote:
> 3. I added a masquerade rule in iptables
>
> iptables -t nat -A POSTROUTING -o eth0 -s 192.168.1.0/24 -j MASQUERADE
Looks good to me.
> 4. I configured netdev in molrc to be dummy0
Didd you load the 'sheep_net.o' module, and add the '-sheep' flag on the
netdev: line in molrc?
> It doesn't work, either with dummy or with ethertap. Does anyone at
> all have anything like a recommendation? Has anyone at all actually
> gotten the dummy driver (or the obsolete ethertap driver) to work in
> 2.4.1? Or am I wasting my time even trying?
Can you try
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.1.0/24 -j SNAT \
--to <external IP address>
instead?
Derrik Pates | Sysadmin, Douglas School| _ #linuxOS on EFnet
dpates@dsdk12.net | District (dsdk12.net) | | | and now OPN too!
Student @ South Dakota School of Mines | __| |___ _ _ _ ___ _ _ ____
& Technology (www.sdsmt.edu) |/ _ / -_) ' \ '\/ _ \ ' \ (____)
UNIX: Because you want to USE your computer.|\___,\___|_||_||_\___/_||_|
This archive was generated by hypermail 2a24 : Wed Feb 07 2001 - 07:00:37 MST