Problem with default gateway

Ilya Alexeev ilya at continuum.ru
Wed Jul 17 17:08:18 UTC 2002


Hello Vyacheslav,

Wednesday, July 17, 2002 you wrote:

>> But there is no default gateway yet, so I try to do following:
>>     rtems_bsdnet_rtrequest(
>>         RTM_ADD,
>>         0.0.0.0,
>>         0.0.0.0,
>>         192.168.10.1,
>>         RTF_UP | RTF_STATIC | RTF_GATEWAY);
>> But nothing happens :(
VVB> Should be dst, gw, mask:
VVB> 0.0.0.0,
VVB> 192.168.10.1,
VVB> 0.0.0.0,

Unfortunately, it just typo in the letter...
In my sources  dst, gw and mask are there in right order.


Ilya V. Alexeev
ilya at continuum.ru

Continuum Plus JSC
Yaroslavl, Russia
Phone: (+7)0852 240200
Fax:   (+7)0852 359977




More information about the users mailing list