Jailホスト⇒Jail環境(ns)
root@a:~ # ping -c 3 192.168.2.1 PING 192.168.2.1 (192.168.2.1): 56 data bytes 64 bytes from 192.168.2.1: icmp_seq=0 ttl=64 time=0.086 ms 64 bytes from 192.168.2.1: icmp_seq=1 ttl=64 time=0.248 ms 64 bytes from 192.168.2.1: icmp_seq=2 ttl=64 time=0.311 ms --- 192.168.2.1 ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.086/0.215/0.311/0.095 ms root@a:~ #
Jail環境(ns)⇒Jailホスト
root@ns:~ # ping -c 3 192.168.2.254 PING 192.168.2.254 (192.168.2.254): 56 data bytes 64 bytes from 192.168.2.254: icmp_seq=0 ttl=64 time=0.058 ms 64 bytes from 192.168.2.254: icmp_seq=1 ttl=64 time=0.225 ms 64 bytes from 192.168.2.254: icmp_seq=2 ttl=64 time=0.384 ms --- 192.168.2.254 ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.058/0.222/0.384/0.133 ms root@ns:~ #
Jail環境(ns)⇒外
root@ns:~ # ping -c 3 ftp.freebsd.org PING ftp.geo.freebsd.org (210.231.212.90): 56 data bytes 64 bytes from 210.231.212.90: icmp_seq=0 ttl=46 time=18.759 ms 64 bytes from 210.231.212.90: icmp_seq=1 ttl=46 time=17.706 ms 64 bytes from 210.231.212.90: icmp_seq=2 ttl=46 time=17.764 ms --- ftp.geo.freebsd.org ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 17.706/18.076/18.759/0.484 ms root@ns:~ #
外⇒Jail環境(ns)
kiri@smtp:~[1144]% slogin -p 22042 admin@a.xxxxxx.xxx
Last login: Wed Mar 8 14:42:45 2023 from 1.212.52.36.ap.yournet.ne.jp
FreeBSD 14.0-CURRENT #0 n259578-0393604aa86c: Fri Dec 9 00:26:37 JST 2022 root@tbedfc:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
Welcome to FreeBSD!
Release Notes, Errata: https://www.FreeBSD.org/releases/
Security Advisories: https://www.FreeBSD.org/security/
FreeBSD Handbook: https://www.FreeBSD.org/handbook/
FreeBSD FAQ: https://www.FreeBSD.org/faq/
Questions List: https://www.FreeBSD.org/lists/questions/
FreeBSD Forums: https://forums.FreeBSD.org/
Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with: pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.
Show the version of FreeBSD installed: freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages: man man
FreeBSD directory layout: man hier
To change this login announcement, see motd(5).
To change an environment variable in /bin/sh use:
$ VARIABLE="value"
$ export VARIABLE
admin@ns:~ %