blob: efa59285bd13189cd72bb5fff1647d1ef01d8312 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Lwip is a lightweight TCP/IP stack, and a google summer of code made it possible to use lwip to replace pfinet.
The lwip translator provides all of the following:
* Support for IPv4 and IPv6
* Support for TCP and UDP
* Support for multiple Ethernet devices
* Support for fsysopts and command-line parameters configuration
* Support to create an IP tunnel which may be used by an OpenVPN client
To configure lwip for internet connectivity, use the
[[`settrans`|settrans]] command, like this:
# settrans -fgap /servers/socket/2 /hurd/lwip ↩
-i /dev/eth0 -a 192.168.0.50 -g 192.168.0.1 -m 255.255.255.0
The argument /server/socket/2 is the node that the translator is to be attached to. This is followed by the translator program to run and any arguments to give it.
There, -i, -a, -g and -m are, quite obviously, the (Mach) device to use, the IP address, the gateway and netmask.
More information can be found on Joan Lledo's blog:
* <http://darnassus.sceen.net/~jlledom/en/>
|