eutampieri

joined 2 years ago
[–] [email protected] 2 points 2 years ago

I definitely agree!

[–] [email protected] 2 points 2 years ago (2 children)

Exactly that. Router A

ip address add 192.168.1.1/24 dev eth1
ip address add 10.0.0.1/30 dev eth2
ip route add 192.168.2.0/24 via 10.0.0.2

Router B

ip address add 192.168.2.1/24 dev eth1
ip address add 10.0.0.2/30 dev eth2
ip route add 192.168.1.0/24 via 10.0.0.1

Does this make it more clear?

[–] [email protected] 3 points 2 years ago (2 children)

I use the IPP integration for that

[–] [email protected] 2 points 2 years ago

Have we got AskEurope too?

[–] [email protected] 1 points 2 years ago (4 children)

Hmmm it seems that router B there should be a bridge. However, how comfortable are you with routing in general?

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (6 children)

Traceroute from device in subnet A to device in subnet B

  • Router A
  • Router B
  • Device B

Note that the only way to do that in only two hops is to have the same router handle both subnets, contrary to what I said earlier.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (8 children)

No, not at all 🙂. I'm referring to a configuration in which the two routers are linked through another subnet (using a separate link between the two) and this link is the point to point link. You usually assign a /30 so you can have an address for each router. ~This way the traceroute shows three hops instead of just two.~ However, since you’ve already told us that this is not your setup, what I’m saying shouldn’t matter to you. If you’re curious though, let’s keep talking :)

Edit: striked mistake

[–] [email protected] 1 points 2 years ago (10 children)

No, with PtP I meant a point to point link on a dedicated interface just for the two routers. https://image2.slideserve.com/5192070/point-to-point-sub-interfaces-l.jpg

[–] [email protected] 1 points 2 years ago (12 children)

This works if B has an interface that is connected to the A subnet, but not if you have a PtP between the two routers

[–] [email protected] 1 points 2 years ago (14 children)

Then I don’t understand your topology. However, I still think you need the reflector on both routers

[–] [email protected] 2 points 2 years ago

Thanks, I was out of the loop

view more: ‹ prev next ›