diff --git a/LDP/guide/docbook/linux-ip/advanced-ip.xml b/LDP/guide/docbook/linux-ip/advanced-ip.xml index 5b675298..06468f9a 100644 --- a/LDP/guide/docbook/linux-ip/advanced-ip.xml +++ b/LDP/guide/docbook/linux-ip/advanced-ip.xml @@ -24,14 +24,33 @@
- Breaking a network in two with proxy arp + Breaking a network in two with proxy ARP - Proxy ARP is a method of advertising by a routing device - for a destination on one ethernet which is reachable via another - ethernet. Frequently, a bridge is used instead. If a machine sits + Proxy ARP is a technique for splitting an IP network into two + separate segments. Hosts on one segment can only reach hosts in the + other segment through the router performing proxy ARP. If a router sits between two parts of an IP network and is not running bridging software, - then routing and proxy ARP are required to allow each half of the IP - network to communicate with another. + then routes to hosts in each segment and proxy ARP are required + on the router to allow each half of the + network to communicate with the other half. + + + Occasionally, this technique is incorrectly called proxy ARP bridging. + An ethernet bridge operates on frames and a router operates on packets. + The proxy ARP router should have routes to all hosts on both segments. + Once the router can reach all locally connected destinations via the + correct interfaces, you can begin to configure the proxy ARP + functionality. + + + Although proxy ARP complicates a network, a great advantage of proxy ARP + technique is the greater control over IP connections between hosts. + + + There are two primary proxy ARP techniques. With the 2.4 kernel, it is + possible to use the sysctl + net/ipv4/conf/all/proxy_arp to perform proxy ARP. + Alternatively, manual population of the ARP table reaches the same end. The key part of the correct functioning of proxy ARP in a network is diff --git a/LDP/guide/docbook/linux-ip/advanced-routing.xml b/LDP/guide/docbook/linux-ip/advanced-routing.xml index 3fa6061d..b1f663e4 100644 --- a/LDP/guide/docbook/linux-ip/advanced-routing.xml +++ b/LDP/guide/docbook/linux-ip/advanced-routing.xml @@ -3,9 +3,8 @@ Advanced IP Routing
- Introduction to Advanced Routing + Introduction to Policy Routing - FIXME
diff --git a/LDP/guide/docbook/linux-ip/ether.xml b/LDP/guide/docbook/linux-ip/ether.xml index 47eca824..689a7fbc 100644 --- a/LDP/guide/docbook/linux-ip/ether.xml +++ b/LDP/guide/docbook/linux-ip/ether.xml @@ -146,8 +146,8 @@ tcpdump: listening on eth0 0:80:c8:f8:4a:51 ff:ff:ff:ff:ff:ff 42: arp who-has 192.168.99.254 tell 192.168.99.35 0:80:c8:f8:5c:73 0:80:c8:f8:4a:51 60: arp reply 192.168.99.254 is-at 0:80:c8:f8:5c:73 -0:80:c8:f8:4a:51 0:80:c8:f8:5c:73 98: 192.168.99.35 > 192.168.99.254: icmp: echo request (DF) -0:80:c8:f8:5c:73 0:80:c8:f8:4a:51 98: 192.168.99.254 > 192.168.99.35: icmp: echo reply +0:80:c8:f8:4a:51 0:80:c8:f8:5c:73 98: 192.168.99.35 > 192.168.99.254: icmp: echo request (DF) +0:80:c8:f8:5c:73 0:80:c8:f8:4a:51 98: 192.168.99.254 > 192.168.99.35: icmp: echo reply [root@real-server]# ip address show dev eth1 3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:80:c8:7e:71:d4 brd ff:ff:ff:ff:ff:ff - inet 192.168.100.1/24 brd 192.168.100.255 scope global eth1 + inet 192.168.100.1/24 brd 192.168.100.255 scope global eth1 [root@real-client]# arping -I eth0 -c 3 10.10.20.67 ARPING 10.10.20.67 from 10.10.20.33 eth0 Unicast reply from 10.10.20.67 [00:80:C8:E8:1E:FC] 0.882ms Unicast reply from 10.10.20.67 [00:80:C8:E8:1E:FC] 1.221ms -Unicast reply from 10.10.20.67 [00:80:C8:E8:1E:FC] 1.487ms +Unicast reply from 10.10.20.67 [00:80:C8:E8:1E:FC] 1.487ms Sent 3 probes (1 broadcast(s)) Received 3 response(s) [root@real-client]# arping -I eth0 -c 3 192.168.100.1 ARPING 192.168.100.1 from 10.10.20.33 eth0 Unicast reply from 192.168.100.1 [00:80:C8:E8:1E:FC] 0.877ms Unicast reply from 192.168.100.1 [00:80:C8:E8:1E:FC] 1.517ms -Unicast reply from 192.168.100.1 [00:80:C8:E8:1E:FC] 1.661ms +Unicast reply from 192.168.100.1 [00:80:C8:E8:1E:FC] 1.661ms Sent 3 probes (1 broadcast(s)) Received 3 response(s) -[root@real-client]# ip neighbor del 192.168.100.1 dev eth0 +[root@real-client]# ip neighbor del 192.168.100.1 dev eth0 [root@real-client]# ip address add 192.168.100.2/24 brd + dev eth0 [root@real-client]# arping -I eth0 -c 3 192.168.100.1 ARPING 192.168.100.1 from 192.168.100.2 eth0 Unicast reply from 192.168.100.1 [00:80:C8:7E:71:D4] 0.804ms Unicast reply from 192.168.100.1 [00:80:C8:7E:71:D4] 1.381ms -Unicast reply from 192.168.100.1 [00:80:C8:7E:71:D4] 2.487ms +Unicast reply from 192.168.100.1 [00:80:C8:7E:71:D4] 2.487ms Sent 3 probes (1 broadcast(s)) Received 3 response(s) diff --git a/LDP/guide/docbook/linux-ip/links.xml b/LDP/guide/docbook/linux-ip/links.xml index b37fc7a4..cfe162d8 100644 --- a/LDP/guide/docbook/linux-ip/links.xml +++ b/LDP/guide/docbook/linux-ip/links.xml @@ -540,6 +540,21 @@