LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   VLAN, Bridge, Route - Cant get my head around it (https://www.linuxquestions.org/questions/linux-networking-3/vlan-bridge-route-cant-get-my-head-around-it-728920/)

towme 05-27-2009 03:19 PM

VLAN, Bridge, Route - Cant get my head around it
 
Hi guys,

I have the following setup:
Two sites with one Internet access.
At one site
ISP modem with VLAN3023, and VLAN3024 - Router (VLAN3023/192.168.2.1, mask 255.255.255.252/,VLAN3024/one public ip address/,eth0/192.168.0.125 mask 255.255.255.128/) - 192.168.0.0/25 subnet

Other site
Modem with the other end of VLAN3023 - Router (eth0/192.168.2.2 mask 255.255.255.252/, eth1/192.168.0.129 mask 255.255.255.128/)

At the first site I use masquerading to connect to the internet.
I can ping and traceroute any public internet ip or name from any of the sites. the interfaces in the 192.168.2.0/30 network can ping each other, but i can not ping 192.168.0.0/25 from 192.168.0.128/25 or vica versa.

What am i missing here?

here is a lame network topology drawing to help.
Code:

Modem 1            Router 1
|---------|  |-----------------------|
|VLAN3024 |  |VLAN3024 x.y.245.234/30|
|        | - |VLAN3023 192.168.2.1/30| - 192.168.0.0/25 subnet
|VLAN3023 |  |eth0 192.168.0.125/25  |
|---------|  |-----------------------|
        |                 
Modem 2 |        Router 2 
|--------|  |---------------------|
|VLAN3023| - |eth0 192.168.2.2/30  |
|--------|  |eth1 192.168.0.129/25| - 192.168.0.128/25 subnet
            |---------------------|

thanks
tom

ouain 05-31-2009 05:49 PM

additional information
 
I see no obvious mistake here.

In order to troubleshoot this setup, it would be useful to see where the packets are stuck.

Could you post the results, while pinging 192.168.0.0/25 from 192.168.0.128/25, of:

on router 1: tcpdump -n -i <name of your interface in 3023> icmp
tcpdump -n -i eth0 icmp
route -n

on router 2: tcpdump -n -i eth0 icmp
(I assume eth0 is in 3023 without any vlan tagging)
tcpdump -n -i eth1 icmp
route -n

I think this will help to understand where the packets are blocked.

Also, can router 2 ping 192.168.0.0/25? And can router 1 ping 192.168.128.0/25?


All times are GMT -5. The time now is 08:12 PM.