On Sat, 2002-03-02 at 10:58, Eduard Bloch wrote:
> #include <hallo.h>
> Philip Blundell wrote on Sat Mar 02, 2002 um 10:54:01AM:
> > > This fill fix the latter problem for sure.  I don't know if we
> > > will still need to call route, though.
> > 
> > No, the kernel should take care of that.
> 
> On Ethernet devices, maybe, but for Point-to-Point connection we need
> exact settings of the peer host.

What is needed beyond the information that ifconfig provides?

The kernel is able to install routes like this, which seems to be what
the submitter wanted:

kc:/# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0
eth0
0.0.0.0         192.168.2.1     0.0.0.0         UG    0      0        0
eth0
kc:/# ifconfig plip0 192.168.44.1 pointopoint 192.168.44.2
kc:/# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.44.2    0.0.0.0         255.255.255.255 UH    0      0        0
plip0
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0
eth0
0.0.0.0         192.168.2.1     0.0.0.0         UG    0      0        0
eth0
kc:/#

The only route that dbootstrap needs to set up is the default one.  

p.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to