Xml-LAN-to-Internet-psiemulator
Перейти к навигации
Перейти к поиску
Скопировать код, вставить в текстовый редактор, сохранить под именем LAN-to-Internet
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <networkModel> <cablesMap> <entry> <key>34</key> <value idAsString="34"> <component1>13</component1> <component2>20</component2> <delay>10</delay> <hwType>CABLE_ETHERNET</hwType> <id>34</id> <interface1>14</interface1> <interface2>26</interface2> </value> </entry> <entry> <key>50</key> <value idAsString="50"> <component1>36</component1> <component2>44</component2> <delay>10</delay> <hwType>CABLE_ETHERNET</hwType> <id>50</id> <interface1>48</interface1> <interface2>45</interface2> </value> </entry> <entry> <key>35</key> <value idAsString="35"> <component1>8</component1> <component2>20</component2> <delay>10</delay> <hwType>CABLE_ETHERNET</hwType> <id>35</id> <interface1>9</interface1> <interface2>27</interface2> </value> </entry> <entry> <key>49</key> <value idAsString="49"> <component1>41</component1> <component2>36</component2> <delay>10</delay> <hwType>CABLE_ETHERNET</hwType> <id>49</id> <interface1>42</interface1> <interface2>47</interface2> </value> </entry> <entry> <key>32</key> <value idAsString="32"> <component1>6</component1> <component2>20</component2> <delay>10</delay> <hwType>CABLE_ETHERNET</hwType> <id>32</id> <interface1>7</interface1> <interface2>24</interface2> </value> </entry> <entry> <key>33</key> <value idAsString="33"> <component1>15</component1> <component2>20</component2> <delay>10</delay> <hwType>CABLE_ETHERNET</hwType> <id>33</id> <interface1>16</interface1> <interface2>25</interface2> </value> </entry> <entry> <key>39</key> <value idAsString="39"> <component1>8</component1> <component2>36</component2> <delay>10</delay> <hwType>CABLE_ETHERNET</hwType> <id>39</id> <interface1>10</interface1> <interface2>37</interface2> </value> </entry> <entry> <key>56</key> <value idAsString="56"> <component1>15</component1> <component2>36</component2> <delay>10</delay> <hwType>CABLE_ETHERNET</hwType> <id>56</id> <interface1>17</interface1> <interface2>38</interface2> </value> </entry> <entry> <key>29</key> <value idAsString="29"> <component1>0</component1> <component2>20</component2> <delay>10</delay> <hwType>CABLE_ETHERNET</hwType> <id>29</id> <interface1>1</interface1> <interface2>21</interface2> </value> </entry> <entry> <key>31</key> <value idAsString="31"> <component1>4</component1> <component2>20</component2> <delay>10</delay> <hwType>CABLE_ETHERNET</hwType> <id>31</id> <interface1>5</interface1> <interface2>23</interface2> </value> </entry> <entry> <key>30</key> <value idAsString="30"> <component1>2</component1> <component2>20</component2> <delay>10</delay> <hwType>CABLE_ETHERNET</hwType> <id>30</id> <interface1>3</interface1> <interface2>22</interface2> </value> </entry> </cablesMap> <componentsMap> <entry> <key>0</key> <value idAsString="0"> <defaultZoomXPos>122</defaultZoomXPos> <defaultZoomYPos>101</defaultZoomYPos> <devSettings> <natConfig/> <netModType>tcp_ip_netmod</netModType> <routingTabConfig/> </devSettings> <hwType>END_DEVICE_PC</hwType> <id>0</id> <interface hwComponent="0" idAsString="1"> <cable>29</cable> <hwType>END_DEVICE_PC</hwType> <id>1</id> <ipAddress></ipAddress> <isUp>true</isUp> <macAddress>E1-8F-33-C4-BD-9A</macAddress> <name>eth0</name> </interface> <name>pc0</name> </value> </entry> <entry> <key>2</key> <value idAsString="2"> <defaultZoomXPos>148</defaultZoomXPos> <defaultZoomYPos>443</defaultZoomYPos> <devSettings> <natConfig/> <netModType>tcp_ip_netmod</netModType> <routingTabConfig/> </devSettings> <hwType>END_DEVICE_PC</hwType> <id>2</id> <interface hwComponent="2" idAsString="3"> <cable>30</cable> <hwType>END_DEVICE_PC</hwType> <id>3</id> <ipAddress></ipAddress> <isUp>true</isUp> <macAddress>AA-BE-40-DF-56-C8</macAddress> <name>eth0</name> </interface> <name>pc1</name> </value> </entry> <entry> <key>4</key> <value idAsString="4"> <defaultZoomXPos>194</defaultZoomXPos> <defaultZoomYPos>761</defaultZoomYPos> <devSettings> <natConfig/> <netModType>tcp_ip_netmod</netModType> <routingTabConfig/> </devSettings> <hwType>END_DEVICE_PC</hwType> <id>4</id> <interface hwComponent="4" idAsString="5"> <cable>31</cable> <hwType>END_DEVICE_PC</hwType> <id>5</id> <ipAddress></ipAddress> <isUp>true</isUp> <macAddress>80-37-EC-2C-32-DF</macAddress> <name>eth0</name> </interface> <name>pc2</name> </value> </entry> <entry> <key>20</key> <value idAsString="20"> <defaultZoomXPos>582</defaultZoomXPos> <defaultZoomYPos>441</defaultZoomYPos> <devSettings> <netModType>simple_switch_netMod</netModType> </devSettings> <hwType>LINUX_SWITCH</hwType> <id>20</id> <interface hwComponent="20" idAsString="21"> <cable>29</cable> <hwType>LINUX_SWITCH</hwType> <id>21</id> <ipAddress></ipAddress> <isUp>false</isUp> <macAddress></macAddress> <name>eth0</name> </interface> <interface hwComponent="20" idAsString="22"> <cable>30</cable> <hwType>LINUX_SWITCH</hwType> <id>22</id> <ipAddress></ipAddress> <isUp>false</isUp> <macAddress></macAddress> <name>eth1</name> </interface> <interface hwComponent="20" idAsString="23"> <cable>31</cable> <hwType>LINUX_SWITCH</hwType> <id>23</id> <ipAddress></ipAddress> <isUp>false</isUp> <macAddress></macAddress> <name>eth2</name> </interface> <interface hwComponent="20" idAsString="24"> <cable>32</cable> <hwType>LINUX_SWITCH</hwType> <id>24</id> <ipAddress></ipAddress> <isUp>false</isUp> <macAddress></macAddress> <name>eth3</name> </interface> <interface hwComponent="20" idAsString="25"> <cable>33</cable> <hwType>LINUX_SWITCH</hwType> <id>25</id> <ipAddress></ipAddress> <isUp>false</isUp> <macAddress></macAddress> <name>eth4</name> </interface> <interface hwComponent="20" idAsString="26"> <cable>34</cable> <hwType>LINUX_SWITCH</hwType> <id>26</id> <ipAddress></ipAddress> <isUp>false</isUp> <macAddress></macAddress> <name>eth5</name> </interface> <interface hwComponent="20" idAsString="27"> <cable>35</cable> <hwType>LINUX_SWITCH</hwType> <id>27</id> <ipAddress></ipAddress> <isUp>false</isUp> <macAddress></macAddress> <name>eth6</name> </interface> <interface hwComponent="20" idAsString="28"> <hwType>LINUX_SWITCH</hwType> <id>28</id> <ipAddress></ipAddress> <isUp>false</isUp> <macAddress></macAddress> <name>eth7</name> </interface> <name>switch0</name> </value> </entry> <entry> <key>36</key> <value idAsString="36"> <defaultZoomXPos>1846</defaultZoomXPos> <defaultZoomYPos>506</defaultZoomYPos> <devSettings> <natConfig/> <netModType>tcp_ip_netmod</netModType> <routingTabConfig> <routingTableItem> <destination>93.158.134.8/30</destination> <interfaceName>eth3</interfaceName> </routingTableItem> <routingTableItem> <destination>5.16.18.32/30</destination> <interfaceName>eth1</interfaceName> </routingTableItem> <routingTableItem> <destination>217.69.139.200/30</destination> <interfaceName>eth2</interfaceName> </routingTableItem> <routingTableItem> <destination>89.109.54.20/30</destination> <interfaceName>eth0</interfaceName> </routingTableItem> </routingTabConfig> </devSettings> <hwType>LINUX_ROUTER</hwType> <id>36</id> <interface hwComponent="36" idAsString="37"> <cable>39</cable> <hwType>LINUX_ROUTER</hwType> <id>37</id> <ipAddress>89.109.54.22/30</ipAddress> <isUp>true</isUp> <macAddress>E8-A7-F3-69-32-66</macAddress> <name>eth0</name> </interface> <interface hwComponent="36" idAsString="38"> <cable>56</cable> <hwType>LINUX_ROUTER</hwType> <id>38</id> <ipAddress>5.16.18.34/30</ipAddress> <isUp>true</isUp> <macAddress>AF-A7-36-86-F6-2B</macAddress> <name>eth1</name> </interface> <interface hwComponent="36" idAsString="47"> <cable>49</cable> <hwType>LINUX_ROUTER</hwType> <id>47</id> <ipAddress>217.69.139.202/30</ipAddress> <isUp>true</isUp> <macAddress>7D-47-3B-F5-28-B0</macAddress> <name>eth2</name> </interface> <interface hwComponent="36" idAsString="48"> <cable>50</cable> <hwType>LINUX_ROUTER</hwType> <id>48</id> <ipAddress>93.158.134.9/30</ipAddress> <isUp>true</isUp> <macAddress>5B-E6-A7-BD-89-62</macAddress> <name>eth3</name> </interface> <name>INTERNET</name> </value> </entry> <entry> <key>6</key> <value idAsString="6"> <defaultZoomXPos>760</defaultZoomXPos> <defaultZoomYPos>854</defaultZoomYPos> <devSettings> <natConfig/> <netModType>tcp_ip_netmod</netModType> <routingTabConfig/> </devSettings> <hwType>END_DEVICE_NOTEBOOK</hwType> <id>6</id> <interface hwComponent="6" idAsString="7"> <cable>32</cable> <hwType>END_DEVICE_NOTEBOOK</hwType> <id>7</id> <ipAddress></ipAddress> <isUp>true</isUp> <macAddress>AC-93-F3-2F-1B-B8</macAddress> <name>eth0</name> </interface> <name>notebook0</name> </value> </entry> <entry> <key>8</key> <value idAsString="8"> <defaultZoomXPos>1134</defaultZoomXPos> <defaultZoomYPos>170</defaultZoomYPos> <devSettings> <natConfig> <accessLists> <address>0.0.0.0</address> <number>1</number> <wildcard>255.255.255.255</wildcard> </accessLists> <inside>eth3</inside> <inside>eth2</inside> <inside>eth0</inside> <outside>eth1</outside> <poolAccesses> <number>1</number> <overload>true</overload> <poolName>ovrld</poolName> </poolAccesses> <pools> <end>89.109.54.21</end> <name>ovrld</name> <prefix>24</prefix> <start>89.109.54.21</start> </pools> </natConfig> <netModType>tcp_ip_netmod</netModType> <routingTabConfig> <routingTableItem> <destination>89.109.54.20/30</destination> <interfaceName>eth1</interfaceName> </routingTableItem> <routingTableItem> <destination>0.0.0.0/0</destination> <gateway>89.109.54.22</gateway> <interfaceName>eth1</interfaceName> </routingTableItem> </routingTabConfig> </devSettings> <hwType>END_DEVICE_WORKSTATION</hwType> <id>8</id> <interface hwComponent="8" idAsString="9"> <cable>35</cable> <hwType>END_DEVICE_WORKSTATION</hwType> <id>9</id> <ipAddress></ipAddress> <isUp>true</isUp> <macAddress>83-F4-72-95-2F-FF</macAddress> <name>eth0</name> </interface> <interface hwComponent="8" idAsString="10"> <cable>39</cable> <hwType>END_DEVICE_WORKSTATION</hwType> <id>10</id> <ipAddress>89.109.54.21/30</ipAddress> <isUp>true</isUp> <macAddress>1B-13-FE-41-8F-A7</macAddress> <name>eth1</name> </interface> <interface hwComponent="8" idAsString="11"> <hwType>END_DEVICE_WORKSTATION</hwType> <id>11</id> <ipAddress></ipAddress> <isUp>true</isUp> <macAddress>BD-4E-46-D8-A8-AC</macAddress> <name>eth2</name> </interface> <interface hwComponent="8" idAsString="12"> <hwType>END_DEVICE_WORKSTATION</hwType> <id>12</id> <ipAddress></ipAddress> <isUp>true</isUp> <macAddress>96-BC-50-AA-1C-06</macAddress> <name>eth3</name> </interface> <name>Server</name> </value> </entry> <entry> <key>41</key> <value idAsString="41"> <defaultZoomXPos>2310</defaultZoomXPos> <defaultZoomYPos>186</defaultZoomYPos> <devSettings> <natConfig/> <netModType>tcp_ip_netmod</netModType> <routingTabConfig> <routingTableItem> <destination>217.69.139.200/30</destination> <interfaceName>eth0</interfaceName> </routingTableItem> <routingTableItem> <destination>0.0.0.0/0</destination> <gateway>217.69.139.202</gateway> <interfaceName>eth0</interfaceName> </routingTableItem> </routingTabConfig> </devSettings> <hwType>LINUX_ROUTER</hwType> <id>41</id> <interface hwComponent="41" idAsString="42"> <cable>49</cable> <hwType>LINUX_ROUTER</hwType> <id>42</id> <ipAddress>217.69.139.201/30</ipAddress> <isUp>true</isUp> <macAddress>F1-EC-6B-11-AF-E5</macAddress> <name>eth0</name> </interface> <interface hwComponent="41" idAsString="43"> <hwType>LINUX_ROUTER</hwType> <id>43</id> <ipAddress></ipAddress> <isUp>true</isUp> <macAddress>AC-E2-F1-A2-37-EF</macAddress> <name>eth1</name> </interface> <name>mail.ru</name> </value> </entry> <entry> <key>13</key> <value idAsString="13"> <defaultZoomXPos>1256</defaultZoomXPos> <defaultZoomYPos>488</defaultZoomYPos> <devSettings> <natConfig/> <netModType>tcp_ip_netmod</netModType> <routingTabConfig/> </devSettings> <hwType>END_DEVICE_NOTEBOOK</hwType> <id>13</id> <interface hwComponent="13" idAsString="14"> <cable>34</cable> <hwType>END_DEVICE_NOTEBOOK</hwType> <id>14</id> <ipAddress></ipAddress> <isUp>true</isUp> <macAddress>43-DB-C6-11-39-6F</macAddress> <name>eth0</name> </interface> <name>notebook1</name> </value> </entry> <entry> <key>44</key> <value idAsString="44"> <defaultZoomXPos>2426</defaultZoomXPos> <defaultZoomYPos>546</defaultZoomYPos> <devSettings> <natConfig/> <netModType>tcp_ip_netmod</netModType> <routingTabConfig> <routingTableItem> <destination>93.158.134.8/30</destination> <interfaceName>eth0</interfaceName> </routingTableItem> <routingTableItem> <destination>0.0.0.0/0</destination> <gateway>93.158.134.9</gateway> <interfaceName>eth0</interfaceName> </routingTableItem> </routingTabConfig> </devSettings> <hwType>LINUX_ROUTER</hwType> <id>44</id> <interface hwComponent="44" idAsString="45"> <cable>50</cable> <hwType>LINUX_ROUTER</hwType> <id>45</id> <ipAddress>93.158.134.10/30</ipAddress> <isUp>true</isUp> <macAddress>CF-25-AF-86-EF-35</macAddress> <name>eth0</name> </interface> <interface hwComponent="44" idAsString="46"> <hwType>LINUX_ROUTER</hwType> <id>46</id> <ipAddress></ipAddress> <isUp>true</isUp> <macAddress>7E-28-5A-8F-6C-19</macAddress> <name>eth1</name> </interface> <name>yandex.ru</name> </value> </entry> <entry> <key>15</key> <value idAsString="15"> <defaultZoomXPos>1160</defaultZoomXPos> <defaultZoomYPos>818</defaultZoomYPos> <devSettings> <natConfig/> <netModType>tcp_ip_netmod</netModType> <routingTabConfig> <routingTableItem> <destination>5.16.18.32/30</destination> <interfaceName>eth1</interfaceName> </routingTableItem> </routingTabConfig> </devSettings> <hwType>END_DEVICE_WORKSTATION</hwType> <id>15</id> <interface hwComponent="15" idAsString="16"> <cable>33</cable> <hwType>END_DEVICE_WORKSTATION</hwType> <id>16</id> <ipAddress></ipAddress> <isUp>true</isUp> <macAddress>97-96-C5-DF-1D-85</macAddress> <name>eth0</name> </interface> <interface hwComponent="15" idAsString="17"> <cable>56</cable> <hwType>END_DEVICE_WORKSTATION</hwType> <id>17</id> <ipAddress>5.16.18.33/30</ipAddress> <isUp>true</isUp> <macAddress>F0-40-D3-79-E2-AA</macAddress> <name>eth1</name> </interface> <interface hwComponent="15" idAsString="18"> <hwType>END_DEVICE_WORKSTATION</hwType> <id>18</id> <ipAddress></ipAddress> <isUp>true</isUp> <macAddress>D7-D9-5E-C6-03-77</macAddress> <name>eth2</name> </interface> <interface hwComponent="15" idAsString="19"> <hwType>END_DEVICE_WORKSTATION</hwType> <id>19</id> <ipAddress></ipAddress> <isUp>true</isUp> <macAddress>D2-8F-E2-17-D0-9F</macAddress> <name>eth3</name> </interface> <name>Vasya-PC</name> </value> </entry> </componentsMap> <id>-1</id> <lastEditTimestamp>1400843667438</lastEditTimestamp> <counter> <nextId>62</nextId> <nextMacAddress>0</nextMacAddress> <nextNumberMap> <entry> <key>LINUX_ROUTER</key> <value>3</value> </entry> <entry> <key>CISCO_ROUTER</key> <value>0</value> </entry> <entry> <key>BUNDLE_OF_CABLES</key> <value>0</value> </entry> <entry> <key>END_DEVICE_PC</key> <value>3</value> </entry> <entry> <key>CABLE_OPTIC</key> <value>0</value> </entry> <entry> <key>END_DEVICE_NOTEBOOK</key> <value>2</value> </entry> <entry> <key>REAL_PC</key> <value>0</value> </entry> <entry> <key>LINUX_SWITCH</key> <value>1</value> </entry> <entry> <key>CISCO_SWITCH</key> <value>0</value> </entry> <entry> <key>END_DEVICE_WORKSTATION</key> <value>2</value> </entry> <entry> <key>CABLE_ETHERNET</key> <value>0</value> </entry> </nextNumberMap> </counter> </networkModel>