Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

route: writing to routing socket: Invalid argument

509 views
Skip to first unread message

Georgi Hristov

unread,
Jun 30, 2003, 11:12:01 PM6/30/03
to
I am trying to see the routing table but the only thing I get is

[/home/hristov]$ route -n get
route: writing to routing socket: Invalid argument

-OR-

[/home/hristov]$ route
usage: route [-dnqtv] command [[modifiers] args]

I do understand that I am not using route properly. I am providing
the required arguments. I've read the manual pages [man route].
I know my routes work.
when I type
[/home/hristov]$ route -n get pcc
route to: 12.41.224.3
destination: 12.41.224.0
mask: 255.255.255.192
interface: rl0
flags: <UP,DONE,CLONING>
recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu
expire
0 0 0 0 0
0 1500 -503

but what I want to see is something like I get on my linux box:
[hristov@www hristov]$ /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
12.41.224.0 * 255.255.255.192 U 0 0
0 eth0
12.41.227.192 * 255.255.255.192 U 0 0
0 eth1
12.41.227.128 * 255.255.255.192 U 0 0
0 eth1
127.0.0.0 * 255.0.0.0 U 0 0
0 lo
default att.iocc.com 0.0.0.0 UG 0 0
0 eth0
default att.iocc.com 0.0.0.0 UG 1 0
0 eth0

how can I get the FreeBSD's route to show me such summary.


0 new messages