Subject: ethernet dhcp, mol ethertap, doesn't work
From: R Shapiro (rshapiro@bbn.com)
Date: Wed Oct 18 2000 - 09:27:11 MDT
I followed the instructions I found in the archive:
- created ethertap dev node
crw-r--r-- 1 root root 36, 16 Oct 17 19:26 /dev/tap0
- enabled packet forwarding, ip_dynaddr and ip defrag (the new way,
in /etc/sysctl.conf)
- configured ethertap device
/sbin/depmod -a
/sbin/modprobe ethertap
/sbin/modprobe ip_masq_ftp
/sbin/ifconfig tap0 192.168.1.1 netmask 255.255.255.0 up arp
/sbin/route add -host 192.168.1.1 tap0
echo "1" > /proc/sys/net/ipv4/conf/tap0/proxy_arp
/sbin/arp -s 192.168.1.2 FE:FD:00:00:00:00 pub
According to ifconfig, the ethertap device is as it should be.
- Enabled masquerading with a trivial forwarding rule
ipchains -M -S 7200 10 160
ipchains -A forward -s 192.168.1.0/24 -j MASQ
- Set netdev to tap0 in molrc
I did nothing specific to the MacOS tcp/ip control panel, since this
was never mentioned in the articles I read (seems weird).
Networking is not functional in MacOS under mol.
Anyone want to guess what's wrong?
-- rshapiro@bbn.com
This archive was generated by hypermail 2a24 : Wed Oct 18 2000 - 09:34:51 MDT