6 network-quick-start - Quick Start Guide for Networking
10 The link:network[8] is a very powerful command that allows you to configure
11 the entire networking stack.
12 Unfortunately that makes it quite complicated to use as well.
14 This guide tries to be a good starting point to set up basic networking with
15 the 'network' command.
17 === Adding an Uplink Zone
19 The first step is to create a new uplink zone with name 'upl0'.
21 This zone will be of the link:network-zone-bridge[8] type which is the default
22 for all local networks.
25 # network zone new upl0 bridge
28 The zone will be created and brought up immediately.
32 To connect the zone to the physical world outside of our box we will need
33 to attach ports to the zone. That is done with a single command.
34 To execute this command, we will need to know which ports are available.
35 One of the easiest way to find out about that is to use the auto-completion
36 feature of the shell like this:
39 # network zone upl0 port attach [TAB] [TAB]
42 That will list all not yet attached ports. The following command will actually
43 attach the port (which is 'p0' in this example).
46 # network zone upl0 port attach p0
49 You can as well get a list of all detected devices, zones and ports by running:
55 To a zone of the 'bridge' type you may attach more than just one port if you
60 After a zone has been created and ports have been attached, you are now
61 able to add IP connectivity.
63 The easiest way to do that is using DHCP which can be enabled by this simple command:
66 # network zone upl0 config new dhcp
71 You may see the current status of the network by running this command:
77 The entire network can be restarted by running:
90 link:network-device[8],