Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Oct 2009 13:00:02 +0300
From:      Nikos Vassiliadis <nvass9573@gmx.com>
To:        virtualization@freebsd.org
Subject:   can't find routing entry for network routes
Message-ID:  <4AC87222.4030704@gmx.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AC87222.4030704>