On Sat, Sep 16, 2000 at 04:30:29PM +0200, Florian Zimmermann wrote: > On Sat, 16 Sep 2000, Tomasz Wegrzanowski wrote: > > > What's the Hurd way for setting up gateway to the Internet ? > > something like `route add default gw 192.168.1.1'. > > you can give the defaut-gateway through pfinet, e.g.: > > settrans -fg /servers/socket/2 /hurd/pfinet --interface=eth0 \ > address=192.168.1.1 --gateway=192.168.1.2 --netmask=255.255.255.0 > > I hope there's also a method to manipulate routes manually > but haven't found it yet...
There is an interface in pfinet.defs but I don't think it is supported at the moment. There is only one interface anyway, so stopping and restarting is an option. There exists a patch for multiple interface support and route manipulation. It's quite old, and will most likely not apply cleanly anymore, but I assume it will be an issue for after 0.3 is released. People can already start to think about the interface and possible implementations if they are interested in this. Thanks, Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server Marcus Brinkmann GNU http://www.gnu.org for public PGP Key [EMAIL PROTECTED], [EMAIL PROTECTED] PGP Key ID 36E7CD09 http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ [EMAIL PROTECTED]

