@@ -249,8 +249,9 @@ My Ethernet address is 02:57:04:31:68:FA
249
249
C:\>
250
250
```
251
251
5 . Test the connection is working correctly by trying some software that uses
252
- the packet driver interface. The [ mTCP stack] ( http://www.brutman.com/mTCP/ )
253
- makes for a good first step. For example:
252
+ the packet driver interface (but don't use ` ping ` because it won't work in
253
+ Slirp). The [ mTCP stack] ( http://www.brutman.com/mTCP/ ) makes for a good first
254
+ step. For example:
254
255
```
255
256
C:\>set mtcpcfg=c:\mtcp\mtcp.cfg
256
257
C:\>dhcp
@@ -265,26 +266,40 @@ DHCP request sent, attempt 1: Offer received, Acknowledged
265
266
266
267
Good news everyone!
267
268
268
- IPADDR 192.168.128.45
269
- NETMASK 255.255.0 .0
270
- GATEWAY 192.168.60.1
271
- NAMESERVER 8.8.8.8
269
+ IPADDR 10.0.2.15
270
+ NETMASK 255.255.255 .0
271
+ GATEWAY 10.0.2.2
272
+ NAMESERVER 10.0.2.3
272
273
LEASE_TIME 86400 seconds
273
274
274
275
Settings written to 'c:\mtcp\mtcp.cfg'
275
276
276
- C:\>ping 8.8.8.8
277
+ C:\>ftp ftp.freebsd.org
277
278
278
- mTCP Ping by M Brutman (mbbrutman@gmail.com) (C)opyright 2009-2020
279
- Version: Mar 7 2020
279
+ mTCP FTP by M Brutman (mbbrutman@gmail.com) (C)opyright 2008-2025
280
+ Version: Jan 10 2025
281
+
282
+ FTP server resolved in 0.00 seconds
283
+
284
+ Opening control connection to 96.47.72.116:21 with local port 1914
285
+ Connected
280
286
281
- ICMP Packet payload is 32 bytes.
287
+ 220 This is ftp0.nyi.freebsd.org - hosted at NYI.net.
288
+ Userid: anonymous
289
+ 331 Please specify the password.
290
+ Password:
291
+ 230-
292
+ 230-This is ftp0.nyi.FreeBSD.org, graciously hosted by
293
+ 230-365 Data Centers - 365DataCenters.com
294
+ 230-
295
+ 230-FreeBSD files can be found in the /pub/FreeBSD directory.
296
+ 230-
297
+ 230 Login successful.
282
298
283
- Packet sequence number 0 received in 45.90 ms, ttl=114
284
- Packet sequence number 1 received in 44.20 ms, ttl=114
285
- Packet sequence number 2 received in 41.65 ms, ttl=114
286
- Packet sequence number 3 received in 54.40 ms, ttl=114
299
+ Setting the server file transfer mode to BIN
300
+ 200 Switching to Binary mode.
301
+ File transfer mode set to BIN.
287
302
288
- Packets sent: 4, Replies received: 4, Replies lost: 0
289
- Average time for a reply: 46.53 ms (not counting lost packets)
303
+ --> quit
304
+ 221 Goodbye.
290
305
```
0 commit comments