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


Subject: Re: ethertap/dummy (for mol) in 2.4.x ?
From: R Shapiro (reshapiro@mediaone.net)
Date: Wed Feb 07 2001 - 06:45:31 MST


> > 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

[note the transmitted packets - these presumably come from my MOL
testing]

2. I added a route:

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.1 * 255.255.255.255 UH 0 0 0 dummy0
192.168.1.0 * 255.255.255.0 U 0 0 0 dummy0

tcp under mol is configured to use address 192.168.1.2, with router
192.168.1.1 (and the same dns as linux uses).

3. I added a masquerade rule in iptables

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

[I'm much more familiar with ipchains masquerading, so it's quite
possible this iptables rule is wrong]

4. I configured netdev in molrc to be dummy0

5. I recompiled the mol-0.9.55-1 src.rpm for the 2.4.1 kernel

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?

-- 
reshapiro@mediaone.net



This archive was generated by hypermail 2a24 : Wed Feb 07 2001 - 06:46:08 MST