On Sun, May 15 2011 at 24:14, Oeschger Patrick wrote: > i was playing with virtual routing on openbsd4.9 recently > first results using vlans are impressive > now i am asking myself if virtual routing is possible > - without using dedicated physical interfaces for each routing domain > - without using dedicated vlans for each routing domain > > idea behind this: > i have a network appliance with 3 interface (int/ext/mgmt) > i want to configure 5 routing domains > i have limited number of physical interfaces > i do not want to use vlans > > so what i would need in this case is something like a virtual ethernet > interface > - which can be bound to a physical ethernet interface (similar to vlans) > - and the virtual virtual ethernet interface should be assignable to a routing > domain > > any ideas? > guess aliases of an interface are not assignable to a routing domain...(?) > maybe something in progress in the dev tree? On testing machines I use couple of loX + gifX to route traffic between rdomains. It works great :)
- define 1 loopback address for each rdomain, all addresses in rdomain 0 - define gif tunnel from one loopback to another and affect the gif interface to the right rdomain. Don't forget to define gif tunnels in both directions! Ex: gif1 in rdomain 1, lo1 -> lo2 gif2 in rdomain 2, lo2 -> lo1 .. Claer