4 # IP-less routing / proxy arp interfaces examples:
5 # This vlan is used for internet connection of the VMs
6 # The gateway is a router that connects all nodes VLANs
7 # snf_public should be an existing routing table (in /etc/iproute/rt_tables)
8 # The values of ip-routes and ip-gateway must be the same
9 # decrared in ganeti network related to this routing table.
10 # gnt-network add --network=62.217.123.128/27 --gateway=62.217.123.129
11 # --network6=2001:648:2ffc:1201::/64 --gateway6=2001:648:2ffc:1201::1
12 # --network-type=public --tags=nfdhcpd,ip-less-routed snf-net-1
13 # gnt-network connect snf-net-1 all routed snf_public
16 iface eth0.201 inet manual
17 ip-routing-table snf_public
18 ip-routes 62.217.123.128/27
19 ip-gateway 62.217.123.129
24 iface eth0.201 inet6 manual
25 ip-routing-table snf_public
26 ip-routes 2001:648:2ffc:1201::/64
27 ip-gateway 2001:648:2ffc:1201::1
31 # A bridge pool to connect tap devices of private networks
32 # A private network uses explicitly one vlan
33 # prv1 8000.e4115bb2925c no eth0.2991
34 # prv2 8000.e4115bb2925c no eth0.2992
35 # prv3 8000.e4115bb2925c no eth0.2993
36 # prv4 8000.e4115bb2925c no eth0.2994
37 # prv5 8000.e4115bb2925c no eth0.2995
40 up prv-net-helper up eth0 1 5 2990 prv
41 down prv-net-helper down eth0 1 5 2990 prv
43 # A bridge to connect tap devices of private networks
44 # All private networks use this bridge
45 # Isolation is provided with ebtables and MAC filtering
46 # prv0 8000.e4115bb2925c no eth0.2990
48 iface prv0 inet manual
49 bridge_ports eth0.2990
52 post-up ip link set prv0 address e4:11:5b:b2:92:5c
58 # All taps bridged on this bridged
59 # eth0 is the node's primary interface
60 # 62.217.123.132/27 is the node's primary address
61 # 62.217.123.129 is the node's primary Gateway
62 # aa:00:00:32:50:51 is the node's primary MAC address
68 up for ip in 62.217.123.132/27; do ip addr add $ip dev br0; done
69 up ip route add default via 62.217.123.129 dev br0
70 post-up ip link set br0 address aa:00:00:32:50:51