Home
last modified time | relevance | path

Searched full:gateway (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/freebsd/sbin/route/tests/
H A Dbasic.sh48 gateway=$(check_route "alcatraz" "192.0.2.3")
50 if [ "${gateway}" != "192.0.2.2" ]; then
56 gateway=$(check_route "alcatraz" "192.0.2.3")
58 if [ "${gateway}" != "192.0.2.4" ]; then
64 gateway=$(check_route "alcatraz" "192.0.2.3")
66 if [ "${gateway}" != "" ]; then
93 gateway=$(check_route "alcatraz" "2001:db8:cc4b::3")
95 if [ "${gateway}" != "2001:db8:cc4b::1" ]; then
101 gateway=$(check_route "alcatraz" "2001:db8:cc4b::3")
102 if [ "${gateway}" != "2001:db8:cc4b::4" ]; then
[all …]
H A Dutils.subr41 # Gateway is then extracted from the JSON item as described above
42 gateway=$(echo $result | jq -r ${query}.gateway)
44 echo ${gateway}
/freebsd/sbin/route/
H A Droute.8112 Change aspects of a route (such as its gateway).
144 will ``flush'' the routing tables of all gateway entries.
173 .Ar destination gateway
186 .Op Ar gateway Op Ar netmask
193 .Ar gateway
256 no intermediary system to act as a gateway, the
259 the gateway given is the address of this host on the common network,
378 command where the destination and gateway are not sufficient to specify
389 .Ar gateway
475 to the default gateway at 192.168.1.1:
[all …]
/freebsd/contrib/netbsd-tests/net/route/
H A Dt_flags.sh118 # Up, Gateway, Static
131 # Up, Gateway, Host, Static
138 # Up, Gateway, Static
152 # Gateway must be lo0
157 # Up, Gateway, Blackhole, Static
179 # Up, Gateway, Reject, Static
189 # Gateway is lo0 (RTF_GATEWAY)
198 # Up, Gateway, Reject, Static
208 # Gateway is lo0 (RTF_HOST)
233 # Setup a gateway 10.0.0.254. 10.0.2.1 is behind it.
[all …]
H A Dt_change.sh68 atf_set "descr" "Change the gateway of a route"
125 gateway: 10.0.0.1
128 flags: <UP,GATEWAY,DONE,STATIC>
144 gateway: 10.0.0.1
147 flags: <UP,GATEWAY,DONE,STATIC>
192 gateway: 10.0.0.1
195 flags: <UP,GATEWAY,DONE,STATIC>
211 gateway: 10.0.0.1
214 flags: <UP,GATEWAY,DONE,STATIC>
259 gateway: 10.0.0.1
[all …]
H A Dt_flags6.sh101 # Up, Gateway, Static
115 # Up, Gateway, Host, Static
123 # Up, Gateway, Static
138 # Gateway must be lo0
143 # Up, Gateway, Blackhole, Static
167 # Up, Gateway, Reject, Static
177 # Gateway is lo0 (RTF_GATEWAY)
187 # Up, Gateway, Reject, Static
197 # Gateway is lo0 (RTF_HOST)
229 # Up, Gateway, Static, proxy
[all …]
H A Dt_route.sh57 atf_set "descr" "tests of a gateway not on the local subnet"
72 # The gateway knows the client
73 atf_check -s exit:0 -o match:'add net 10.0.0.1: gateway shmif0' \
86 # Don't know a route to the gateway yet
90 # Teach a route to the gateway
91 atf_check -s exit:0 -o match:'add net 192.168.0.1: gateway shmif0' \
93 atf_check -s exit:0 -o match:'add net default: gateway 192.168.0.1' \
98 # Be reachable to the gateway
226 # Make sure an ARP cache to the gateway doesn't exist
264 gateway: 10.0.1.1
[all …]
/freebsd/sys/net/
H A Droute.c181 * @gateway: gateway to go via
190 rib_add_redirect(u_int fibnum, struct sockaddr *dst, struct sockaddr *gateway, in rib_add_redirect() argument
208 /* Get the best ifa for the given interface and gateway. */ in rib_add_redirect()
209 if ((ifa = ifaof_ifpforaddr(gateway, ifp)) == NULL) in rib_add_redirect()
216 nhop_set_gw(nh, gateway, flags & RTF_GATEWAY); in rib_add_redirect()
239 .rti_info[RTAX_GATEWAY] = gateway, in rib_add_redirect()
270 const struct sockaddr *gateway, u_int fibnum) in ifa_ifwithroute() argument
287 ifa = ifa_ifwithaddr(gateway); in ifa_ifwithroute()
291 * or host, the gateway may still be on the in ifa_ifwithroute()
294 ifa = ifa_ifwithdstaddr(gateway, fibnum); in ifa_ifwithroute()
[all …]
/freebsd/contrib/netbsd-tests/net/icmp/
H A Dt_icmp6_redirect.sh70 # Setup gateway #1 (real gateway)
87 # Setup a peer behind gateway #1
96 # Setup gateway #2 (fake gateway)
115 # Teach the fake gateway as the default gateway
128 # Check if a created route is correctly redirected to gateway #1
129 atf_check -s exit:0 -o match:"gateway: ${gw1_lladdr0}" rump.route get \
135 atf_check -s exit:0 -o not-match:"gateway: ${gw1_lladdr0}" rump.route get \
H A Dt_icmp_redirect.sh113 # Setup a gateway 10.0.0.254. 10.0.2.1 is behind it.
122 # Up, Gateway, Static
126 # Setup the default gateway to the peer, 10.0.0.1
130 # Up, Gateway, Static
137 # Up, Gateway, Host, Dynamic
189 # Setup a gateway 10.0.0.254. 10.0.2.1 is behind it.
198 # Up, Gateway, Static
202 # Setup the default gateway to the peer, 10.0.0.1
206 # Up, Gateway, Static
240 # Up, Gateway, Host, Dynamic
/freebsd/sbin/ipf/ipsend/
H A Dipresend.c55 \t\t-g gateway\tIP gateway to use if non-local dest.\n\
67 char *name = argv[0], *gateway = NULL, *dev = NULL; in main() local
78 gateway = optarg; in main()
113 if (gateway && resolve(gateway, (char *)&gwip) == -1) in main()
115 fprintf(stderr,"Cant resolve %s\n", gateway); in main()
123 printf("Gateway: %s\n", inet_ntoa(gwip)); in main()
H A Diptest.c45 \t\t-g gateway\tIP gateway to use if non-local dest.\n\
68 char *gateway = NULL, *dev = NULL; in main() local
96 gateway = optarg; in main()
140 if (!gateway) in main()
142 else if (resolve(gateway, (char *)&gwip) == -1) in main()
144 fprintf(stderr,"Cant resolve %s\n", gateway); in main()
154 printf("Gateway: %s\n", inet_ntoa(gwip)); in main()
/freebsd/contrib/hyperv/tools/scripts/
H A Dhv_set_ifconfig23 # GATEWAY=ipaddr1
28 # IPV6 addresses will be tagged as IPV6ADDR, IPV6 gateway will be
54 #Gateway
55 # Need to implment if Gateway is not present
57 route add default $GATEWAY
58 #route change default $GATEWAY
/freebsd/sbin/setkey/
H A Dsample.cf64 # That protocol takes place between Gateway-A and Gateway-B.
68 # Network-A Gateway-A Gateway-B Network-B
71 # At Gateway-A:
88 # At Gateway-B. Attention to the selector and peer's IP address for tunnel.
101 # Gateway-A and Gateway-B.
108 # Network-A Gateway-A Gateway-B Network-B
111 # At Gateway-A:
133 # ESP tunnel mode is required between Host-A and Gateway-A.
143 # Host-A Gateway-A Host-B
/freebsd/libexec/nuageinit/
H A Dnuageinit112 if v["gateway"] then
113 routing:write('defaultrouter="' .. v["gateway"] .. '"\n')
118 if v["gateway"] and v["gateway"] == r["gateway"] then
122 routing:write('defaultrouter="' .. r["gateway"] .. '"\n')
126 routing:write(r["gateway"] .. " " .. r["netmask"] .. '"\n')
136 if v["gateway"] then
137 routing:write('ipv6_defaultrouter="' .. v["gateway"] .. '"\n')
138 routing:write("ipv6_route_" .. interface .. '="' .. v["gateway"])
145 -- -- skip all the routes which are already covered by the default gateway, some provider
147 -- if v["gateway"] == r["gateway"] then
/freebsd/contrib/pf/authpf/
H A Dauthpf.824 .Nd authenticating gateway user shell
36 Typical use would be for a gateway that authenticates users before
37 allowing them Internet use, or a gateway that allows different users into
57 the gateway system, and can be directly associated with the user name.
193 - it is possible to set the gateway to explicitly allow users who have
216 is unable to verify the user's permission to use the gateway, it will
267 is designed for gateway machines which typically do not have regular
312 powers-that-be, they can prohibit him from using the gateway by creating
329 she would not be allowed to use the gateway.
333 using the gateway b
[all...]
/freebsd/usr.sbin/route6d/misc/
H A Dchkrt36 $gateway = $1;
42 print "NOT FOUND: $dst $intf $gateway $metric $age\n";
46 if ($gw{$dst} ne $gateway && $gw{$dst} !~ /link#\d+/) {
47 print "WRONG GW: $dst $intf $gateway $metric $age\n";
53 print "WRONG IF: $dst $intf $gateway $metric $age\n";
/freebsd/share/doc/smm/18.net/
H A Da.t97 ``fall back'' network route to be defined to a ``smart'' gateway
101 a gateway to which to send the packet,
127 gateway. Should the destination be directly connected, these addresses
130 gateway agent, and that the local network header should be filled in
184 the new gateway to that destination, and the source of the redirect.
187 exists to the destination, the gateway entry in the route is modified
188 to point at the new gateway supplied. Otherwise, a new routing
212 such as the Internet EGP (Exterior Gateway Protocol), has been
/freebsd/usr.sbin/traceroute6/
H A Dtraceroute6.850 .Op Fl g Ar gateway
79 TIME_EXCEEDED response from each gateway along the path to some host.
113 .It Fl g Ar gateway
114 Specify intermediate gateway.
179 to each gateway, in the same manner as traceroute.
182 gateway:
/freebsd/tests/sys/net/routing/
H A Dtest_rtsock_l3.c203 RTSOCK_ATF_REQUIRE_MSG(rtm, sa != NULL, "GATEWAY is not set"); in verify_route_message()
205 RTSOCK_ATF_REQUIRE_MSG(rtm, ret != 0, "GATEWAY sa diff: %s", msg); in verify_route_message()
236 RTSOCK_ATF_REQUIRE_MSG(rtm, sa != NULL, "GATEWAY is not set"); in verify_link_gateway()
287 * sockaddrs: 0x7 <DST,GATEWAY,NETMASK> in ATF_TC_BODY()
298 /* Explicitly verify gateway for the interface route */ in ATF_TC_BODY()
301 RTSOCK_ATF_REQUIRE_MSG(rtm, sa != NULL, "GATEWAY is not set"); in ATF_TC_BODY()
333 * sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA> in ATF_TC_BODY()
430 * RTM_ADD: Add Route: len 200, pid: 46068, seq 42, errno 0, flags:<GATEWAY,DONE,STATIC> in ATF_TC_BODY()
432 * sockaddrs: <DST,GATEWAY,NETMASK> in ATF_TC_BODY()
474 DESCRIBE_ROOT_TEST("Tests IPv4 route removal without specifying gateway"); in ATF_TC_HEAD()
[all …]
/freebsd/share/examples/ppp/
H A Dppp.conf.span-isp12 # | Gateway |
39 # number to the Gateway machine. This probably means that it must be
49 # o Both the Gateway and the Receiver machines must have several tun
52 # o Both the Gateway and the Receiver machines must have the following
85 # number of ISPs that you wish to use simultaneously). The Gateway machine
175 # IP number to be assigned to the Gateway machine. Replace REAL-LOCAL-IP
179 # is not required on the Gateway machine. The Receiver machine also
/freebsd/usr.sbin/traceroute/
H A Dtraceroute.830 .Op Fl g Ar gateway
47 Tracking the route one's packets follow (or finding the miscreant gateway
51 TIME_EXCEEDED response from each gateway along the path to some host.
98 .It Fl g Ar gateway
99 Specify a loose source route gateway (8 maximum).
121 (saves a nameserver address-to-name lookup for each gateway found on the path).
212 then listening for an ICMP "time exceeded" reply from a gateway.
224 address of the gateway and round trip time of each probe.
288 14 \- 17 are running the MIT C Gateway code that doesn't send "time exceeded"s.
291 The silent gateway 12 in the above may be the result of a bug in the 4.[23]BSD
/freebsd/sbin/routed/
H A Drouted.8172 through the gateway involved, advances the age of all RIP routes through
173 the gateway to allow an alternate to be chosen, and advances of the
298 This is typically used on a gateway to the Internet,
299 or on a gateway that uses another routing protocol whose routes
309 This option is useful on gateways to Ethernets that have other gateway
420 gateway.
423 If the distant gateway resumes sending RIP responses, the associated
457 .Cm gateway
468 .Cm gateway
498 is the name or address of the gateway to which RIP responses should
[all …]
/freebsd/sbin/dumpon/
H A Ddumpon.c79 " [-g <gateway>] -s <server> -c <client> <iface>\n" in usage()
431 printf("gateway address: %s\n", in listdumpdev()
465 const char *dev, *pubkeyfile, *server, *client, *gateway; in main() local
476 server = client = gateway = NULL; in main()
502 gateway = optarg; in main()
648 if (gateway == NULL) { in main()
649 gateway = find_gateway(argv[0]); in main()
650 if (gateway == NULL) { in main()
653 "failed to look up gateway for %s\n", in main()
655 gateway = server; in main()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/intel/ixp/
H A Dintel-ixp42x-gateway-7001.dts3 * Device Tree file for Gateway 7001 AP based on IXP422
13 model = "Gateway 7001 AP";
14 compatible = "gateway,7001", "intel,ixp42x";
59 * Taken from Gateway 7001 PCI boardfile (gateway7001-pci.c)

12345678910>>...13