Network interworking of different networks of Linux dual NIC

Source: Internet
Author: User

The environment is as follows:

Status: A Linux host has two network cards eth0 and eth1, the machine can access the service resources of 192 network, but cannot access 10 network segment resources.

Requirement: Linux can access 10 network segment resources through ETH1

Routing:

Card:

Action: Only need to add the following detailed route to access 10 network segment resources

PostScript: During the operation, I started the idea of adding 10 gateways to let 10 of the packets go eth1.

Added to the network is broken, and then contacted customers and the site deleted 10 of the default gateway is re-connected.

Then think about it, you really should not go to the default gateway, because the gateway can only have one entry into force. You just need to add a detailed route to move the packet out of the corresponding interface to find the gateway ...

Network interworking of different networks of Linux dual NIC

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.