From 3b9566f12f61e1f3d8a048e4da58f9ed7017574c Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 9 Jan 2008 16:32:36 +0000 Subject: [PATCH] Replace 'ifconfig' with 'ip' in example git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8034 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- docs/configuration_file_basics.xml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/docs/configuration_file_basics.xml b/docs/configuration_file_basics.xml index ee84663de..ea83ea3f6 100644 --- a/docs/configuration_file_basics.xml +++ b/docs/configuration_file_basics.xml @@ -914,16 +914,10 @@ DNAT net loc:192.168.1.3 tcp 4000:4100 MAC Address of an Ethernet Controller -      [root@gateway root]# ifconfig eth0 -      eth0 Link encap:Ethernet HWaddr 02:00:08:E3:FA:55 -      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 - + gateway:~ # ip link ls dev eth0 + 4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc htb qlen 1000 + link/ether 02:00:08:E3:FA:55 brd ff:ff:ff:ff:ff:ff + gateway:~ # Because Shorewall uses colons as a separator for address fields,