Re: MOL 0.9.50: EtherTap Broken?


Subject: Re: MOL 0.9.50: EtherTap Broken?
From: Samuel Rydh (samuel@ibrium.se)
Date: Tue Aug 29 2000 - 16:53:08 MDT


How to configure the new tap driver:
====================================

In the /etc/molrc file:

netdev: tap0

The ethertap device should be configured
by something like

# Configuring tap0
ifconfig tap0 192.168.1.1 netmask 255.255.255.0 up arp

# Configure masquerading
echo 1 >/proc/sys/net/ipv4/ip_forward
ipchains -M -S 7200 10 160
ipchains -P forward DENY
ipchains -A forward -s 192.168.1.0/24 -j MASQ

Note that MacOS should be configured to use the IP address
192.168.1.2 and the 192.168.1.1 address should
be specified as the gateway. It is a good idea to
add these addresses to /etc/hosts to avoid nameserver
lookups.

It is possible to use appletalk over the tap-device if
one compiles the tap-module with multicast support (edit
the source!). Also, netatalk typically needs then to
be properly configured.

Cheers,

/Samuel

----------------------------------------------------------
 E-mail <samuel@ibrium.se> WWW: <http://www.ibrium.se>
  Phone/fax: (home) +46 8 4418431, (work) +46 8 7908470
----------------------------------------------------------



This archive was generated by hypermail 2a24 : Tue Aug 29 2000 - 16:58:41 MDT