Lines Matching refs:table
10 through the socket then use the routing table associated with the VRF
24 A VRF device is created with an associated route table. Network interfaces
28 | vrf-blue | ===> route table 10
58 1. VRF device is created with an association to a FIB table.
59 e.g, ip link add vrf-blue type vrf table 10
62 2. Rules are added that send lookups to the associated FIB table when the
64 ip ru add oif vrf-blue table 10
65 ip ru add iif vrf-blue table 10
67 Set the default route for the table (and hence default route for the VRF).
68 e.g, ip route add table 10 prohibit default
74 the table associated with VRF device. Any additional routes depending on
77 4. Additional VRF routes are added to associated table.
78 e.g., ip route add table 10 ...
105 To instantiate a VRF device and associate it with a table:
106 $ ip link add dev NAME type vrf table ID
109 $ ip ru add oif NAME table 10
110 $ ip ru add iif NAME table 10
111 $ ip -6 ru add oif NAME table 10
112 $ ip -6 ru add iif NAME table 10
114 Without the rules route lookups are not directed to the table.
117 $ ip link add dev vrf-blue type vrf table 10
118 $ ip ru add pref 200 oif vrf-blue table 10
119 $ ip ru add pref 200 iif vrf-blue table 10
120 $ ip -6 ru add pref 200 oif vrf-blue table 10
121 $ ip -6 ru add pref 200 iif vrf-blue table 10
128 NOTE: The -d option is needed to show the table id
134 vrf table 1 addrgenmode eui64
137 vrf table 10 addrgenmode eui64
140 vrf table 66 addrgenmode eui64
143 vrf table 81 addrgenmode eui64
162 table associated with the VRF device.
242 To show routes for a VRF use the ip command to display the table associated
244 $ ip [-6] route show table ID
247 $ ip route show table vrf-red
258 $ ip -6 route show table vrf-red
283 10.2.1.40 dev eth1 table vrf-red src 10.2.1.2
287 2002:1::32 from :: dev eth1 table vrf-red proto kernel src 2002:1::2 metric 256 pref medium
296 Connected routes are moved back to the default table and local entries are
297 moved to the local table.
318 ip link add vrf-${VRF} type vrf table ${TBID}
320 # add rules that direct lookups to vrf table
321 ip ru add pref 200 oif vrf-${VRF} table ${TBID}
322 ip ru add pref 200 iif vrf-${VRF} table ${TBID}
323 ip -6 ru add pref 200 oif vrf-${VRF} table ${TBID}
324 ip -6 ru add pref 200 iif vrf-${VRF} table ${TBID}
327 ip route add table ${TBID} prohibit default