handling of the routing table through route command and ioctl() library function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am developing an application which takes the information of
interfaces from one system, and adds it in the routing tabel of
another system. It is sort of a routing protocols but my particular
domain is the ForCES (Forwarding and Control Element Separation)
topic. All is working fine except for the behaviour of the ioctl()
call.

I am using VMware and Fedora Core-4 as one guest and Fedora Core-5 as
the other. Windows XP is the guest for vmware.

When I add interfaces on the Fedora Core-4 system, they are addedd
successfully in the routing table as routing entries, with all proper
routing table column entries. But when I try to run that same portion
of the code on Fedora Core-5, although the routes are added, but in
the routing table they are marked as REJECT with an ( ! ) exclamation
mark, under the flags column. It even does not show the gateway for
that routing entry.

1) When does the system (I assume the kernel) mark a routing entry as REJECTed?

2) Does the route command use the same ioctl() function call? I have
seen a few error messages with ioctl() command options returned.

3) Could there be a difference between the two impelmentations
(usages) of the ioctl(), on Fedora Core 4 and 5 ?

This is the last portion of my application, and I would be more than
glad to get it solved.

Thank you,

Abid Ghufran.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux