Re: MOL and YDL 1.2.1 / networking


Subject: Re: MOL and YDL 1.2.1 / networking
From: Robert Vogt IV (robert@arborhost.com)
Date: Sat Nov 11 2000 - 16:47:33 MST


        Ewen,

> dynamic IP assignment wont go so well for MacOS under MOL.
>
> in the event that you cant assign an ip address manually to your virtual mac machine, you need to use ethertap. this has been well referenced over the last few weeks, search for tap0 or ethertap in the mol list archives...
>
> http://lists.linuxppc.org/lists/mol-general
>
> i tried this myself and found it to work nicely. i simply added the following lines to my rc.local...
>
> /sbin/ifconfig tap0 192.168.5.1 netmask 255.255.255.0 up arp
> /sbin/route add -host 192.168.5.1 tap0
> echo "1" > /proc/sys/net/ipv4/conf/tap0/proxy_arp
> /sbin/arp -s 192.168.5.2 FE:FD:00:00:00:00 pub
>
> /sbin/modprobe -k ip_masq_ftp
> echo "1" >/proc/sys/net/ipv4/ip_forward
> echo "1" >/proc/sys/net/ipv4/ip_dynaddr
> /sbin/ipchains -M -S 7200 10 160
> /sbin/ipchains -P forward DENY
> /sbin/ipchains -A forward -s 192.168.5.0/24 -j MASQ
>
> ...and updated molrc to use tap0, and manually set the IP address of the mac to 192.168.5.101 with a router at 192.168.5.1 (the linux box tap0 device).
        This doesn't seem to work (the above steps execute, but I'm not
getting anywhere in the MacOS).

                                -Robert Vogt IV



This archive was generated by hypermail 2a24 : Sat Nov 11 2000 - 16:47:13 MST