rtems_bsdnet_show_inet_routes
Leon Pollak
leonp at plris.com
Tue Mar 18 10:32:05 UTC 2008
Hello, all.
I have the board with two interfaces. When I run rtems_bsdnet_show_inet_routes
with both interfaces configured with static IP addresses I receive the
following:
--
Destination Gateway/Mask/Hw Flags Refs Use Expire Interface
127.0.0.1 127.0.0.1 UH 0 0 0 lo0
192.168.1.0 255.255.255.0 U 0 0 2 eth1
192.168.50.0 255.255.255.0 U 0 0 1 eth0
--
But, when I define the first IF "eth0" to use bootp protocol, the result looks
as following:
bootpc_init: using network interface 'eth0'
Bootpc testing starting
bootpc hw address is 0:80:7f:22:61:77
My ip address is 192 .168 .50 .199
Domain Name Server is 192 .168 .50 .1
Ignoring BOOTP/DHCP option code 40
Domain name is plris.com
Subnet mask is 255 .255 .255 .0
Server ip address is 0 .0 .0 .0
Gateway ip address is 192 .168 .50 .1
Log server ip address is 0 .0 .0 .0
Destination Gateway/Mask/Hw Flags Refs Use Expire Interface
default 192.168.50.1 UGS 0 0 0 eth0
127.0.0.1 127.0.0.1 UH 0 0 0 lo0
192.168.1.0 255.255.255.0 U 0 0 2 eth1
192.168.50.0 255.255.255.0 U 0 0 4 eth0
192.168.50.1 UHL 1 0 4 eth0
-----------------
The questions are:
1. What do the last 2 lines mean?
2. What is the "Expire" column meaning?
3. How are the "Flags" column letters interpreted?
Thanks a lot ahead.
--
Leon
More information about the users
mailing list