Re: [linux-vrf-core] One interface with multiple vrfs
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2006-09-20 13:00:18
|
Hello, This is not a case I had thought about when implementing, so help me understand the motivation: Why would you want an interface to be in multiple VRFs? How would you want incoming packets on said interface to be routed? Currently, there is a many-to-one relationship (multiple interfaces can be added to a VRF, but only one VRF per interface). This is so that IP packets coming in an interface only need to be looked up in one routing table. If there were multiple VRFs associated with an interface what routing table would incoming packets be routed according to? If you have a userland application that needs to transmit IP packets 'in' different VRFs then that application should either use the 'chvrf' utility to set the VRF associated with a process, or use the VRF socket option to set the VRF associated with a socket. On Wed, Sep 20, 2006 at 01:49:14PM +0200, mat...@ne... wr= ote: > First I tried to add multiple vrf to one interface. But it doesn't run.= =20 > Then I tried to add multiple vrf to a vlan, but I get the message: no suc= h=20 > device. >=20 > Is it possible to run one interface in multiple vrfs?=20 >=20 >=20 > Regards, >=20 > Matthias Flittner=20 > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > linux-vrf-core mailing list > lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-vrf-core --=20 James R. Leu jl...@mi... |