Re: MOL and YDL 1.2.1 / networking


Subject: Re: MOL and YDL 1.2.1 / networking
From: Ewen Bell (ewen@twocats.com.au)
Date: Sat Nov 11 2000 - 16:27:23 MST


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

good luck!

Robert Vogt IV wrote:
>
> To all,
>
> I cannot figure out how to get MOL to work with TCP/IP. I've got
> ATalk support going (wonderfully, I might add...).
>
> I have the following setup:
>
> Router @ 192.168.0.1
> Linux PowerBook getting 192.168.0.22 via DHCP
> MOL on PB
>
> I've tried DHCP and manual configuration (at .22 and .26), to no
> avail.
>
> Am I missing something obvious?

-- 
Ewen Bell
Twocats.com.au
+61 3 9343 6260



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