Network driver beta.


Subject: Network driver beta.
From: Samuel Rydh (samuel@ibrium.se)
Date: Mon Jul 31 2000 - 12:20:41 MDT


Hi all,

For those who are interested; I've pushed the updated
ethernet drivers to the bitkeeper tree (including
a bugfix a few minutes ago).

To use the new tap-driver:
==========================

1. Configure tap0 & masquerading:

        ifconfig tap0 192.168.0.1 netmask 255.255.255.0 up arp

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

2. Add the line 'netdev: tap0' to the molrc file.

To use the rewritten sheep-driver:
==================================

Add the line 'netdev: eth0' to the molrc file.

(It is also possible to use the sheep-driver on tap0 by
specifying 'netdev: tap0 -sheep')

I'd be grateful if people on this list could test the drivers.
If things work out, I'll put together 0.9.49 this weekend.

Note: The IP-filtering and the unique address feature
are temporarily disabled.

Btw. I discovered that MOL received IP-packets of length
1516 (including the full ethernet header). I thought
1514 was the protocol limit? MOL currently truncates
packets larger than 1514 and this caused certain problems
in this case (the problem went away when I increased
the limit).

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 : Mon Jul 31 2000 - 11:26:00 MDT