Lines Matching full:interface
80 # Bring down alias interface. Its routes will disappear too.
81 ifconfig $interface:0- 0.0.0.0
83 ifconfig $interface 0.0.0.0 up
85 # We need to give the kernel some time to get the interface up.
109 ifconfig $interface:0- 0.0.0.0
112 # IP address changed. Bringing down the interface will delete all routes,
114 ifconfig $interface 0.0.0.0 down
120 ifconfig $interface $new_ip_address $new_subnet_arg \
124 route add -host $router dev $interface
131 ifconfig $interface:0- 0.0.0.0
132 ifconfig $interface:0 $alias_ip_address $alias_subnet_arg
133 route add -host $alias_ip_address $interface:0
142 # Turn off alias interface.
143 ifconfig $interface:0- 0.0.0.0
146 # Shut down interface, which will delete routes and clear arp cache.
147 ifconfig $interface 0.0.0.0 down
150 ifconfig $interface:0 $alias_ip_address $alias_subnet_arg
151 route add -host $alias_ip_address $interface:0
154 # remove v4 dns configuration for this interface
163 ifconfig $interface:0- 0.0.0.0
165 ifconfig $interface $new_ip_address $new_subnet_arg \
171 ifconfig $interface:0 $alias_ip_address $alias_subnet_arg
172 route add -host $alias_ip_address dev $interface:0
176 route add -host $router dev $interface
183 ifconfig $interface 0.0.0.0 down
192 # Ensure interface is up.
193 ifconfig ${interface} up
196 ip -f inet6 addr flush dev ${interface} scope global
212 ifconfig ${interface} add ${new_ip6_address}/${new_ip6_prefixlen}
221 ifconfig ${interface} 0.0.0.0
225 dev ${interface} encaplimit none
239 ifconfig ${interface} add ${new_ip6_address}/${new_ip6_prefixlen}
267 ifconfig ${interface} del ${old_ip6_address}/${old_ip6_prefixlen}
269 # remove v6 dns configuration for this interface