can't find routing entry for network routes

Nikos Vassiliadis nvass9573 at gmx.com
Sun Oct 4 10:00:31 UTC 2009


Hi,

It seems that some[1] routing requests fail when
done in a vnet environment:
r1# ifconfig epair0b 10.90/24
r1# traceroute 10.6
traceroute: findsaddr: write: No such process
r1# route -n get 10.6
route: writing to routing socket: No such process

[1] every host routing entry, is manipulated
	correctly. Every non-host routing entry,
	fails. Example:
	#correct behavior
	r1# route add 1.1.1.1 10.0.0.9
	add host 1.1.1.1: gateway 10.0.0.9
	r1# route get 1.1.1.1
	   route to: 1.1.1.1
	destination: 1.1.1.1
	    gateway: 10.0.0.9
	  interface: epair0b
	      flags: <UP,GATEWAY,HOST,DONE,STATIC>
	 recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire
	       0         0         0         0      1500         1         0

	#wrong behavior
	r1# route add 1.1.1.0/24 10.0.0.9
	add net 1.1.1.0: gateway 10.0.0.9
	r1# route get 1.1.1.2
	route: writing to routing socket: No such process
	r1# route get 1.1.1.0/24
	route: writing to routing socket: No such process

Any help?

Thanks, Nikos


More information about the freebsd-virtualization mailing list