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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux