a split personality router

Home Page Forums Network Management VPN a split personality router

This topic contains 0 replies, has 0 voices, and was last updated by  os_a 6 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43338

    os_a
    Member

    Hi!
    Immediately apologize for machine translation, do not speak English at the level of free communication. once again I apologize.
    There is a problem the following plan:
    We have a router (zeroshell). He stands between two networks – ETH00 and ETH01.

    > ifconfig
    ETH00 Link encap:Ethernet HWaddr 52:54:00:97:FD:7C
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:4751189 errors:0 dropped:15 overruns:0 frame:0
    TX packets:4249367 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1483491188 (1414.7 Mb) TX bytes:1579474116 (1506.3 Mb)
    Interrupt:11 Base address:0xc000

    ETH00:01 Link encap:Ethernet HWaddr 52:54:00:97:FD:7C
    inet addr:192.168.1.75 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:11 Base address:0xc000

    ETH01 Link encap:Ethernet HWaddr 52:54:00:A1:76:45
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:2436409 errors:0 dropped:38 overruns:0 frame:0
    TX packets:2685785 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1357413022 (1294.5 Mb) TX bytes:1345808773 (1283.4 Mb)
    Interrupt:10 Base address:0xe100

    ETH01:00 Link encap:Ethernet HWaddr 52:54:00:A1:76:45
    inet addr:192.168.205.75 Bcast:192.168.205.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:10 Base address:0xe100

    VPN00 Link encap:Ethernet HWaddr 00:FF:53:4A:1C:63
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:74368 errors:0 dropped:0 overruns:0 frame:0
    TX packets:114717 errors:0 dropped:7 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:7031860 (6.7 Mb) TX bytes:11638992 (11.0 Mb)

    VPN01 Link encap:Ethernet HWaddr 00:FF:FB:DC:14:74
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:29123 errors:0 dropped:0 overruns:0 frame:0
    TX packets:27360 errors:0 dropped:4 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:3410807 (3.2 Mb) TX bytes:13022875 (12.4 Mb)

    VPN99 Link encap:Ethernet HWaddr 00:FF:85:44:AD:2A
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

    VPN99:00 Link encap:Ethernet HWaddr 00:FF:85:44:AD:2A
    inet addr:172.16.205.254 Bcast:172.16.205.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

    dummy1 Link encap:Ethernet HWaddr F6:16:BF:7D:E6:BF
    inet addr:192.168.142.142 Bcast:192.168.142.255 Mask:255.255.255.255
    UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:425817 errors:0 dropped:0 overruns:0 frame:0
    TX packets:425817 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:27598737 (26.3 Mb) TX bytes:27598737 (26.3 Mb)

    Next, routing table:
    > route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.206.75 * 255.255.255.255 UH 0 0 0 VPN01
    192.168.200.75 * 255.255.255.255 UH 0 0 0 VPN00
    192.168.1.0 * 255.255.255.0 U 0 0 0 ETH00
    192.168.200.0 192.168.200.75 255.255.255.0 UG 0 0 0 VPN00
    192.168.205.0 * 255.255.255.0 U 0 0 0 ETH01
    172.16.205.0 * 255.255.255.0 U 0 0 0 VPN99
    192.168.206.0 192.168.206.75 255.255.255.0 UG 0 0 0 VPN01
    default 192.168.1.1 0.0.0.0 UG 0 0 0 ETH00

    Tracing route to the computer for the tunnel VPN0:
    > tracepath 192.168.200.2
    1: 192.168.1.75 (192.168.1.75) 0.146ms pmtu 1500
    1: no reply
    2: no reply
    3: no reply
    4: no reply
    5: no reply
    6: no reply
    7: no reply
    8: no reply
    9: no reply
    10: no reply
    11: no reply
    12: no reply
    13: no reply
    14: no reply
    15: no reply
    16: no reply
    17: no reply
    ^C

    first hop
    1: 192.168.1.75 (192.168.1.75) 0.146ms pmtu 1500
    1: no reply

    And sometimes (I do not know what is involved), the first hop goes through 192.168.205.75 and then everything works!

    > tracepath 192.168.200.2
    1: 192.168.205.75 0.157ms pmtu 1500
    2: 192.168.200.2

    #52321

    os_a
    Member

    root of the problem in the ARP. The table on both routers are no records of the hosts. When you add the ARP -s 192.168.200.75 00.00.00.00.00 (this is MAC) all it work. But this is a consequence. What is the root of the problem?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.