Couple of quick IP Routing questions


 
Thread Tools Search this Thread
Special Forums IP Networking Couple of quick IP Routing questions
# 1  
Old 04-14-2010
Lightbulb Couple of quick IP Routing questions

Hi
1) Is the MIB II table that can be accessed through the function m2IpRouteTblEntryGet() the same as the IP Routing table that the IP layer uses to do its routing work?
2) Is there a set of API functions, other than m2IpRouteTblEntryGet(), that are available to access entries in the IP Routing table?
# 2  
Old 04-16-2010
not quite, but to answer the question correctly it would be better if you would explain what you're trying to do. That way, I or someone else may have already experienced this and may have a workable solution for you.
# 3  
Old 04-20-2010
Dear FLProfessional, After I did some research the last couple of days, I noticed that I might have asked the wrong question. MIB II does not keep a routing table, let alone one that is different from the IP Routing table. The table can be accessed through some MIB II APIs, like the one I mentioned in the original post, m2IpRouteTblEntryGet() which is specific to VxWorks operating system. Today I learned of the kernel function ipcom_sysctl() which can get me the whole Routing Table, again it is a VxWorks kernel function. I guess each kernel has its own set of functions to access the RT. ??????!!!!!

Being a high level socket C/C++ programmer, I was searching for functions that would allow me to ask questions like "What entry in the Routing Table should I use to get to host 1.2.3.4"? or something similar.!!!!!!!
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Couple of easy questions for experts on awk/sed

Hello Experts.. I have 3-4 C codes with Oracle SQL statements embedded. All the SQL statements starts with EXEC SQL keyword and ends with ;. I want to extract all the SQL statements out of these codes. I did awk '/^EXEC SQL/,/\;/' inputFile (I use this on all of the codes individually). That... (2 Replies)
Discussion started by: juzz4fun
2 Replies

2. UNIX for Dummies Questions & Answers

Couple of questions wth grep/sort

I have different things that I was trying to do but am kind of struggling with this since I'm a Linux noob. The backround is that I have two files with student names in the same directory, and each file lists the student name, their major and their grade level. What is the most efficient way to... (6 Replies)
Discussion started by: tastybeer
6 Replies

3. UNIX for Dummies Questions & Answers

Couple of newbie Unix questions

I entered a command at the prompt and it's interactive (not background). It gathers some stats and writes them to a file. I want to see this job running and what it's doing - I/O especially and maybe CPU and stuff. What can do to see this (say using a second session?) I know it's a long job but... (3 Replies)
Discussion started by: ido1957
3 Replies

4. Solaris

Couple logadm questions

My logadm.conf is below. Is there a way to match a log file that appends the time/date stamp after the log file? Also, a 0 is being appended onto the files I'm compressing and having rotated. Is there a way to fix that? /var/apache/tomcat55/logs/catalina.out -C 30 -P 'Fri Jun 18 16:48:55... (5 Replies)
Discussion started by: LittleLebowski
5 Replies

5. HP-UX

Couple of questions.

Right now I am a Microfocus COBOL programmer, working on a HP-UX system. I want to now get Certified as a HP Certified Systems Administrator. I ordered a book from amazon and will start with it. I also will be working at my job with someone who applies the patches and things as we do NOT have a... (3 Replies)
Discussion started by: nixie21
3 Replies

6. Debian

A couple of grub questions.

1) After I install a new kernel in Debian Sarge, it updates my menu.lst file for grub, but incorrectly. It assumes it should boot from partition hd0,0, but this is incorrect. How do I change this faulty assumption? 2) If grub fails to find a kernel, grub allows me to enter a path to... (1 Reply)
Discussion started by: akbar
1 Replies

7. Linux

Attn! A couple quick questions about Linux [Help]

Hi guys!! I was wondering if you can help me with a couple quick questions in order for me to understand it better... Any help would be appreciated and i would like to say thanks!! In advanced... Ok here goes... (I think these are pretty basic, but i just want to clarify) 1. What would be the... (2 Replies)
Discussion started by: kyoist
2 Replies
Login or Register to Ask a Question