Home
last modified time | relevance | path

Searched refs:ifconfig (Results 1 – 25 of 250) sorted by relevance

12345678910

/freebsd/contrib/netbsd-tests/net/if/
H A Dt_ifconfig.sh55 atf_check -s exit:0 rump.ifconfig shmif0 create
56 atf_check -s exit:0 rump.ifconfig shmif0 destroy
59 atf_check -s exit:0 rump.ifconfig shmif0 create
60 atf_check -s exit:0 rump.ifconfig shmif0 linkstr shmbus
61 atf_check -s exit:0 rump.ifconfig shmif0 192.168.0.1/24
62 atf_check -s exit:0 rump.ifconfig shmif0 up
63 atf_check -s exit:0 rump.ifconfig shmif0 destroy
66 atf_check -s exit:0 rump.ifconfig shmif0 create
67 atf_check -s exit:0 rump.ifconfig shmif0 linkstr shmbus
68 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00::1
[all …]
/freebsd/tests/sys/net/
H A Dif_bridge_test.sh50 jexec alcatraz ifconfig ${epair_alcatraz}b 192.0.2.1/24 up
51 jexec singsing ifconfig ${epair_singsing}b 192.0.2.2/24 up
55 ifconfig ${bridge} up
56 ifconfig ${epair_alcatraz}a up
57 ifconfig ${epair_singsing}a up
58 ifconfig ${bridge} addm ${epair_alcatraz}a
59 ifconfig ${bridge} addm ${epair_singsing}a
90 jexec a ifconfig ${epair_one}a up
91 jexec a ifconfig ${epair_two}a up
92 jexec a ifconfig ${bridge_a} addm ${epair_one}a
[all …]
H A Dif_lagg_test.sh52 ifconfig $TAP0 up
53 ifconfig $TAP1 up
54 atf_check ifconfig $LAGG up laggport $TAP0 laggport $TAP1 \
56 atf_check -o match:"inet ${ADDR}" ifconfig $LAGG
57 atf_check -o match:"laggport: ${TAP0}" ifconfig $LAGG
58 atf_check -o match:"laggport: ${TAP1}" ifconfig $LAGG
61 MAC=`ifconfig $LAGG | awk '/ether/ {print $2}'`
62 atf_check -o match:"ether ${MAC}" ifconfig $TAP0
63 atf_check -o match:"ether ${MAC}" ifconfig $TAP1
68 atf_check -o not-match:"inet6 fe80:" ifconfig
[all...]
H A Dif_vlan.sh20 vlan0=$(jexec alcatraz ifconfig vlan create vlandev ${epair_vlan}a \
22 jexec alcatraz ifconfig ${epair_vlan}a up
23 jexec alcatraz ifconfig ${vlan0} 10.0.0.1/24 up
25 vlan1=$(jexec singsing ifconfig vlan create)
29 jexec singsing ifconfig ${vlan1} vlandev ${epair_vlan}b vlan 42
31 jexec singsing ifconfig ${epair_vlan}b up
32 jexec singsing ifconfig ${vlan1} 10.0.0.2/24 up
38 jexec singsing ifconfig ${vlan1} vlandev ${epair_vlan}b vlan 43
44 jexec singsing ifconfig ${vlan1} vlan 42 vlandev ${epair_vlan}b
71 vlan5a=$(jexec jqinq0 ifconfig vlan create \
[all …]
H A Dif_stf.sh49 jexec relay ifconfig lo0 inet6 2001:db8::1/64 up
50 jexec relay ifconfig ${epair}a 192.0.2.1/24 up
52 gif=$(jexec relay ifconfig gif create)
53 jexec relay ifconfig $gif inet6 2002:c000:0201::1/64 up
54 jexec relay ifconfig $gif tunnel 192.0.2.1 192.0.2.2
58 jexec client ifconfig lo0 up
59 jexec client ifconfig ${epair}b 192.0.2.2/24 up
60 stf=$(jexec client ifconfig stf create)
61 jexec client ifconfig $stf inet6 2002:c000:0202::1/32 up
101 jexec br ifconfig ${epair}a 192.0.2.1/24 up
[all …]
/freebsd/contrib/netbsd-tests/net/net/
H A Dt_ipv6_lifetime.sh54 atf_check -s exit:0 rump.ifconfig shmif0 up
57 atf_check -s exit:0 rump.ifconfig shmif0 inet6 $ip
58 $DEBUG && rump.ifconfig -L shmif0
59 atf_check -s exit:0 -o not-match:'pltime' rump.ifconfig -L shmif0
60 atf_check -s exit:0 -o not-match:'vltime' rump.ifconfig -L shmif0
61 atf_check -s exit:0 rump.ifconfig shmif0 inet6 $ip delete
64 atf_check -s exit:0 rump.ifconfig shmif0 inet6 $ip pltime $time
65 $DEBUG && rump.ifconfig -L shmif0
66 atf_check -s exit:0 -o match:'pltime' rump.ifconfig -L shmif0
67 atf_check -s exit:0 -o match:'vltime infty' rump.ifconfig -L shmif0
[all …]
H A Dt_ipv6address.sh57 atf_check -s exit:0 rump.ifconfig shmif0 create
58 atf_check -s exit:0 rump.ifconfig shmif1 create
62 atf_check -s exit:0 rump.ifconfig shmif0 create
63 atf_check -s exit:0 rump.ifconfig shmif1 create
67 atf_check -s exit:0 rump.ifconfig shmif0 create
68 atf_check -s exit:0 rump.ifconfig shmif1 create
76 $DEBUG && rump.ifconfig
81 $DEBUG && rump.ifconfig
86 $DEBUG && rump.ifconfig
93 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ${BUS1}
[all …]
/freebsd/contrib/netbsd-tests/net/if_tap/
H A Dt_tap.sh57 atf_check -s exit:0 rump.ifconfig tap0 create
58 atf_check -s exit:0 rump.ifconfig tap0 destroy
61 atf_check -s exit:0 rump.ifconfig tap0 create
62 atf_check -s exit:0 rump.ifconfig tap0 $IP4_TAP
63 atf_check -s exit:0 rump.ifconfig tap0 up
64 atf_check -s exit:0 rump.ifconfig tap0 destroy
67 atf_check -s exit:0 rump.ifconfig tap0 create
68 atf_check -s exit:0 rump.ifconfig tap0 inet6 $IP6_TAP
69 atf_check -s exit:0 rump.ifconfig tap0 up
70 atf_check -s exit:0 rump.ifconfig tap0 destroy
[all …]
/freebsd/tests/sys/netinet/
H A Dcarp.sh34 jexec ${jail} ifconfig ${itf} | grep -E '(carp|vrrp)' | grep MASTER
84 jexec carp_basic_v4_one ifconfig ${bridge} 192.0.2.4/29 up
85 jexec carp_basic_v4_one ifconfig ${bridge} addm ${epair_one}a \
87 jexec carp_basic_v4_one ifconfig ${epair_one}a up
88 jexec carp_basic_v4_one ifconfig ${epair_two}a up
90 jexec carp_basic_v4_two ifconfig ${epair_one}b 192.0.2.202/29 up
91 jexec carp_basic_v4_two ifconfig ${epair_one}b add vhid 1 192.0.2.1/29
93 jexec carp_basic_v4_three ifconfig ${epair_two}b 192.0.2.203/29 up
94 jexec carp_basic_v4_three ifconfig ${epair_two}b add vhid 1 \
131 jexec ${j}_one ifconfig ${bridge} 192.0.2.4/29 up
[all …]
/freebsd/tests/sys/netpfil/pf/
H A Dpfsync.sh56 jexec one ifconfig ${epair_sync}a 192.0.2.1/24 up
57 jexec one ifconfig ${epair_one}a 198.51.100.1/24 up
58 jexec one ifconfig pfsync0 \
63 jexec two ifconfig ${epair_two}a 198.51.100.2/24 up
64 jexec two ifconfig ${epair_sync}b 192.0.2.2/24 up
65 jexec two ifconfig pfsync0 \
83 ifconfig ${epair_one}b 198.51.100.254/24 up
142 jexec alcatraz ifconfig ${epair_sync}a 192.0.2.1/24 up
143 jexec alcatraz ifconfig ${epair_out}a 198.51.100.1/24 up
144 jexec alcatraz ifconfig ${epair_in}a 203.0.113.1/24 up
[all …]
H A Droute_to.sh43 ifconfig ${epair_send}a 192.0.2.1/24 up
45 ifconfig ${epair_route}a 203.0.113.1/24 up
48 jexec alcatraz ifconfig ${epair_send}b 192.0.2.2/24 up
49 jexec alcatraz ifconfig ${epair_route}b 203.0.113.2/24 up
79 ifconfig ${epair_send}a inet6 2001:db8:42::1/64 up no_dad -ifdisabled
81 ifconfig ${epair_route}a inet6 2001:db8:43::1/64 up no_dad -ifdisabled
84 jexec alcatraz ifconfig ${epair_send}b inet6 2001:db8:42::2/64 up no_dad
85 jexec alcatraz ifconfig ${epair_route}b inet6 2001:db8:43::2/64 up no_dad
124 jexec client ifconfig ${epair_cl_one}a 203.0.113.1/25
125 jexec wan_one ifconfig ${epair_cl_one}b 203.0.113.2/25
[all …]
/freebsd/tests/sys/mac/ipacl/
H A Dipacl_test.sh57 jexec A ifconfig ${epairA}b 192.0.2.2/24 up
59 jexec A ifconfig ${epairA}b 203.0.113.254/24 up
67 jexec A ifconfig ${epairA}b 192.0.2.2/24 up
69 jexec A ifconfig ${epairA}b 203.0.113.254/24 up
79 jexec A ifconfig ${epairA}b 192.0.2.42/24 up
81 jexec A ifconfig ${epairA}b 192.0.2.43/24 up
83 jexec B ifconfig ${epairB}b 198.51.100.12/24 up
85 jexec B ifconfig ${epairC}b 198.51.100.12/24 up
89 jexec B ifconfig ${epairB}b 203.0.113.19/24 up
91 jexec B ifconfig ${epairB}b 203.0.113.241/24 up
[all …]
/freebsd/contrib/netbsd-tests/net/if_pppoe/
H A Dt_pppoe.sh60 atf_check -s exit:0 rump.ifconfig shmif0 create
61 atf_check -s exit:0 rump.ifconfig shmif0 linkstr $BUS
62 atf_check -s exit:0 rump.ifconfig shmif0 up
64 atf_check -s exit:0 rump.ifconfig pppoe0 create
65 $inet && atf_check -s exit:0 rump.ifconfig pppoe0 \
67 atf_check -s exit:0 rump.ifconfig pppoe0 link0
69 $DEBUG && rump.ifconfig
76 atf_check -s exit:0 rump.ifconfig shmif0 create
77 atf_check -s exit:0 rump.ifconfig shmif0 linkstr $BUS
78 atf_check -s exit:0 rump.ifconfig shmif0 up
[all …]
/freebsd/contrib/netbsd-tests/net/mpls/
H A Dt_ldp_regen.sh60 rump.ifconfig shmif1 10.0.5.1/24 alias
62 rump.ifconfig -w 60
87 atf_check -s exit:0 rump.ifconfig shmif0 create
88 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1
89 atf_check -s exit:0 rump.ifconfig shmif0 10.0.1.1/24
90 atf_check -s exit:0 rump.ifconfig mpls0 create up
98 atf_check -s exit:0 rump.ifconfig shmif0 create
99 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1
100 atf_check -s exit:0 rump.ifconfig shmif0 10.0.1.2/24
101 atf_check -s exit:0 rump.ifconfig shmif1 create
[all …]
H A Dt_mpls_fw.sh71 atf_check -s exit:0 rump.ifconfig shmif0 create
72 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1
73 atf_check -s exit:0 rump.ifconfig shmif0 10.0.1.1/24
74 atf_check -s exit:0 rump.ifconfig mpls0 create up
82 atf_check -s exit:0 rump.ifconfig shmif0 create
83 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1
84 atf_check -s exit:0 rump.ifconfig shmif0 10.0.1.2/24
85 atf_check -s exit:0 rump.ifconfig shmif1 create
86 atf_check -s exit:0 rump.ifconfig shmif1 linkstr ./shdom2
87 atf_check -s exit:0 rump.ifconfig shmif1 10.0.2.1/24
[all …]
H A Dt_rfc4182.sh73 atf_check -s exit:0 rump.ifconfig shmif0 create
74 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1
75 atf_check -s exit:0 rump.ifconfig shmif0 10.0.1.1/24
76 atf_check -s exit:0 rump.ifconfig mpls0 create up
84 atf_check -s exit:0 rump.ifconfig shmif0 create
85 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1
86 atf_check -s exit:0 rump.ifconfig shmif0 10.0.1.2/24
87 atf_check -s exit:0 rump.ifconfig shmif1 create
88 atf_check -s exit:0 rump.ifconfig shmif1 linkstr ./shdom2
89 atf_check -s exit:0 rump.ifconfig shmif1 10.0.2.1/24
[all …]
H A Dt_mpls_fw64.sh68 atf_check -s exit:0 rump.ifconfig shmif0 create
69 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1
70 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fd00:1234::1/64 alias
71 atf_check -s exit:0 rump.ifconfig mpls0 create up
80 atf_check -s exit:0 rump.ifconfig shmif0 create
81 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1
82 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fd00:1234::2/64 alias
83 atf_check -s exit:0 rump.ifconfig shmif1 create
84 atf_check -s exit:0 rump.ifconfig shmif1 linkstr ./shdom2
85 atf_check -s exit:0 rump.ifconfig shmif1 inet6 fd00:1234:0:1::1/64 alias
[all …]
H A Dt_mpls_fw6.sh72 atf_check -s exit:0 rump.ifconfig shmif0 create
73 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1
74 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fd00:1234::1/64 alias
75 atf_check -s exit:0 rump.ifconfig mpls0 create up
84 atf_check -s exit:0 rump.ifconfig shmif0 create
85 atf_check -s exit:0 rump.ifconfig shmif0 linkstr ./shdom1
86 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fd00:1234::2/64 alias
87 atf_check -s exit:0 rump.ifconfig shmif1 create
88 atf_check -s exit:0 rump.ifconfig shmif1 linkstr ./shdom2
89 atf_check -s exit:0 rump.ifconfig shmif1 inet6 fd00:1234:0:1::1/64 alias
[all …]
/freebsd/contrib/netbsd-tests/net/if_gif/
H A Dt_gif.sh80 atf_check -s exit:0 rump.ifconfig shmif0 inet6 ${lan}
82 atf_check -s exit:0 rump.ifconfig shmif0 inet ${lan} netmask 0xffffff00
84 atf_check -s exit:0 rump.ifconfig shmif0 up
85 rump.ifconfig shmif0
88 atf_check -s exit:0 rump.ifconfig shmif1 inet6 ${wan}
90 atf_check -s exit:0 rump.ifconfig shmif1 inet ${wan} netmask 0xff000000
92 atf_check -s exit:0 rump.ifconfig shmif1 up
93 rump.ifconfig shmif1
105 atf_check -s exit:0 -o match:shmif0 rump.ifconfig
112 atf_check -s exit:0 -o match:shmif1 rump.ifconfig
[all …]
/freebsd/tests/sys/netinet6/
H A Dforward6.sh63 ifconfig ${epair}a up
64 ifconfig ${epair}a inet6 ${ip6a}/${plen}
68 jexec ${jname} ifconfig ${epair}b up
69 jexec ${jname} ifconfig ${epair}b inet6 ${ip6b}/${plen}
71 jail_mac=`jexec ${jname} ifconfig ${epair}b ether | awk '$1~/ether/{print$2}'`
73 our_mac=`ifconfig ${epair}a ether | awk '$1~/ether/{print$2}'`
76 while [ `jexec ${jname} ifconfig ${epair}b inet6 | grep -c tentative` != "0" ]; do
79 while [ `ifconfig ${epair}a inet6 | grep -c tentative` != "0" ]; do
134 ifconfig ${epair}a up
135 ifconfig ${epair}a inet6 ${ip6a}/${plen}
[all …]
/freebsd/contrib/netbsd-tests/net/if_bridge/
H A Dt_bridge.sh89 atf_check -s exit:0 rump.ifconfig shmif0 inet6 ${addr}
91 atf_check -s exit:0 rump.ifconfig shmif0 inet ${addr} netmask 0xffffff00
94 atf_check -s exit:0 rump.ifconfig shmif0 up
95 $DEBUG && rump.ifconfig shmif0
106 atf_check -s exit:0 -o match:shmif0 rump.ifconfig
120 atf_check -s exit:0 -o match:shmif0 rump.ifconfig
121 atf_check -s exit:0 -o match:shmif1 rump.ifconfig
130 atf_check -s exit:0 -o match:shmif0 rump.ifconfig
131 atf_check -s exit:0 -o match:shmif1 rump.ifconfig
140 atf_check -s exit:0 rump.ifconfig shmif0 up
[all …]
/freebsd/tests/sys/net/if_ovpn/
H A Dif_ovpn.sh45 jexec a ifconfig ${l}a 192.0.2.1/24 up
47 jexec b ifconfig ${l}b 192.0.2.2/24 up
124 jexec a ifconfig ${l}a 192.0.2.1/24 up
126 jexec b ifconfig ${l}b 192.0.2.2/24 up
196 jexec a ifconfig ${l}a 192.0.2.1/24 up
198 jexec b ifconfig ${l}b 192.0.2.2/24 up
269 jexec a ifconfig ${l}a inet6 2001:db8::1/64 up no_dad
271 jexec b ifconfig ${l}b inet6 2001:db8::2/64 up no_dad
359 jexec a ifconfig ${l}a inet6 2001:db8::1/64 up no_dad
361 jexec b ifconfig ${l}b inet6 2001:db8::2/64 up no_dad
[all …]
/freebsd/contrib/netbsd-tests/net/if_tun/
H A Dt_tun.sh54 atf_check -s exit:0 rump.ifconfig tun0 create
55 atf_check -s exit:0 rump.ifconfig tun0 up
56 atf_check -s exit:0 rump.ifconfig tun0 down
57 atf_check -s exit:0 rump.ifconfig tun0 destroy
97 atf_check -s exit:0 rump.ifconfig shmif0 create
98 atf_check -s exit:0 rump.ifconfig shmif0 linkstr $BUS
99 atf_check -s exit:0 rump.ifconfig shmif0 ${IP_LOCAL}/24 up
100 atf_check -s exit:0 rump.ifconfig -w 10
104 atf_check -s exit:0 rump.ifconfig shmif0 create
105 atf_check -s exit:0 rump.ifconfig shmif0 linkstr $BUS
[all …]
/freebsd/tools/tools/net80211/scripts/mesh/
H A Dtopology.line13 ifconfig $WLAN mac:allow
14 MAC=`ifconfig $WLAN | grep ether | awk '{ print $2 }'`
17 ifconfig $WLAN inet $NODE1_IP
18 ifconfig $WLAN mac:add $NODE2_MAC
21 ifconfig $WLAN inet $NODE2_IP
22 ifconfig $WLAN mac:add $NODE1_MAC mac:add $NODE3_MAC
25 ifconfig $WLAN inet $NODE3_IP
26 ifconfig $WLAN mac:add $NODE2_MAC mac:add $NODE4_MAC
29 ifconfig $WLAN inet $NODE4_IP
30 ifconfig $WLAN mac:add $NODE3_MAC mac:add $NODE5_MAC
[all …]
H A Dtopology.tree22 ifconfig $WLAN mac:allow
23 MAC=`ifconfig $WLAN | grep ether | awk '{ print $2 }'`
26 ifconfig $WLAN inet $NODE1_IP
27 ifconfig $WLAN mac:add $NODE2_MAC mac:add $NODE3_MAC
30 ifconfig $WLAN inet $NODE2_IP
31 ifconfig $WLAN mac:add $NODE1_MAC mac:add $NODE4_MAC
34 ifconfig $WLAN inet $NODE3_IP
35 ifconfig $WLAN mac:add $NODE1_MAC mac:add $NODE5_MAC
38 ifconfig $WLAN inet $NODE4_IP
39 ifconfig $WLAN mac:add $NODE2_MAC
[all …]

12345678910