Routing for gmail

Posted on 2011-10-05
Last Modified: 2012-05-12
Hi there,

I use two networ interfaces(corporate lan and 3G) in my laptop.

I want to access my gmail account via 3G, all other services in corporate lan and internet via corporate lan.

So i want to add a routing(route add ...) but i need google mail IPs i guess.

Can you help me?

Kind regards,
Question by:galipt
    LVL 9

    Assisted Solution

    In this case I would suggest you to do the following:
    1. Lookup IP Address using dig/nslookup command
    2. Add route entry to specified ip address in the routing table
    3. configure outlook to use IP instead of DNS Name...

    This may not be the best method but will work.
    LVL 35

    Accepted Solution

    To find the list of outgoing mail servers for Gmail you can check their SPF record.

    dig txt

     dig txt
    "v=spf1 ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4: ip4:"
    This should be the list of networks that are expected to be sending email From:

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
    Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
    Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now