MOL ethernet

Bill Mueller mol-general@lists.maconlinux.org
Thu, 22 Aug 2002 13:43:16 -0700


Sorry, about the html (windows machine only one currently running)

Thanks for the tips.  There seems to be several, widely varied ways of doing
this.  I used a hybred of your suggestions and suggestions from the archive.

I installed ethertap... then ran both the sheep and tap drivers for mol.  I
setup the Linux side tap0 for a unique IP and same broadcast as my eth0.  On
the MOL side, chose ethernet port 1 and port 2 to share another unique IP.

I know its not effiecient or correct... but its working.

Thanks again,
Bill
----- Original Message -----
From: "Robert Bar" <r_bar@gmx.de>
To: <mol-general@lists.maconlinux.org>
Sent: Wednesday, August 21, 2002 11:42 PM
Subject: Re: MOL ethernet


> At 17:55 Uhr -0700 21.08.2002, Bill Mueller wrote:
>
> (please stop sending html - thx)
>
> >  ...
>
> >  There must be something simple I am missing.  Any ideas?
>
> don't know about something 'missing', but i ran into similar problems
> when i was upgrading to .64 last week.
> simply replacing /etc/mol/tunconfig by my 'old'-one
> (/usr/lib/mol/bin/tunconfig - [1]) solved the probs.
>
> here it is:
>
> pmac.domain [2] 192.168.1.201 - no dhcpd running, i'm using fixed
> adresses on whole my LAN.
> tun.domain      192.168.2.1
> macos.domain    192.168.2.2   - (9.0.4)
>
> ======/etc/mol/tunconfig=================
> #!/bin/bash
> /sbin/ifconfig tun0 192.168.2.1
> /sbin iptables -D POSTROUTING -t nat -s 192.168.2.0/24 -d !
> 192.168.2.0/24 -j MASQUERADE >& /dev/null
> /sbin/iptables -t nat -s 192.168.2.0/24 -d ! 192.168.2.0/24 -A
> POSTROUTING -j MASQUERADE
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
> # make it executable - chmod 755
> =========================================
>
> hth
>      robert
>
> [1] <http://maconlinux.org/lists/mol-general/August01/0056.html>
> [2] /etc/network/interfaces:  address 192.168.1.201
>                                netmask 255.255.255.0
>                                network 192.168.1.0
>                                broadcast 192.168.1.255
>                                gateway 192.168.1.211
> _______________________________________________
> mol-general mailing list
> mol-general@lists.maconlinux.org
> http://lists.maconlinux.org/mailman/listinfo/mol-general
>