Re: How to pass two routers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il giorno mer, 08/09/2010 alle 09.28 +0200, roland ha scritto:
> Is there a way to tell the server at site A to pass all traffic  
> 192.168.0.0/24 to site  B? 

Suppose

 - router on lan B have IP 192.168.0.254/24
 - router on lan A have IP 192.168.9.254/24
 - server on lan A have IP 192.168.9.69/24 and default GW 192.168.9.254

on server 192.168.9.69/24 run this command line:

# ip route rep 192.168.0.0/24 via 192.168.0.254

Now server 192.168.9.69/24 can see router B and also all host of lan B
with GW 192.168.0.254 and a static route for see lan A (some think like
this (ip route rep 192.168.9.0/24 via 192.168.9.254)

It's also possible set the route on router A and B, in this case is not
necessary set the route on any host of lan A and B 

hope this help

-- 
Dario Lesca <d.lesca@xxxxxxxxxx>

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux