[RK_2014_1016] In ubuntu, configure the route egress for the dual Nic, rk_2014_1016ubuntu

Source: Internet
Author: User

[RK_2014_1016] In ubuntu, configure the route egress for the dual Nic, rk_2014_1016ubuntu

1. Edit

# Vi/etc/rc. local

 

2. Add the following content

Route del defaultroute add default gateway 192.168.1.1 dev wlan0

 

3. [tom-and-jerry posted on]

Http://www.cnblogs.com/tom-and-jerry/p/4027952.html


Ubuntu dual Nic IP configuration

Add the script you want to execute to/etc/rc. local.

[Help] How does Ubuntu Server enable port aggregation with dual NICs? (Solved)

Filed under: Ubuntu 1031 views
Production: Gao Jinbo
Bind dual NICs in UBUNTU is very simple. follow these steps:
1. install the software apt-get install ifenslave
2. modify the configuration file
/Etc/network/interfacesauto loiface lo inet loopback
Iface eth0 inet dhcp
Iface eth1 inet dhcpauto bond0iface bond0 inet static
Address 64.0.177.20
Netmask 255.255.255.0
Gateway 64.0.177.254
Up ifenslave bond0 eth0 eth1
3. Loading Module vi/etc/modulesbonding is complete!

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.