Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@gizmo:~ # pfctl -s nat
- No ALTQ support in kernel
- ALTQ related functions disabled
- nat on re0 inet from 10.0.0.0/8 to ! 10.0.0.0/8 -> 192.168.1.2
- nat on re0 inet from 172.16.0.0/12 to ! 172.16.0.0/12 -> 192.168.1.2
- % cbsd repo action=get sources=img name=kfreebsd ver=9.1
- REPO: http://bsdstore.ru
- Found new mirror for kfreebsd: http://dl.bsdstore.ru/
- Fetching kfreebsd...
- Size: 111 Mb
- Progress: 10%
- ...
- (при диалоге сразу commit, без изменения interface/ip)
- cbsd jls
- JNAME JID IP Hostname Path Status
- kfreebsd 0 10.0.0.99/24 kfreebsd.my.domain /usr/jails/jails-data/kfreebsd-data Off
- root@gizmo:/ # cbsd jstart kfreebsd
- kfreebsd: created
- Using makefile-style concurrent boot in runlevel 3.
- Starting enhanced syslogd: rsyslogdln: creating symbolic link `/dev/xconsole': Operation not permitted
- .
- Starting periodic command scheduler: cron.
- root@gizmo:/ # cbsd jlogin kfreebsd
- Last login: Thu Apr 18 12:43:49 UTC 2013 on pts/9
- GNU/kFreeBSD kfreebsd.my.domain 10.0-CURRENT FreeBSD 10.0-CURRENT #15: Tue Apr 16 18:57:34 UTC 2013 root@s13.nevosoft.ru:/usr/jails/src/obj_gcc_amd64_10.0/usr/jails/src/src_10.0/src/sys/GENERIC.CBSD x86_64
- The programs included with the Debian GNU/kFreeBSD system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Debian GNU/kFreeBSD comes with ABSOLUTELY NO WARRANTY, to the extent
- permitted by applicable law.
- root@kfreebsd:~# apt-get update
- Hit http://cdn.debian.net squeeze Release.gpg
- Ign http://cdn.debian.net/debian/ squeeze/main Translation-en
- Hit http://cdn.debian.net squeeze Release
- Hit http://cdn.debian.net squeeze/main kfreebsd-amd64 Packages
- Reading package lists... Done
- root@kfreebsd:~# apt-get upgrade
- Reading package lists... Done
- Building dependency tree... Done
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- root@kfreebsd:~# apt-get install ping
- Reading package lists... Done
- Building dependency tree... Done
- Note, selecting 'inetutils-ping' instead of 'ping'
- The following NEW packages will be installed:
- inetutils-ping
- 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
- Need to get 134 kB of archives.
- After this operation, 221 kB of additional disk space will be used.
- Get:1 http://cdn.debian.net/debian/ squeeze/main inetutils-ping kfreebsd-amd64 2:1.6-3.1+squeeze1 [134 kB]
- Fetched 134 kB in 0s (239 kB/s)
- Can not write log, openpty() failed (/dev/pts not mounted?)
- Selecting previously deselected package inetutils-ping.
- (Reading database ... 8331 files and directories currently installed.)
- Unpacking inetutils-ping (from .../inetutils-ping_2%3a1.6-3.1+squeeze1_kfreebsd-amd64.deb) ...
- Processing triggers for man-db ...
- Can not write log, openpty() failed (/dev/pts not mounted?)
- Setting up inetutils-ping (2:1.6-3.1+squeeze1) ...
- root@kfreebsd:~#
- root@kfreebsd:~# ping -c1 8.8.8.8
- PING 8.8.8.8 (8.8.8.8): 48 data bytes
- 56 bytes from 8.8.8.8: icmp_seq=0 ttl=49 time=41.321 ms
- --- 8.8.8.8 ping statistics ---
- 1 packets transmitted, 1 packets received, 0% packet loss
- round-trip min/avg/max/stddev = 41.321/41.321/41.321/0.000 ms
- root@kfreebsd:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement