How do I set over a default route to server?

Discussion in 'Cisco' started by cutetplt, Jun 8, 2009.

  1. cutetplt

    cutetplt

    Joined:
    Jan 30, 2009
    Messages:
    11
    Location:
    Bangkon, Thailand
    Hi guys,

    I already prepared lab testing for VPN site-to-site and I’m gonna deployed at three datacenters but I got some problem!

    VPN site-to-site is used to Private Networks and routed to other subnets by OSPF that is the reason why server have to set default gateway to private network!

    But a server needs to be set default gateway to public network for reaching the internet! As you know, a server ain’t able to have over one default gateway.

    If you quys have any idea for that please advise me or if you’d like to have more information please let me know. Thanks.

    Best Regards,
    Tony Lertthanakanon
     
    cutetplt, Jun 8, 2009
    #1
    1. Advertising

  2. cutetplt

    cutetplt

    Joined:
    Jan 30, 2009
    Messages:
    11
    Location:
    Bangkon, Thailand
    Hi guys,

    Now, I’m using “Multiple default gateways” for routing appropriated subnet to each gateways. Therefore, I have to add route to every server. I believe that it’s not the best solution! I’m still need your favor, somebody has any idea please tell me. Thanks.

    ===========================
    route add default gw 10.10.10.254
    route add -net 40.40.40.0 netmask 255.255.255.0 gw 20.20.20.254 dev eth1
    ===========================
    Destination Gateway Genmask Flags MSS Window irtt Iface
    40.40.40.0 20.20.20.254 255.255.255.0 UG 0 0 0 eth1
    20.20.20.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
    10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    0.0.0.0 10.10.10.254 255.255.255.0 UG 0 0 0 eth0



    Love,
    Tony Lertthanaknanon
     
    cutetplt, Jun 10, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. perimere
    Replies:
    0
    Views:
    1,138
    perimere
    Mar 27, 2007
  2. Theo Markettos

    VOIP over VPN over TCP over WAP over 3G

    Theo Markettos, Feb 3, 2008, in forum: UK VOIP
    Replies:
    2
    Views:
    978
    Theo Markettos
    Feb 14, 2008
  3. ilan.berco@gmail.com
    Replies:
    9
    Views:
    5,321
    Scott Perry
    Aug 7, 2008
  4. bensonlei@yahoo.com.hk

    question for static route -- default route

    bensonlei@yahoo.com.hk, Apr 1, 2009, in forum: Cisco
    Replies:
    1
    Views:
    812
    Trendkill
    Apr 1, 2009
  5. bensonlei@yahoo.com.hk

    question for static route -- default route

    bensonlei@yahoo.com.hk, Apr 1, 2009, in forum: Cisco
    Replies:
    0
    Views:
    547
    bensonlei@yahoo.com.hk
    Apr 1, 2009
Loading...

Share This Page