Replace 'ifconfig' with 'ip' in example

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8034 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-01-09 16:32:36 +00:00
parent bb71c6c036
commit 3b9566f12f

View File

@ -914,16 +914,10 @@ DNAT net loc:192.168.1.3 tcp 4000:4100</programlisting>
<example id="mac">
<title>MAC Address of an Ethernet Controller</title>
<programlisting>      [root@gateway root]# <command>ifconfig eth0</command>
     eth0 Link encap:Ethernet HWaddr <emphasis role="bold">02:00:08:E3:FA:55</emphasis>
     inet addr:206.124.146.176 Bcast:206.124.146.255 Mask:255.255.255.0
     UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
     RX packets:2398102 errors:0 dropped:0 overruns:0 frame:0
     TX packets:3044698 errors:0 dropped:0 overruns:0 carrier:0
     collisions:30394 txqueuelen:100
     RX bytes:419871805 (400.4 Mb) TX bytes:1659782221 (1582.8 Mb)
     Interrupt:11 Base address:0x1800
</programlisting>
<programlisting> gateway:~ # <command>ip link ls dev eth0</command>
4: eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc htb qlen 1000
link/ether <emphasis role="bold">02:00:08:E3:FA:55</emphasis> brd ff:ff:ff:ff:ff:ff
gateway:~ #</programlisting>
</example>
<para>Because Shorewall uses colons as a separator for address fields,