Lines Matching full:ip
46 ip link add link ${IFACE} name ${VLAN_NAME_PREFIX}.100 type vlan id 100
47 ip link add link ${IFACE} name ${VLAN_NAME_PREFIX}.200 type vlan id 200
49 ip link set ${VLAN_NAME_PREFIX}.100 up
50 ip link set ${VLAN_NAME_PREFIX}.200 up
52 ip -6 addr add ${PREFIX_1_IPV6}::2 dev ${VLAN_NAME_PREFIX}.100
53 ip -6 route add ${PREFIX_1_IPV6}::/${PREFIXLEN_1_IPV6} \
56 ip -6 addr add ${PREFIX_2_IPV6}::2 dev ${VLAN_NAME_PREFIX}.200
57 ip -6 route add ${PREFIX_2_IPV6}::/${PREFIXLEN_2_IPV6} \
60 ip addr add ${PREFIX_1_IPV4}.2 dev ${VLAN_NAME_PREFIX}.100
61 ip route add ${PREFIX_1_IPV4}/${PREFIXLEN_1_IPV4} dev ${VLAN_NAME_PREFIX}.100
63 ip addr add ${PREFIX_2_IPV4}.2 dev ${VLAN_NAME_PREFIX}.200
64 ip route add ${PREFIX_2_IPV4}/${PREFIXLEN_2_IPV4} dev ${VLAN_NAME_PREFIX}.200
68 # ip link del link eth0 dev vlan.100
69 # ip link del link eth0 dev vlan.200
73 # ip neigh flush dev vlan.100
74 # ip neigh flush dev vlan.200