Re: ethertap/dummy (for mol) in 2.4.x ?


Subject: Re: ethertap/dummy (for mol) in 2.4.x ?
From: Philippe Lelédy (phl@leledy.org)
Date: Wed Feb 07 2001 - 14:06:38 MST


On Wed, 7 Feb 2001, R Shapiro wrote:

>
> > > Try the dummy net device. That seems to work better.
>
>
> 1. Although there no responses to my query re: dummy drivers, I was
> finally able to locate some documentation to get one configured, as
> follows:
>
>
> dummy0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
> inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0
>
>
>
> 3. I added a masquerade rule in iptables
>
> iptables -t nat -A POSTROUTING -o eth0 -s 192.168.1.0/24 -j MASQUERADE
>

I'd try

iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j MASQUERADE

as eth0 is not used but dummy0.



This archive was generated by hypermail 2a24 : Wed Feb 07 2001 - 14:12:29 MST