networking on the mac side

marco mol-general@lists.maconlinux.org
Tue, 29 Oct 2002 01:27:48 -0500


Hi,
MOL is installed and working nice on my g3 beige 233.
My box is a gateway on my LAN.
Configured with two eth devices
eth1 --- net DHCP cable
eth0 --- internal on 192.168.2.1

here is my molrc.net 
               netdev:         eth0 -sheep
               netdev:         tun1 -tun

On the mac side there are 3 interfaces in tcp/ip (1,2,3)

Here is the network part of MOL log

Ethernet Interface (port 1) 'sheep-<eth0>' @ FE:FD:DE:AD:BE:EF
Ethernet Interface (port 2) 'tun-<tun1>' @ 00:00:0D:EA:DB:EE
Ethernet Interface (port 3) 'sheep-<eth0>' @ FE:FD:DE:AD:BE:EF

Apletalk is running fine on 1 and 3.
tcp/ip is running fine on the local network with 1 and 3 too...

but the doc says :

#       Note: It is possible to configure up to three netdevices
#       simultaneously. Thus the SheepNet driver could be used
#       for AppleTalk and the tun driver for TCP/IP...

And when I try the second interface ("2" on mac side)
with dhcp --- my dhcp server serve me an IP address only if MOL is
running. He says to put a subnet declaration for tun1.

tun1 provide a 192.168.2.*  address 
tun2 provide a 192.168.3.*  address
...
the doc says :

#    - Linux and MOL must use different TCP/IP addresses (residing on
#    the same subnet). This is a problem if you use DHCP...

and when I set tun to 1 (192.168.2.*  address) syslog says :

Oct 29 00:44:10 g3 dhcpd: Multiple interfaces match the same subnet:
eth0 tun1 Oct 29 00:44:10 g3 dhcpd: Multiple interfaces match the same
shared network: eth0 tun1

when I lauch a web browser and try google syslog says :

Oct 29 00:44:26 g3 kernel: ll header:
ff:ff:ff:ff:ff:ff:00:00:0d:ea:db:ee:08:06 Oct 29 00:44:28 g3 kernel:
martian source 192.168.2.23 from 192.168.2.23, on dev tun1 Oct 29
00:44:28 g3 kernel: ll header: ff:ff:ff:ff:ff:ff:00:00:0d:ea:db:ee:08:06
Oct 29 00:44:35 g3 kernel: martian source 192.168.2.1 from 192.168.2.23,
on dev tun1 Oct 29 00:44:35 g3 kernel: ll header:
ff:ff:ff:ff:ff:ff:00:00:0d:ea:db:ee:08:06 Oct 29 00:44:36 g3 kernel:
martian source 192.168.2.1 from 192.168.2.23, on dev tun1 Oct 29
00:44:36 g3 kernel: ll header: ff:ff:ff:ff:ff:ff:00:00:0d:ea:db:ee:08:06

Brievly : this is impossible to have internet on the mac side.

Please help me !!

--
marco