Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8490909
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:15:46+00:00 2026-06-10T22:15:46+00:00

I have a linux machine Iam using as a router with multible interfaces and

  • 0

I have a linux machine Iam using as a router with multible interfaces and multible internet connection
say eth0–isp1

eth1--isp2

eth2--isp3

the gateway is eth0 throw isp1

and eth3–local1 10.0.0.x

eth4--local2 192.168.1.x

i need local1 ip 192.168.1.10 to go throw isp3, eth2

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T22:15:48+00:00Added an answer on June 10, 2026 at 10:15 pm

    You need to use policy routing for this. You create a new routing table and use it when the source IP is 192.168.1.10.

    ip route add ... table $TABLENUM                  # your usual routes, for the new table
    ...
    ip route add default via $ISP3 table $TABLENUM    # gateway for the new table
    ip rule add from 192.168.1.10/32 lookup $TABLENUM # use the new table for this IP
    ip rule add to 192.168.1.10/32 lookup $TABLENUM   # make it symmetric, for clarity
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have compiled my application on Linux (Intel) machine using this command gcc –g
So I have a PHP application running on linux machine which is using a
I have two Linux Machine,1st is machine X ,other is machine Y i want
I have a linux vm which is our testing machine. as part of some
I have some files which need to be sftp from machine B ( linux
I have a machine with 8 GB RAM with 32 bit JVM on linux
I have Installed GTK on a Linux machine. I am connecting To Linux Machine
I am using php-ldap to manage posix accounts on a linux machine. I am
I have hosted an application in a machine running Red Hat Enterprise Linux 5.
I have installed Eclipse CDT, CodeSourcery G++ toolchain on Linux host. I am using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.